Skip to content

Instantly share code, notes, and snippets.

Avatar

milkyklim milkyklim

View GitHub Profile
@milkyklim
milkyklim / input.txt
Created May 15, 2020
Get symbol and decimal for tokens' list
View input.txt
0x5b09a0371c1da44a8e24d36bf5deb1141a84d875
0x5c406d99e04b8494dc253fcc52943ef82bca7d75
0x5c872500c00565505f3624ab435c222e558e9ff8
@milkyklim
milkyklim / ipfs-backend.js
Last active Jul 21, 2019 — forked from sulejirl/ipfs-backend.js
IPFS backend to add and get file from IPFS system
View ipfs-backend.js
const IPFS = require('ipfs');
const express = require('express');
const fs = require('fs');
const app = express();
const ipfs = new IPFS();
app.get('/addfile', () => {
// reading file from computer
let file = fs.readFileSync('test.png');
@milkyklim
milkyklim / mongo-dump-csv.sh
Last active Jun 19, 2019 — forked from mderazon/mongo-dump-csv.sh
Export all MongoDB collections as csv without specifying fields (tested only on non-empty collections with plain scheme).
View mongo-dump-csv.sh
OIFS=$IFS
IFS=","
# fill in your details here
dbname=<DBNAME>
user=<USERNAME>
pass=<PASSWORD>
host=<HOST>
port=<PORT>
authdb=<AUTHDB>
View gist:69fffaa643ba30bcce09516cc944288e
### Keybase proof
I hereby claim:
* I am milkyklim on github.
* I am milkyklim (https://keybase.io/milkyklim) on keybase.
* I have a public key ASAl_syEE6he_SOFLnzKgMwHNuKx-5uzM4GjYNDmZuVJMAo
To claim this, I am signing this object:
You can’t perform that action at this time.