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/bash | |
LC_ALL=en_US.UTF-8 ; export LC_ALL | |
TZ="Asia/Tokyo" ; export TZ | |
target_date=20140101 | |
ep_num=36 | |
max_count=55 |
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
MRuby::Toolchain.new(:distcc) do |conf| | |
[conf.cc, conf.objc, conf.asm].each do |cc| | |
cc.command = ENV['CC'] || 'distcc' | |
end | |
[conf.cxx].each do |cxx| | |
cxx.command = ENV['CXX'] || 'distcc' | |
end | |
conf.linker do |linker| |
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/bash | |
target_dir=/lib/modules/`uname -r`/ | |
target_type="ko" | |
func_name="" | |
function usage() | |
{ | |
echo "usage: $1 -d [directory] -t [objecdt type(e.g. so, ko)] -f [function name]" | |
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
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/kmod.h> | |
#include <net/protocol.h> | |
MODULE_DESCRIPTION("simple Eject protocol"); | |
MODULE_AUTHOR("masami256"); | |
MODULE_LICENSE("GPL"); | |
#define IPPROTO_NET_EJECT 123 |
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
#include <linux/module.h> | |
#include <linux/kernel.h> | |
#include <linux/smp.h> | |
#include <linux/time.h> | |
#include <linux/debugfs.h> | |
#include <linux/string.h> | |
MODULE_DESCRIPTION("lock test module"); | |
MODULE_AUTHOR("masami256"); | |
MODULE_LICENSE("GPL"); |
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
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <sys/socket.h> | |
#include <netdb.h> | |
#include <netinet/in.h> | |
#include <arpa/inet.h> | |
enum { | |
Ip2Addr = 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
--- fsfuzzer-0.7.orig/fstest.c 2009-01-25 23:50:06.000000000 +0900 | |
+++ fsfuzzer-0.7.new/fstest.c 2013-09-10 23:56:36.735524372 +0900 | |
@@ -35,6 +35,7 @@ | |
#include <signal.h> | |
#include <sys/file.h> | |
#include <sys/mman.h> | |
+#include <sys/stat.h> | |
#define LOGGIT 1 | |
#define CHECK_XATTR 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
#!/usr/bin/env python | |
from datetime import timedelta | |
from datetime import datetime | |
import os | |
import io | |
import re | |
import csv | |
class LogData: |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <errno.h> | |
#define SERVER_ADDR "127.0.0.1" | |
#define SERVER_PORT 1111 |
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 | |
import SimpleHTTPServer | |
import SocketServer | |
import sys | |
def run(port): | |
print "listening port is ", port | |
Handler = SimpleHTTPServer.SimpleHTTPRequestHandler |