I hereby claim:
- I am nooitaf on github.
- I am nooitaf (https://keybase.io/nooitaf) on keybase.
- I have a public key whose fingerprint is 39E9 BBBD AC32 CCED 57CF 8519 2C4E AF35 3F40 5A3F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
free | |
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000 | |
mkswap /var/swap.img | |
swapon /var/swap.img | |
free |
# install nvm | https://github.com/creationix/nvm | |
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.31.1/install.sh | bash | |
# install node 5.9 (v6+ did not work for me) | |
nvm install 5.9.0 | |
#nvm use 5.9.0 | |
#nvm alias default 5.9.0 | |
# create project | |
mkdir project |
#!/bin/bash | |
# creates dump with reasonable foldername "dump_151009-154439" | |
mongodump -o dump_$(date +"%y%m%d-%H%M%S") |
ffmpeg | |
-loglevel verbose | |
-re | |
-i input.mp4 | |
-preset:v veryfast | |
-vf scale=640:360 | |
-vcodec libx264 | |
-vprofile baseline | |
-acodec libmp3lame | |
-ar 44100 |
#!/bin/bash | |
apt-get install unzip | |
cd ~ | |
# fetch nginx | |
wget https://github.com/nginx/nginx/archive/release-1.9.3.zip | |
unzip release-1.9.3.zip nginx-release-1.9.3/* | |
# fetch rtmp module | |
wget https://github.com/arut/nginx-rtmp-module/archive/v1.1.7.zip |
# Standard Settings | |
# | |
# Set Timezone | |
dpkg-reconfigure tzdata | |
# .bashrc | |
alias ll='ls -l' | |
alias la='ls -A' | |
alias l='ls -CF' | |
PS1=" |
# list disks | |
diskutil list | |
#unmount disk | |
diskutil unmountDisk /dev/disk3 | |
#get data | |
dd if=/dev/disk3 of=/path/to/file bs=32m | |
dd if=/dev/disk3 bs=32m | pv -v -s 3000m | dd of=/path/to/file bs=32m |
<head> | |
<title>findtest</title> | |
</head> | |
<body> | |
{{> hello}} | |
</body> | |
<template name="hello"> | |
{{#each posts}} |
<head> | |
<title>maptest</title> | |
</head> | |
<body> | |
{{> hello}} | |
</body> | |
<template name="hello"> | |
{{#each posts}} |