This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in *.wma; do ffmpeg -i $i -codec:a libvorbis -qscale:a 5 ogg/${i%.wma}.ogg; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in *; do mv $f `echo $f | tr '[:upper:]' '[:lower:]'`; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gif-ify() { | |
if [[ -n "$1" && -n "$2" ]]; then | |
ffmpeg -i $1 -pix_fmt rgb24 temp.gif | |
convert -layers Optimize temp.gif $2 | |
rm temp.gif | |
else | |
echo "proper usage: gif-ify <input_movie.mov> <output_file.gif>. You DO need to include extensions." | |
fi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http = require 'http' | |
server = http.createServer (req, res) -> | |
res.end 'Hello World\n' | |
server.listen 3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node (build/v0.9.0) ]% make test-all -j 4 | |
make -C out BUILDTYPE=Release | |
make -C out BUILDTYPE=Debug | |
make[1]: Entering directory `/home/nebjak/c0d3/GitHub/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/nebjak/c0d3/GitHub/node/out' | |
ln -fs out/Release/node node | |
make[1]: Entering directory `/home/nebjak/c0d3/GitHub/node/out' | |
make[1]: Nothing to be done for `all'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node (build/v0.8.3) ]% make test-all | |
make -C out BUILDTYPE=Release | |
make[1]: Entering directory `/home/nebjak/c0d3/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/nebjak/c0d3/node/out' | |
ln -fs out/Release/node node | |
make -C out BUILDTYPE=Debug | |
make[1]: Entering directory `/home/nebjak/c0d3/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/nebjak/c0d3/node/out' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node (build/v0.7.12) ]% make test-all | |
make -C out BUILDTYPE=Release | |
make[1]: Entering directory `/home/nebjak/c0d3/github/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/nebjak/c0d3/github/node/out' | |
ln -fs out/Release/node node | |
make -C out BUILDTYPE=Debug | |
make[1]: Entering directory `/home/nebjak/c0d3/github/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/nebjak/c0d3/github/node/out' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[node (build/v0.7.11) ]% make test-all | |
make -C out BUILDTYPE=Release | |
make[1]: Entering directory `/home/nebjak/c0d3/github/node/out' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/home/nebjak/c0d3/github/node/out' | |
ln -fs out/Release/node node | |
./node deps/npm/node_modules/node-gyp/bin/node-gyp rebuild \ | |
--directory="/home/nebjak/c0d3/github/node/test/gc/node_modules/weak" \ | |
--nodedir="/home/nebjak/c0d3/github/node" | |
gyp info it worked if it ends with ok |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#maticniBroj').blur -> | |
mb = $(this).val() | |
$.post( | |
'http://pretraga2.apr.gov.rs/ObjedinjenePretrage/Search/SearchResult' | |
'SelectedRegisterId': 1 | |
'SearchByRegistryCodeString': mb | |
'SearchByNameString': '' | |
'X-Requested-With': 'XMLHttpRequest' | |
(data) -> | |
alert data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update, upgrade and install development tools: | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install build-essential | |
apt-get -y install zlib1g-dev libreadline-dev libssl-dev libcurl4-openssl-dev | |
apt-get -y install git-core | |
# Install rbenv | |
git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv |