Skip to content

Instantly share code, notes, and snippets.

Klim Kolyvanov milkyklim

Block or report user

Report or block milkyklim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@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.