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
--- watch.php.old 2012-09-30 00:06:50.000000000 +0900 | |
+++ watch.php 2012-10-20 00:45:32.184187304 +0900 | |
@@ -77,18 +77,25 @@ | |
$tuner_stop = TRUE; | |
if( $tuner_stop ){ | |
// 非httpサーバ化対応録画コマンド終了 or リアルタイム視聴終了 | |
- $real_view = (int)trim( file_get_contents( REALVIEW_PID ) ); | |
- if( posix_kill( $real_view, 9 ) ){ // 録画コマンド停止 cvlcは自動終了 | |
- do{ | |
- posix_kill( $real_view, 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
// ==UserScript== | |
// @name Stop Twitter Keyboard Shortcuts | |
// @namespace http://www.ns-koubou.com/ | |
// @include http://twitter.com/* | |
// @include https://twitter.com/* | |
// @include http://*.twitter.com/* | |
// @include https://*.twitter.com/* | |
// @run-at document-start | |
// @version 3 | |
// @grant none |
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 std.stdio; | |
import std.array; | |
import std.range; | |
import msgpack; | |
import msgpackrpc.client; | |
import msgpackrpc.server; | |
struct Test | |
{ |
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
*.*.*.* - - [27/Sep/2014:22:06:43 +0900] "GET /cgi-bin/count.cgi HTTP/1.1" 404 334 "http://www.baidu.com" "() { :; }; echo Mozilla: `echo dfUEAipJCS`;" "-" | |
*.*.*.* - - [27/Sep/2014:22:06:46 +0900] "GET /cgi-bin/test.cgi HTTP/1.1" 404 334 "http://www.baidu.com" "() { :; }; echo Mozilla: `echo pCuILo1kFg`;" "-" | |
*.*.*.* - - [27/Sep/2014:22:06:54 +0900] "GET /cgi-bin/help.cgi HTTP/1.1" 404 334 "http://www.baidu.com" "() { :; }; echo Mozilla: `echo 05BLNMtKbi`;" "-" | |
*.*.*.* - - [29/Sep/2014:00:06:45 +0900] "GET / HTTP/1.1" 200 2089 "-" "() { :;}; /bin/bash -c \x22echo testing9123123\x22; /bin/uname -a" "-" |
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 ruby | |
require 'fileutils' | |
require 'digest/sha2' | |
require 'webrick' | |
require 'webrick/httpproxy' | |
HOST_REGEX = [<HOST>] | |
PATH_REGEX = {/gif$/ => 'image/gif', /jpe??g$/ => 'image/jpeg', /png$/ => 'image/png'} |
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 ruby | |
require 'webrick' | |
require 'webrick/httpproxy' | |
BIND_ADDR = '127.0.0.1' | |
PORT = 8080 | |
SCORE = 12345678 |
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
GPUはGTX 670のOC版です | |
http://kakaku.com/item/K0000374661/ |
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/perl | |
# LIRCデバイスを使った赤外線送信スクリプト | |
# スペース区切りのデータ(単位はus)を受け取る | |
$LIRC_SET_SEND_CARRIER = 0x80046913; | |
$LIRC_SET_SEND_DUTY_CYCLE = 0x80046915; | |
$line = <STDIN>; | |
@_ir = split(/ /, $line); |
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 | |
# NATルールをクリア | |
iptables -t nat -F | |
# 80番ポート宛の通信をローカルの3128番ポートにリダイレクト | |
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 3128 | |
# 22番、443番、873番ポート宛の通信をローカルの3129番ポートにリダイレクト | |
iptables -t nat -A OUTPUT -p tcp --dport 22 -j REDIRECT --to-port 3129 | |
iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 3129 | |
iptables -t nat -A OUTPUT -p tcp --dport 873 -j REDIRECT --to-port 3129 |
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
[nvsofts@aya ~/osv]$ scripts/build image=java-example | |
Building into build/release.x64 | |
GEN gen/include/osv/version.h | |
No such image configuration: java-example. Assuming list of modules. | |
Importing /home/nvsofts/osv/apps/java-example/module.py | |
Importing /home/nvsofts/osv/modules/java/module.py | |
Importing /home/nvsofts/osv/apps/fonts/module.py | |
No module.py in /home/nvsofts/osv/modules/ca-certificates | |
No module.py in /home/nvsofts/osv/modules/libz | |
No module.py in /home/nvsofts/osv/modules/josvsym |
OlderNewer