Open in app

Sign In

Write

Sign In

Derek Colley
Derek Colley

41 Followers

Home

About

Published in metaspan

·Mar 8

Porting polka-store to sequelize

For the IBP monitor we used sequelize.org as a database abstraction layer. While investigating tools for indexing chain transactions for the subledgr.com project, we found that polka-store only supports sqlite. Today we released an update to polka-store that enables MySQL, PostgreSQL and other databases. Sequelize supports the following databases: MySQL MariaDB SQLite PostgreSQL Redshift MSSQL Snowflake (Experiment)

Sequelize

1 min read

Porting polka-store to sequelize
Porting polka-store to sequelize
Sequelize

1 min read


Published in metaspan

·Aug 31, 2022

Staking on Kusama

What happens when you don’t manage your nominations ?! TL/DR — use a nomination pool — METASPAN pool #50 is a good choice! In this graph you can see 2 things: 30/07 — we implement our new selection algorithm — the average daily returns doubled! 17/08 — we did not…

Kusama

1 min read

Staking on Kusama
Staking on Kusama
Kusama

1 min read


Published in metaspan

·Jul 22, 2022

Staking KSM on Kusama

This article will show you what rewards are possible when staking KSM on Kusama. What is Kusama? Kusama is Polkadot’s ‘canary chain’. It’s a fully-fledged blockchain that takes all the new features first. Once considered stable, features are promoted to Polkadot. Kusama tokens have a stable value, and are available on most exchanges. Direct staking …

Staking

3 min read

Staking on Kusama
Staking on Kusama
Staking

3 min read


May 17, 2022

Vue.js: develop with https

This is the setup I use to develop vue.js apps with https on localhost. Update your hosts file Generate a Certificate Authority (CA) Generate dev.local certificate and sign Update vue.config.js Test Update hosts file I don’t recommend using localhost for ssl / https. It’s a lot simpler to use a domain like dev.local…

Vuejs

3 min read

Vue.js: develop with https
Vue.js: develop with https
Vuejs

3 min read


Published in totd

·Apr 1, 2022

#totd: About time

Time is relative… If we had infinite time, would we still pursue… Wealth, power, fame…? With infinite time, [material] wealth becomes irrelevant. Resources can be accumulated over any period — even saving 1p per week — eventually we could [all] achieve financial independence. …

Time

2 min read

#totd: About time
#totd: About time
Time

2 min read


Published in Level Up Coding

·Mar 23, 2022

Vue, Vuetify.js & dark mode

A simple method to read “dark mode” from the browser and use it in Vue. Keep track of dark: true/false in your store/index.js state: { dark: false }, mutations: { SET_DARK(state, dark) { state.dark = dark } }, actions: { setDark({commit}, dark) { commit("SET_DARK", dark) } } In you App.vue…

Vuejs

2 min read

Vue, Vuetify.js & dark mode
Vue, Vuetify.js & dark mode
Vuejs

2 min read


Mar 18, 2022

Vue, Vuex and sails.io.js (websockets)

My goto stack for rapid prototyping is: Vuetify.js for the frontend (Vue2) Sails.js for the API (rest or ws) MariaDB or MongoDB Typically, you might use axios.js for REST connection to backend/api. Here is an example of how to bind sails.io.js into Vuex in order to use websocket connection to…

Sailsjs

4 min read

Vue, Vuex and sails.io.js (websockets)
Vue, Vuex and sails.io.js (websockets)
Sailsjs

4 min read


Jan 30, 2022

Custom SmartThing + Arduino

Build a Smartthing with Wemos D1 Mini + DHT22 temperature/humidity I use Samsung SmartThings (ST) hub for our home automation and it serves my needs just fine. However, my home office at the end of the garden is too far for devices to be controlled from the ST hub. So…

Home Automation

5 min read

Custom SmartThing + Arduino
Custom SmartThing + Arduino
Home Automation

5 min read


Published in metaspan

·Oct 10, 2021

What problem does blockchain & crypto solve?

Times they are a-changing… This song title by Bob Dylan (1965) is most certainly true of the last couple of years. Blockchain and crypto — when compared to the adoption of the internet or the mobile phone — is the fastest growing phenomenon in the history of humankind. It took 7.5 years for internet…

Blockchain

8 min read

What problem does blockchain & crypto solve?
What problem does blockchain & crypto solve?
Blockchain

8 min read


Jul 2, 2021

Blynk Network Port Forward Config

Port forwarding & proxy config for Blynk Server I’m using blynk server (local) to monitor the state-of-charge of a battery that’s connected to a solar panel. To get the app working from inside the local network and outside when I’m travelling, we need to configure DNS and port forwarding as…

Blynk

2 min read

Blynk Port Forward ProxyPass Config
Blynk Port Forward ProxyPass Config
Blynk

2 min read

Derek Colley

Derek Colley

41 Followers
Following
  • Concoda

    Concoda

  • Simon Greenman

    Simon Greenman

  • Carlos E. Perez

    Carlos E. Perez

  • Michael Whittle

    Michael Whittle

  • Matthew Brulhardt

    Matthew Brulhardt

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech