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 sys, os | |
import hashlib | |
import zipfile | |
VENDORS = { | |
# vendor desc : vendor id | |
'Google Inc.' : 'google', | |
'LG Electronics' : 'lge', | |
'Intel Corporation': 'intel_corporation', |
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
# -*- python -*- | |
# vim: ts=4 sw=4 sts=4 expandtab syntax=python | |
# This is a sample buildmaster config file. It must be installed as | |
# 'master.cfg' in your buildmaster's base directory. | |
# This is the dictionary that the buildmaster pays attention to. We also use | |
# a shorter alias to save typing. | |
import os | |
__basedir__ = os.path.abspath(os.path.dirname(__file__)) |
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 | |
# -*- encoding: utf-8 -*- | |
# vim: ts=4 st=4 sts=4 expandtab syntax=python | |
import sys, os, time | |
if not 'DISPLAY' in os.environ: | |
os.environ['DISPLAY'] = ':2' | |
import gi |
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 | |
# -*- coding : utf-8 -*- | |
import sys, os | |
import subprocess | |
import xml.dom.minidom | |
BOTS = ('[email protected]', | |
'[email protected]', | |
'[email protected]', |
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
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/x86 3.4.0 Kernel Configuration | |
# | |
# CONFIG_64BIT is not set | |
CONFIG_X86_32=y | |
# CONFIG_X86_64 is not set | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf32-i386" |
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
diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig | |
index 34e707e..a1d2849 100644 | |
--- a/kernel/trace/Kconfig | |
+++ b/kernel/trace/Kconfig | |
@@ -9,27 +9,50 @@ config USER_STACKTRACE_SUPPORT | |
config NOP_TRACER | |
bool | |
+config HAVE_FTRACE_NMI_ENTER | |
+ bool |
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
document.getElementById('general').value = 'on' | |
document.getElementById('terms').value = 'on' | |
document.getElementById('io-register').submit() |
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
@@ -127,7 +127,15 @@ class WorkerThread(Thread): | |
sleep(0.5) | |
req_sc.send('Host: ') | |
- for c in phost: | |
+ def feed_phost(phost): | |
+ import random | |
+ i = 1 | |
+ while phost: | |
+ yield random.randrange(1, 3), phost[:i] |
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 | |
# -*- coding: utf-8 -*- | |
from gi.repository import Pango, Gtk | |
TEXT = """<span color="red">\xe1\x84\x80\xe1\x85\xa1\xe1\x84\x82</span>\xe1\x85\xa1\xe1\x86\xab\xe1\x84\x8d\xe1\x85\xa9\xe1\x84\x81\xe1\x85\xa9\xe1\x84\x85\xe1\x85\xa6\xe1\x86\xba ganachoco""" | |
# ㄱ ㅏ ㄴ ㅏ ㄴ ㅉ ㅗ ㄲ ㅗ ㄹ ㅔ ㅅ | |
if __name__ == '__main__': | |
win = Gtk.Window() |
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
n1 = 0 | |
n2 = 1 | |
MAX = 400 * 10000 | |
sum = 0 | |
while n2 <= MAX: | |
n3 = n1 + n2 | |
if n3 % 2 == 0: | |
sum += n3 | |
n1, n2 = n2, n3 | |
print sum |
OlderNewer