Skip to content

Instantly share code, notes, and snippets.

@letalumil
letalumil / CHANGELOG.md
Created Oct 10, 2017 — forked from dispix/CHANGELOG.md
OAUTH2 Authentication and token management with redux-saga
View CHANGELOG.md

Revision 5

  • Fix error parsing

Revision 4

  • Add missing yield in the login function

Revision 3

@letalumil
letalumil / child.js
Created Aug 31, 2016 — forked from kevinohara80/child.js
killing a node.js child process with infinite loop
View child.js
while(true) {
console.log('blah');
}
@letalumil
letalumil / mount_smbfs.sh
Created Jul 15, 2016 — forked from natritmeyer/mount_smbfs.sh
How to mount and unmount a SMB share on Mac OS X (using mount_smbfs)
View mount_smbfs.sh
#Mounting the share is a 2 stage process:
# 1. Create a directory that will be the mount point
# 2. Mount the share to that directory
#Create the mount point:
mkdir share_name
#Mount the share:
mount_smbfs //username:password@server.name/share_name share_name/
@letalumil
letalumil / dokku-node-mongo.md
Created Oct 26, 2015 — forked from fizerkhan/dokku-node-mongo.md
NodeJS and MongoDB app in Dokku with Digital Ocean
View dokku-node-mongo.md

Steps:

  1. Create Digital Ocean Droplet with Dokku v0.3.16 on 14.04 image

  2. Login into the droplet and Update local settings.

    sh -c "echo 'LANG=en_US.UTF-8\nLC_ALL=en_US.UTF-8' > /etc/default/locale"
    reboot