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/python | |
# -*- coding: utf-8 -*- | |
import re | |
import serial | |
import time | |
port = None | |
lines = [] |
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 | |
# ------------------------------------------------------------------------------ | |
# SOME INFOS : fairly standard (debian) init script. | |
# Note that node doesn't create a PID file (hence --make-pidfile) | |
# has to be run in the background (hence --background) | |
# and NOT as root (hence --chuid) | |
# | |
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit | |
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts | |
# INSTALL/REMOVE http://www.debian-administration.org/articles/28 |
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
private void load() | |
{ | |
XmlDocument doc = new XmlDocument(); | |
doc.Load(rootPath + "\\config.xml"); | |
XmlElement root = doc.DocumentElement; | |
name = root.GetAttribute("name"); | |
XmlNodeList objs = root.SelectNodes("/ThemeConfig/Objects/Image"); | |
foreach (XmlElement elem in objs) | |
{ |
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
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''',unix_timestamp(), '1.34.206.10','/b/index.php?page=read&bi=337&ti=5rFY',337,' at line 1 | |
query: INSERT INTO userlist (qi, session_id, act_time, ip_addr, state, bi, ti) VALUES (,'',unix_timestamp(), '1.34.206.10','/b/index.php?page=read&bi=337&ti=5rFY',337,1298030) |
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
public static void Swap(ref byte foo, ref byte bar) | |
{ | |
byte tmp = foo; | |
foo = bar; | |
bar = tmp; | |
} |
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
class Htc { | |
public String name; | |
public Action action ; | |
public Htc(Action action) { | |
this.action = action; | |
} | |
} | |
interface Action { |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>鍵盤開戰 PTTA4K (β)</title> | |
<style type="text/css"> | |
h1, h2, h3 { color: red; background-color: black; padding: 0; margin: 0; } | |
body { padding: 0; margin: 0; line-height: 32px; text-align: center; } | |
</style> |
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
<?php | |
function encodeURI($url) { | |
// http://php.net/manual/en/function.rawurlencode.php | |
// https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/encodeURI | |
$unescaped = array( | |
'%2D'=>'-','%5F'=>'_','%2E'=>'.','%21'=>'!', '%7E'=>'~', | |
'%2A'=>'*', '%27'=>"'", '%28'=>'(', '%29'=>')' | |
); | |
$reserved = array( | |
'%3B'=>';','%2C'=>',','%2F'=>'/','%3F'=>'?','%3A'=>':', |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Anonymous #opphilippines #AnonTAIWAN #InHackWeTrust</title> | |
<style type="text/css"> | |
@import url(http://fonts.googleapis.com/css?family=Anonymous+Pro:700); | |
body{background: black; text-align: center; color: white;font-family: 'Anonymous Pro', sans-serif;} | |
p{font-family: 'Anonymous Pro', sans-serif;font-size: 120%;} |