This file contains 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
using System; | |
namespace predavanje2 | |
{ | |
public class NizOblika | |
{ | |
private Oblik[] nizO; | |
private int duzina; | |
public NizOblika(int d) { | |
nizO = new Oblik[d]; |
This file contains 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
<?php | |
$s = 'miffmedia.com'; | |
if(preg_match("/\./",$s)) echo 'Postoji znak .'; | |
$s1 = 'miffmedia+com'; | |
if(preg_match("/\+/",$s1)) echo 'Postoji znak + .'; | |
?> |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<title>Test github:gist</title> | |
</head> | |
<body> | |
<script src="https://gist.github.com/1295443.js"> </script> | |
</body> | |
</html> |
This file contains 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
<!doctype html> | |
<html> | |
<head> | |
<script type="text/javascript"> | |
document.write('Hello world'); | |
</script> | |
</head> | |
<body> | |
</body> |
This file contains 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 |
This file contains 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 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 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 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 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'. |
OlderNewer