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
| 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
| 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
| 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 i in *.wma; do ffmpeg -i $i mp3/${i%.wma}.mp3; 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
| [ | |
| { "city" : "Beograd", "_id" : 11000 }, | |
| { "city" : "Beograd Vozdovac", "_id" : 11010 }, | |
| { "city" : "Beograd Čukarica", "_id" : 11030 }, | |
| { "city" : "Beograd Zvezdara", "_id" : 11050 }, | |
| { "city" : "Beograd Palilula", "_id" : 11060 }, | |
| { "city" : "Novi Beograd", "_id" : 11070 }, | |
| { "city" : "Beograd Zemun", "_id" : 11080 }, | |
| { "city" : "Beograd Rakovica", "_id" : 11090 }, | |
| { "city" : "Kaluđerica", "_id" : 11130 }, |
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
| { "city" : "Beograd", "_id" : 11000 } | |
| { "city" : "Beograd Vozdovac", "_id" : 11010 } | |
| { "city" : "Beograd Čukarica", "_id" : 11030 } | |
| { "city" : "Beograd Zvezdara", "_id" : 11050 } | |
| { "city" : "Beograd Palilula", "_id" : 11060 } | |
| { "city" : "Novi Beograd", "_id" : 11070 } | |
| { "city" : "Beograd Zemun", "_id" : 11080 } | |
| { "city" : "Beograd Rakovica", "_id" : 11090 } | |
| { "city" : "Kaluđerica", "_id" : 11130 } | |
| { "city" : "Rušanj", "_id" : 11194 } |
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
| zip_code | city | |
|---|---|---|
| 11000 | Beograd | |
| 11010 | Beograd Vozdovac | |
| 11030 | Beograd Čukarica | |
| 11050 | Beograd Zvezdara | |
| 11060 | Beograd Palilula | |
| 11070 | Novi Beograd | |
| 11080 | Beograd Zemun | |
| 11090 | Beograd Rakovica | |
| 11130 | Kaluđerica |
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
| Osnovni URL | |
| ----------- | |
| http://www.nbs.rs/rir_pn/pn_rir.html.jsp?type=rir_results&lang=SER_CIR&konverzija=yes& | |
| Moguća pretrga po | |
| ----------------- | |
| -------------------------------------------- | |
| | Podatak | ključ | | |
| -------------------------------------------- |
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
| FactoryGirl.define do | |
| factory :company do | |
| naziv "Test Company doo za proizvodnju, promet i usluge" | |
| skraceni_naziv "Test Company doo" | |
| pib "101010101" | |
| mb "10101010" | |
| adresa "Palih programera 64b" | |
| mesto | |
| ptt_broj | |
| pak "101010" |