Skip to content

Instantly share code, notes, and snippets.

View milkyklim's full-sized avatar
🥛

milkyklim milkyklim

🥛
View GitHub Profile

0x255de8e9182e053331143de8a65991c8b800fd18ebe34a497825ce0d93d15d0d

@milkyklim
milkyklim / input.txt
Created May 15, 2020 11:13
Get symbol and decimal for tokens' list
0x5b09a0371c1da44a8e24d36bf5deb1141a84d875
0x5c406d99e04b8494dc253fcc52943ef82bca7d75
0x5c872500c00565505f3624ab435c222e558e9ff8
@milkyklim
milkyklim / ipfs-backend.js
Last active July 21, 2019 15:01 — forked from sulejirl/ipfs-backend.js
IPFS backend to add and get file from IPFS system
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 June 19, 2019 00:34 — 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).
OIFS=$IFS
IFS=","
# fill in your details here
dbname=<DBNAME>
user=<USERNAME>
pass=<PASSWORD>
host=<HOST>
port=<PORT>
authdb=<AUTHDB>
### 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: