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
| var f = function () { | |
| var d = new Date(); | |
| var nd = new Date(d.getTime() + (d.getTimezoneOffset() * 60000) + (3600000 * 4)); | |
| var e = new Date(new Date(2014, 1, 1, 0, 0, 0, 0).getTime() - nd.getTime()); | |
| var req = new XMLHttpRequest(); | |
| req.open("POST", "/al_page.php", true); | |
| req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); | |
| req.send("act=current_info&al=1&hash=your_info_hash&info=" + e.getHours() + "h " + e.getMinutes() + "m&oid=your_oid"); | |
| } |
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 | |
| help () { | |
| echo "Usage: `basename $0` [-h] [-n] [-a] [-s hh:mm:ss] [-d ss] [-w px] [-f n] [-S n] [-b n] <filename> <result.gif> | |
| -h show this help | |
| -n turn off subtitles | |
| -a don't open directory with frames in filemanager | |
| -s start time in seconds or as hours:minutes:seconds, default: 0 | |
| -d duration in seconds or as hh:mm:ss, default: 5 |
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
| Linux home 3.5.4-1-ARCH #1 SMP PREEMPT Sat Sep 15 08:12:04 CEST 2012 x86_64 GNU/Linux | |
| pentium G850 | |
| 7-Zip (A) [64] 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18 | |
| p7zip Version 9.20 (locale=ru_RU.UTF-8,Utf16=on,HugeFiles=on,2 CPUs) | |
| RAM size: 3683 MB, # CPU hardware threads: 2 | |
| RAM usage: 425 MB, # Benchmark threads: 2 | |
| Dict Compressing | Decompressing |
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
| [sasha@home ~]$ sudo stty -F /dev/ttyUSB0 -crtscts | |
| [sasha@home ~]$ sudo cu -s 115200 -l /dev/ttyUSB0 | |
| Connected. | |
| PowerPrep start initialize power... | |
| e | |
| booting... | |
| PowerPrep start initialize power... | |
| e |
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 hidePlusKomrads | |
| // @description Script to hide comments | |
| // @author Tsumugi Kotobuki | |
| // @license MIT | |
| // @version 0.01 | |
| // @include https://plus.google.com/* | |
| // ==/UserScript== | |
| (function (window, undefined) { |
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 exBlogLoad | |
| // @description Download image from exblog.jp | |
| // @author Tsumugi Kotobuki | |
| // @license MIT | |
| // @version 0.01 | |
| // @include http://*.exblog.jp/* | |
| // ==/UserScript== | |
| (function (window, undefined) { |
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
| # Yandex Locator (http://api.yandex.ru/locator/) | |
| # wifi position big bro | |
| # api key from (http://api.yandex.ru/maps/form.xml) | |
| # pok | |
| import subprocess | |
| import shlex | |
| import webbrowser | |
| import urllib | |
| import urllib2 |
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
| // used library | |
| // https://github.com/milesburton/Arduino-Temperature-Control-Library | |
| // https://github.com/jcw/ethercard | |
| #include <OneWire.h> | |
| #include <DallasTemperature.h> | |
| #include <EtherCard.h> |
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
| /* | |
| Repeating Web client | |
| This sketch connects to a a web server and makes a request | |
| using a Wiznet Ethernet shield. You can use the Arduino Ethernet shield, or | |
| the Adafruit Ethernet shield, either one will work, as long as it's got | |
| a Wiznet Ethernet module on board. | |
| This example uses DNS, by assigning the Ethernet client with a MAC address, | |
| IP address, and DNS address. |
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 ruTracker magnet link | |
| // @description Download directly without download torrent file | |
| // @author Tsumugi Kotobuki | |
| // @license MIT | |
| // @version 0.02 | |
| // @include http://rutracker.org/* | |
| // ==/UserScript== | |
| (function (window, undefined) { |