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
// ==UserScript== | |
// @name Steam sort by discount | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description Steam summer sale discount sorting 19/06/14 - 30/06/14 | |
// @match http://store.steampowered.com/ | |
// @copyright 2014+, shtrih | |
// ==/UserScript== | |
function scriptBody($) { |
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
// ==UserScript== | |
// @name logs-preview | |
// @namespace https://gist.github.com/shtrih/a3ddb3d6b66e4b0013a3 | |
// @version 0.3 | |
// @description enter something useful | |
// @match http://old.4otaku.org/logs* | |
// @copyright 2014+, shtrih | |
// ==/UserScript== | |
function scriptBody() { |
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
# nvidia-settings: X configuration file generated by nvidia-settings | |
# nvidia-settings: version 304.88 (buildd@lamiak) Tue Apr 9 12:26:21 UTC 2013 | |
Section "ServerLayout" | |
Identifier "Layout0" | |
Screen 0 "Screen0" 0 0 | |
InputDevice "Keyboard0" "CoreKeyboard" | |
InputDevice "Mouse0" "CorePointer" | |
Option "Xinerama" "0" | |
EndSection |
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
// ==UserScript== | |
// @name Habr comments2array | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @match http://habrahabr.ru/post/* | |
// @match http://habrahabr.ru/company/*/blog/* | |
// @copyright 2014+, shtrih | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Taobao link getter | |
// @namespace http://use.i.E.your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @match http://*.taobao.com/* | |
// @copyright 2014+, You | |
// ==/UserScript== | |
// a function that loads jQuery and calls a callback function when jQuery has finished loading |
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
#!/bin/sh | |
/usr/bin/xwininfo -all -display :0 -id `/usr/bin/xdpyinfo -display :0 | /usr/bin/awk '/^focus:/{print $3}'|tr -d ,` | /bin/grep ' Parent window id:' | /usr/bin/replace ' Parent window id:' `/bin/date +%F-%H:%M:%S ` >> /home/alex/dm.log | |
/usr/bin/import -window root -display :0 jpg:- > /home/alex/ss/`date +%F-%H%M%S`.jpg |
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
private function moveOrin():Void | |
{ | |
_orinPos.unshift(new FlxPoint(_orin.x, _orin.y)); | |
if (_orinPos.length >= _orinTrain.members.length) | |
{ | |
_orinPos.pop(); | |
} | |
var current_anim_name = _orin.animation.name; | |
var offset = { x: _orin.x, y: _orin.y }; |
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
#!/bin/bash | |
src='/home/http/local' | |
patch='/home/http/rights' | |
#enable for loops over items with spaces in their name | |
IFS=$'\n' | |
for dir in `ls "$src/"` | |
do |
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
// ==UserScript== | |
// @name ASS | |
// @namespace http://4otaku.org/ | |
// @version 0.1 | |
// @description Art Sauce Search | |
// @match http://art.4otaku.org/* | |
// @copyright 2013+, shtrih | |
// ==/UserScript== | |
function scriptBody() { |