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
// Ynet Disable Auto Refresh by eligon | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// | |
// This program is distributed in the hope that it will be useful, | |
// but WITHOUT ANY WARRANTY; without even the implied warranty of | |
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
alias np { | |
sockclose vlc | |
sockopen vlc localhost 8080 | |
} | |
on *:sockopen:vlc:{ | |
if $sockerr > 0 { echo -at vlc not running | sockclose vlc } | |
sockwrite -n $sockname GET /requests/status.xml HTTP/1.1 | |
sockwrite -n $sockname Host: localhost | |
sockwrite -n $sockname Authorization: Basic $encode(:XXX,m) ; password comes after colon |
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
import java.io.FileInputStream; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
import java.io.InputStream; | |
import java.util.zip.ZipEntry; | |
import java.util.zip.ZipFile; | |
class AndroidXMLDecompress { | |
// decompressXML -- Parse the 'compressed' binary form of Android XML docs | |
// such as for AndroidManifest.xml in .apk files |
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! Browser () | |
let line = getline (".") | |
let line = matchstr (line, "http\\=:.[^ ,;\t]*") | |
exec "!\"C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe\"\ " . line | |
endfunction | |
map <Leader>B :call Browser ()<CR> |
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
import sys | |
if (len(sys.argv) < 2): | |
print("Please specify filename") | |
sys.exit(1) | |
if (sys.version_info[0] == 3): | |
from urllib import parse as urllib | |
else: | |
import urllib |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Description- Fetch torrents names from magnet URLs | |
# Usage- Supply a filename argument containing magnet URLS or use '-' for stdin | |
import sys | |
import time | |
import libtorrent as lt | |
IFACE = "0.0.0.0" |
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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import time | |
import sys | |
if len(sys.argv) < 3: | |
sys.stderr.write("Need two arguments: file/- delay\n") | |
sys.exit(-1) |
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
Gui, YTDL:New, , Youtube-DL | |
Gui, Add, Edit, Section R1 W400 vUrl, URL | |
Gui, Add, Checkbox, ys+3 vAudio, Audio | |
Gui, Add, Button, xs+ Section w80 gOK, &OK | |
Gui, Add, Button, ys w80 gGuiClose, &Cancel | |
Gui, Show | |
Return | |
GuiClose: | |
GuiEscape: |
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
# 0 is too far from ` ;) | |
set -g base-index 1 | |
# Automatically set window title | |
set-window-option -g automatic-rename on | |
set-option -g set-titles on | |
#set -g default-terminal screen-256color | |
set -g status-keys vi | |
set -g history-limit 10000 |
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
# Exact Solarized Dark color theme for the color GNU ls utility. | |
# Designed for dircolors (GNU coreutils) 5.97 | |
# | |
# This simple theme was simultaneously designed for these terminal color schemes: | |
# - Solarized dark (best) | |
# - Solarized light | |
# - default dark | |
# - default light | |
# with a slight optimization for Solarized Dark. | |
# |
OlderNewer