Skip to content

Instantly share code, notes, and snippets.

View alFReD-NSH's full-sized avatar

Farid Nouri Neshat alFReD-NSH

View GitHub Profile
@alFReD-NSH
alFReD-NSH / loopback-db-migrate.js
Created March 8, 2016 03:02
For those using loopback and changing their database from one to another. This will copy all the data from the given database to the configured database(in server/datasources). This was tested to copy from postgresql to mongodb.
'use strict';
let app = require('../server/server');
let loopback = require('loopback');
let prompt = require('prompt');
console.log(`This will copy all the data from the given database to the
configured database(in server/datasources)`)
prompt.get(['connector', 'url'], (err, result) => {
@alFReD-NSH
alFReD-NSH / accounts.txt
Last active November 4, 2019 23:31
Updated accounts in tezos babylon 5 upgrade
KT1DUfaMfTRZZkvZAYQT5b3byXnvqoAykc43
tz1KeD5d7AwhiHkQiRhtnWgJuEawe5Fnp5E3
tz1KeK8qEnZhFzLQqnz2oKaXnG4X2zQC5tz3
tz1KeZ1qgZvoB2CedksgbfnXpiZbQMaNpQ5b
tz1KemUFwq2fQ77Sdo7M3BbTuJ9W2nJ7nyFk
tz1KfbCaW7zubFT62BsAtdRezrXbwPYeHahf
tz1KfiqVDAjJSEmRPSAb4sEvCYqggpBgrmZi
tz1KfohHYAmQFGNJXzKaYzFrJgJ6Q1V9oKm2
tz1KfpD7KWY4eYAJdLSJY8gsHC8YZPyfshY3
tz1KfsDBnFLs7Z6DvoLLckrRvcz6ZHQcfPbG
@alFReD-NSH
alFReD-NSH / Dockerfile
Created November 15, 2019 16:29
Tezos Docker Build
################################
### Builder image
################################
FROM ubuntu:18.04 as builder
ENV VERSION=mainnet \
OPAM_VERSION=2.0.4
RUN apt update
RUN apt install -y \
@alFReD-NSH
alFReD-NSH / Dockerfile
Created November 15, 2019 16:29
Tezos Docker Build
################################
### Builder image
################################
FROM ubuntu:18.04 as builder
ENV VERSION=mainnet \
OPAM_VERSION=2.0.4
RUN apt update
RUN apt install -y \