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
/// <summary> | |
/// Form: http://stackoverflow.com/questions/974598/find-all-controls-in-wpf-window-by-type | |
/// </summary> | |
/// <typeparam name="T"></typeparam> | |
/// <param name="depObj"></param> | |
/// <returns></returns> | |
public static IEnumerable<T> FindVisualChildren<T>(DependencyObject depObj) where T : DependencyObject | |
{ | |
if (depObj != null) | |
{ |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<title>鍵盤開戰 復刻 PTTATK</title> | |
<link href="https://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css" rel="stylesheet"> | |
</head> | |
<body> |
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%;} |
OlderNewer