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
<form method="post"><p>Check to <label><input type="checkbox" name="remember"/> remember mois</label> <input type="submit" value="Submit"/>.</p></form> |
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
// In a .h: | |
typedef struct { | |
unsigned short number; | |
unsigned short start_time; | |
unsigned short end_time; | |
char[32] name; | |
}period; | |
// Outside any function: | |
period *periods; |
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
ResHandle config_file = resource_get_handle(RESOURCE_ID_CLASS_LIST); | |
size_t config_size = resource_size(config_file); | |
period_count = config_size / sizeof(period); // 38 = size of each period record | |
periods = malloc(period_size * period_count); | |
resource_load(config_file, periods, config_size); |
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
$ ./p.py --lightblue --pair get_time | |
Process Process-2: | |
Traceback (most recent call last): | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap | |
self.run() | |
File "/usr/local/Cellar/python/2.7.3/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run | |
self._target(*self._args, **self._kwargs) | |
File "/Users/11rcombs/libs/libpebble/pebble/LightBluePebble.py", line 80, in run | |
from lightblue import pair, socket as lb_socket, finddevices, selectdevice | |
File "/usr/local/lib/python2.7/site-packages/lightblue/__init__.py", line 160, in <module> |
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
Starting program: /problems/ROP_2_20f65dd0bcbe267d/rop2 | |
Temporary breakpoint 1, 0x0804850d in main () | |
(gdb) x/10a $esp | |
0xffffd708: 0x0 0xf7e444b3 0x1 0xffffd7a4 | |
0xffffd718: 0xffffd7ac 0xf7fd2000 0x0 0xffffd71c | |
0xffffd728: 0xffffd7ac 0x0 |
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
import re | |
import string | |
regex_string = '.*(dark ?star|black ?hole|location|darkstar|php ?[1-4]|solution|core ?dump|spam ?carver|bitwise|get ?key|robomunication|format ?[1-2]|rop ?[1-4]|ever ?green|more ?evil|mildly ?evil|overflow ?[1-5]|clue|eval ?[1-5]).*' | |
good_guys = {} | |
def good_guy(willie, trigger): | |
global good_guys | |
if trigger.admin: |
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
testing |
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
[00:04:02] *** Quits: nisstyre_ ([email protected]) (Connection reset by peer) | |
[02:03:03] *** Joins: hexium ([email protected]) | |
[02:03:04] *** ChanServ sets mode: +o hexium | |
[02:10:40] *** Joins: Antior ([email protected]) | |
[03:24:43] *** Joins: Stabby ([email protected]) | |
[03:26:39] *** Quits: Knife ([email protected]) (Ping timeout) | |
[03:54:16] *** Quits: Antior ([email protected]) (Ping timeout) | |
[04:22:37] *** Joins: Velociraptors ([email protected]) | |
[04:51:45] *** Quits: Velociraptors ([email protected]) (Quit: and *boom*) | |
[04:55:34] *** Joins: Velociraptors ([email protected]) |
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
#!/usr/bin/env python2.7 | |
import argparse | |
from ConfigParser import ConfigParser | |
import os.path | |
import urllib2 | |
import json | |
import sys | |
import base64 | |
def main(): |
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
test |
OlderNewer