Skip to content

Instantly share code, notes, and snippets.

View lucarin91's full-sized avatar

Luca Rinaldi lucarin91

View GitHub Profile
@lucarin91
lucarin91 / MyAtomPackage.md
Last active March 13, 2016 01:14
the atom packages and themes that I use.

My Atom Package

This file was generated by the command: apm list --bare --installed > atom-package.txt

You can install all the package by typing: apm install --packages-file atom-package.txt

atom-package.pl pull to install the package

atom-package.pl push to upload the package

@lucarin91
lucarin91 / hadoop-setup.sh
Created October 23, 2015 10:42
This script start all the Hadoop demons and initialize the Hadoop File System with same data. Can be used after start the PC to start all the Hadoop framework.
#!/bin/bash
#
# This script start all the Hadoop demons and initialize the Hadoop File System with same data
# (Fill up the above variable)
#
HADOOP_PATH=#path to the Hadoop installation
DATA_PATH=#path to the data to put in the hadoop DFS
$HADOOP_PATH/stop-all.sh
@lucarin91
lucarin91 / NGINX_configsite_generator.md
Last active August 29, 2015 14:15
NGINX site Generator

#NGINX site Generator generate a config file for html site or python,node site with passenger.

usage:

./nginx-genconfig.sh python|html|node [OPTION]"
option:
    -f root folder of the site
    -d subdomain of the site
 -o output file name
@lucarin91
lucarin91 / Script_backup-mega.md
Last active May 12, 2016 01:30
Backup script

##Backup script for mega