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 php | |
<?php | |
set_time_limit(0); | |
$rootDir = dirname(__DIR__); | |
$vendorDir = $rootDir . '/vendor'; | |
array_shift($argv); | |
if (!is_dir($vendorDir)) { |
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
[symfony] | |
git=http://github.com/symfony/symfony.git | |
version=v2.0.9 | |
[twig] | |
git=http://github.com/fabpot/Twig.git | |
version=v1.5.1 | |
[monolog] | |
git=http://github.com/Seldaek/monolog.git |
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 | |
namespace PHPConf\Year2012; | |
class PHP | |
{ | |
public function __toString() | |
{ | |
return "PHP Helps People"; | |
} |
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
int green_time = 10; // seconds to keep green light | |
float yellow_time = 0.5; // seconds to delay flash time | |
int flash_times = 5; // times to flash green light | |
int red1 = 11; | |
int yellow1 = 12; | |
int green1 = 13; | |
int red2 = 3; | |
int yellow2 = 4; |
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
謝謝大家 | |
能來到這邊是我的榮幸 | |
讓我先從一些歷史講起 | |
我想這可以作為一種定調 | |
為我現在要談的變化來定調 | |
在90年代初期 ... 抱歉是90年代晚期 | |
有個人叫 Larry Sanger | |
他在「知識學」領域 | |
專門研究人類如何實證「信念」 | |
很幸運地 |
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
政治獻金會計報告書奎閱制度電腦系統奎詢結果列印清單 列印日期:103年02年的日專戶名稱:第8屆立法委員擬參選人徐耀昌政治獻金專戶 14日寄41分的秒 | |
首次申報 第1頁/共5頁 | |
序號︱ 交易日期 收支科目 捐贈者/支出對象 身分證/統一編 收入金額 支出金額 金錢類 士也拖上 | |
101101124 I交通旅運支出 全國加油站股份有限公司 986 是 | |
2 I 101月1;1s I 交通旅運支出 是 | |
3 I 101月1/14 I交通旅運支出 溫雪女 是 | |
4 I 101月1/14 I 交通旅運支出 新千客 是 | |
一 | |
5 I 101月1;13 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
0324被警察打的老師.mp4 | |
2014.03.24 警察驅離民眾 打很兇.mp4 | |
3 24 凌晨1240 警察打人畫面_(720p).mp4 | |
Anti riot police HIT the protest people !!! 警察以盾打手無寸鐵民眾!!!(高調)_(360p).mp4 | |
Democratic country Taiwan 720p.mp4 | |
千警清空政院後門 52學生受傷.mp4 | |
拍到警察故意用盾牌打了,從2 01開始_(360p).mp4 | |
林森北路與北平東路口有警備車駛入,警察強行前進。_(360p).mp4 | |
民視記者遭鎮暴警察瘋狂毆打.mp4 | |
警察在門口圍起人牆不讓媒體拍攝,行政院內外大喊讓媒體進去、媒體監督。.mp4 |
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 | |
$path = dirname(__FILE__); | |
$urlText = ''; | |
$urls = file_get_contents($path . '/tmp/list'); | |
$urls = explode("\n", $urls); | |
$urls = array_unique($urls); | |
natcasesort($urls); | |
if (!isset($_GET['op'])) { | |
$_GET['op'] = 'default'; | |
} |
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 | |
$fh = fopen('talk', 'r'); | |
while($line = fgets($fh)) { | |
if($line === "\n") continue; | |
$mbOffset = 0; | |
while($subLine = mb_strcut($line, $mbOffset, 100, 'utf-8')){ | |
$mbOffset += strlen($subLine); | |
echo $subLine . "\n"; | |
} | |
} |
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
<?xml version="1.0" encoding="UTF-8" ?> | |
<!DOCTYPE html> | |
<html b:version='2' class='v2' expr:dir='data:blog.languageDirection' xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/b' xmlns:data='http://www.google.com/2005/gml/data' xmlns:expr='http://www.google.com/2005/gml/expr' xmlns:og='http://ogp.me/ns#'> | |
<head> | |
<b:if cond='data:blog.isMobile'> | |
<meta content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0' name='viewport'/> | |
<b:else/> | |
<meta content='width=1100' name='viewport'/> | |
</b:if> | |
<b:include data='blog' name='all-head-content'/> |
OlderNewer