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
#!/bin/sh | |
exec 1>/dev/null | |
#state detection | |
PLAYING="`echo status | nc 127.0.0.1 6600 | grep -o 'state: play' -c`" | |
echo $PLAYING > /proc/diag/led/power | |
if [ "$PLAYING" = "0" ];then | |
echo play | nc 127.0.0.1 6600 | |
exit |
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
#!/bin/sh | |
# | |
# Copyright (c) 2010 | |
# dz0ny | |
# | |
if [ -z "$@" ]; then | |
echo "Enter command!" | |
else | |
if [ $1 == "volume" ]; then |
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
var rezervna_povezava:URLRequest = new URLRequest("http://www.domzamlade.si"); | |
(inv_btn as SimpleButton).useHandCursor = true; | |
inv_btn.addEventListener(MouseEvent.CLICK, | |
function(){ | |
if(root.loaderInfo.parameters.clickTAG != undefined ){ | |
if (root.loaderInfo.parameters.clickTAG.substr(0, 5) == "http:"){ | |
navigateToURL(root.loaderInfo.parameters.clickTAG)); | |
} |
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
function downloadAsBlob () { | |
var image = new XMLHttpRequest(); | |
image.open('GET', "http://www.google.si/images/logos/ps_logo2a_cp.png", true); | |
image.responseType = "arraybuffer"; | |
image.onload = function(ev) { | |
var blob = new BlobBuilder(); | |
blob.append(image .response); | |
var data = blob.getBlob(); | |
console.log(data.type, data.size) | |
}; |
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
[Desktop Entry] | |
Type=Application | |
Version=1.0 | |
Name=Sublime Text 2 | |
GenericName=Integrated Development Environment | |
Comment=Sublime Text is a sophisticated text editor for code, html and prose. | |
Exec=/home/!USERNAME HERE!/SublimeText2/sublime_text %F | |
Icon=/home/!USERNAME HERE!/.Sublime Text 2/Packages/Default/Icon.png | |
Terminal=false | |
Categories=GTK;Development;IDE; |
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 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" xmlns:og="http://opengraphprotocol.org/schema/"> | |
<head> | |
<title>anej mehadzic > Kako prepoznati spam na Facebooku in Twittru</title> | |
<meta property="og:title" content="Kako prepoznati spam na Facebooku in Twittru"/> | |
<meta property="og:type" content="blog"/> | |
<meta property="og:url" content="http://anej.si/kako-prepoznati-spam-na-facebooku-in-twittru/"/> | |
<meta property="og:image" content="http://anej.si/wp-content/uploads/2011/03/twitter-app-settings.jpg"/> | |
<meta property="og:site_name" content="anej mehadzic"/> | |
<meta property="fb:admins" content="751229551″/> |
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
//AS2 primer kode | |
on (release) { | |
if ((_root.clickTAG != "") && (_root.clickTAG != null)) { | |
geturl (_root.clickTAG, "_blank"); | |
} else if ((_root.clickthru != "") && (_root.clickthru != null)) { | |
geturl (_root.clickthru, "_blank"); | |
} else if ((_root.url != "") && (_root.url != null)) { | |
geturl (_root.url, "_blank"); | |
} else { | |
geturl ("http://www.mojaspletnastran.si", "_blank"); |
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
application: ime_aplikacije | |
version: 1 | |
runtime: python | |
api_version: 1 | |
handlers: | |
- url: (.*)/ | |
static_files: www\1/index.html | |
upload: www/index.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
<?php | |
/** | |
* Front to the WordPress application. This file doesn't do anything, but loads | |
* wp-blog-header.php which does and tells WordPress to load the theme. | |
* | |
* @package WordPress | |
*/ | |
/** | |
* Tells WordPress to load the WordPress theme and output it. |
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
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> |