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
/* | |
* Author: Poren Chiang <[email protected]> | |
* 這程式會試圖清查所有未交割所有權的文件。 | |
*/ | |
var outputSheetId = "RS0123456789SITCONabcdefghijklmnopqrstuvwxyz"; // 輸出試算表的位置 | |
var rootFolderId = "SITCON2013abcdefghijklmnopqr"; // 根資料夾的位置 | |
var correctEmail = "[email protected]"; // 檔案正確的擁有者 | |
var closed = []; | |
var currentSheet; |
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 codecs, itertools | |
decode = codecs.getdecoder('big5') | |
f = open('input.txt', 'r') | |
l = 8 # 8-byte decode block | |
L = 2 ** l # Use bit-flag to do permutations | |
d = f.read() | |
for pointer in range(0, len(d), l): | |
s = d[pointer:pointer+l] |
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
官方網站: | |
http://sitcon.org/ | |
讓我們辦一個學生的Conf吧~ | |
一個以學生、資訊為主題的活動 | |
不限定學生參加,但是以學生為主軸 | |
這個社團,歡迎大家一起表達意見~ | |
如果有人沒興趣就按退出吧:D |
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
<?php | |
require_once("functions.php"); | |
class AIDatabase { | |
var $m_conn = 0; | |
var $m_query = 0; | |
// Constructor | |
function AIDatabase() {} |
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
<?php | |
require_once APPLICATION_PATH . '/modules/staff/controllers/BallotController.php'; | |
/** | |
* 新生遷出住宿抽籤 | |
* | |
* @author Kim | |
* | |
*/ | |
class Staff_BallotNewMoveController extends Staff_BallotController |

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/python | |
# sudo pip install zipcodetw | |
from codecs import open | |
import zipcodetw | |
i = open('address.txt', 'r', encoding='utf-8') | |
o = open('address_a.txt', 'w+', encoding='utf-8') | |
for addr in i: |
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
internal encoding: nil | |
external encoding: #<Encoding:UTF-8> | |
rel_path encoding: #<Encoding:UTF-8> | |
string encoding: #<Encoding:UTF-8> | |
FS encoding: UTF-8 | |
internal encoding: nil | |
external encoding: #<Encoding:UTF-8> | |
rel_path encoding: #<Encoding:UTF-8> | |
string encoding: #<Encoding:UTF-8> | |
FS encoding: UTF-8 |
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
PING www.ntu.edu.tw (140.112.8.116): 56 data bytes | |
64 bytes from 140.112.8.116: icmp_seq=0 ttl=252 time=1.391 ms | |
64 bytes from 140.112.8.116: icmp_seq=1 ttl=252 time=1.454 ms | |
64 bytes from 140.112.8.116: icmp_seq=2 ttl=252 time=3.527 ms | |
64 bytes from 140.112.8.116: icmp_seq=3 ttl=252 time=2.484 ms | |
64 bytes from 140.112.8.116: icmp_seq=4 ttl=252 time=2.231 ms | |
64 bytes from 140.112.8.116: icmp_seq=5 ttl=252 time=2.272 ms | |
Request timeout for icmp_seq 6 | |
64 bytes from 140.112.8.116: icmp_seq=7 ttl=252 time=15.965 ms | |
64 bytes from 140.112.8.116: icmp_seq=8 ttl=252 time=1.537 ms |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<style-scheme version="1.0" name="Monokai"> | |
<style name="Text" foreground="#f8f8f2" background="#272822"/> | |
<style name="Link" foreground="#66d9ef"/> | |
<style name="Selection" background="#49483e"/> | |
<style name="LineNumber" foreground="#8d9089"/> | |
<style name="SearchResult" foreground="#000000" background="#ffe792"/> | |
<style name="SearchScope" foreground="#000000" background="#ffe792"/> | |
<style name="Parentheses"/> | |
<style name="CurrentLine" background="#3e3d32"/> |
OlderNewer