I hereby claim:
- I am genediazjr on github.
- I am genediazjr (https://keybase.io/genediazjr) on keybase.
- I have a public key whose fingerprint is 8D41 E3C8 4BC3 B215 55F8 B2ED 1CFB 146E 169C 4E41
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
"AD": { | |
"label": "Andorra", | |
"units": [ | |
{ | |
"code": "AD-07", | |
"label": "Escut d'Andorra la Vella.svg Andorra la Vella" | |
}, | |
{ | |
"code": "AD-02", |
sudo apt-get install ntp | |
sudo nano /etc/ntp.conf | |
logfile /var/log/xntpd | |
driftfile /var/lib/ntp/ntp.drift | |
statsdir /var/log/ntpstats/ | |
statistics loopstats peerstats clockstats | |
filegen loopstats file loopstats type day enable | |
filegen peerstats file peerstats type day enable |
[Collections] | |
each - error or no return; | |
map - return transformed values in array; | |
filter - return those that has passed; | |
reject - removes the values that have passed; | |
reduce - returns one value based on array values; | |
detect - returns first passed; | |
sortBy - returns sorted by a numeric value; | |
some - return true if one satisfies iterator; | |
every - return true if all satisfies iterator; |
cd dropbox | |
find . -type f -name "* conflicted *" -exec rm -f {} \; |
var createTable = { | |
TableName: 'STRING_VALUE', /* required */ | |
ProvisionedThroughput: { /* required */ | |
ReadCapacityUnits: 0, /* required */ | |
WriteCapacityUnits: 0 /* required */ | |
}, | |
KeySchema: [ /* required */ | |
{AttributeName: 'STRING_VALUE', KeyType: 'HASH | RANGE'}, /* required */ | |
/* more items */ | |
], |
dd if=/dev/zero of=/swapfile1 bs=1024 count=524288 | |
mkswap /swapfile1 | |
chown root:root /swapfile1 | |
chmod 0600 /swapfile1 | |
swapon /swapfile1 | |
nano /etc/fstab | |
----------------------------------------------------------------------------- | |
/swapfile1 swap swap defaults 0 0 | |
----------------------------------------------------------------------------- |
apt-get update | |
apt-get upgrade | |
apt-get install vim make g++ openjdk-7-jdk tomcat7 fastjar unzip | |
cd /usr/share/tomcat7/lib/ | |
----------------------------------------------------------------------------- | |
jar xf catalina.jar org/apache/catalina/util/ServerInfo.properties | |
server.info=Apache |
apt-get install vim redis-server | |
vim /etc/redis/redis.conf | |
----------------------------------------------------------------------------- | |
bind 0.0.0.0 | |
----------------------------------------------------------------------------- | |
appendonly yes | |
----------------------------------------------------------------------------- | |
vim /etc/sysctl.conf |
apt-get install vim python g++ make checkinstall | |
src=$(mktemp -d) && cd $src | |
wget -N http://nodejs.org/dist/node-latest.tar.gz | |
tar xzvf node-latest.tar.gz && cd node-v* | |
./configure |