Skip to content

Instantly share code, notes, and snippets.

@zbypy
zbypy / a_start
Created November 22, 2013 15:25
How to create linux service
The whole source of our daemon service is below. To use it for your own purposes do the following:
replace the name vsftpdg in the third line with your program name,
replace /usr/local/vsftpdg/pid with the folder where you’ll be running your program,
replace “nohup java -jar /usr/local/vsftpdg/vsftpdg_server.jar” with the path to your own program,
you’re good to go!
@zbypy
zbypy / 0_reuse_code.js
Created October 29, 2013 09:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console