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 |
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
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 70 | |
model name : Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz | |
stepping : 1 | |
microcode : 0xf | |
cpu MHz : 2001.000 | |
cache size : 6144 KB | |
physical id : 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
[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