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
/*小徽章*/ | |
.award_bar img { width:39px;height: 39px; } | |
/*小徽章排排站*/ | |
.award_bar { | |
background:url(http://blog.citytalk.tw/wp-content/uploads/2010/04/plurk_icon.png) no-repeat scroll 0px 60px; min-height:480px; | |
position:absolute !important; | |
margin-top:60px !important; | |
width:500px !important; | |
} |
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
https://www.ptt.cc/bbs/joke/M.1443701763.A.AC1.html | |
作者kevin1ptt (台大陳柏霖) | |
看板joke | |
標題[kuso] 蟻姨椅yee | |
時間Thu Oct 1 20:16:00 2015 | |
一蟻倚椅,伊意怡逸。 | |
蟻姨遺椅,疑蟻移椅; | |
蟻議伊椅,異姨佚椅。 |
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
$root = "http://" . $_SERVER['HTTP_HOST']; | |
$root .= str_replace(basename($_SERVER['SCRIPT_NAME']), "", $_SERVER['SCRIPT_NAME']); | |
$config['base_url'] = "$root"; |
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
var $j = jQuery.noConflict(); | |
var firstLoad = true; | |
var image_src_regex = /url\(["']?([^'")]+)['"]?\)/; | |
function perPageBindings() { | |
"use strict"; | |
$j('.qode_slider_preloader .ajax_loader_slider').hide(); | |
content = $j('.content_inner'); | |
initQodeSlider(); | |
initQodeCarousel(); | |
initMessageHeight(); |
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
<html> | |
<head> | |
<script language="javascript" type="text/javascript" src="./js/p5.js"></script> | |
<!-- uncomment lines below to include extra p5 libraries --> | |
<!--<script language="javascript" src="../addons/p5.dom.js"></script>--> | |
<!--<script language="javascript" src="../addons/p5.sound.js"></script>--> | |
<script language="javascript" type="text/javascript" src="./js/sketch.js"></script> | |
<!-- this line removes any default padding and style. you might only need one of these values set. --> | |
<style> body {padding: 0; margin: 0; background-color: black;} </style> | |
</head> |
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
// | |
// _oo0oo_ | |
// o8888888o | |
// 88" . "88 | |
// (| -_- |) | |
// 0\ = /0 | |
// ___/`---'\___ | |
// .' \\| |// '. | |
// / \\||| : |||// \ | |
// / _||||| -:- |||||- \ |
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 // RAY_curl_example.php | |
error_reporting(E_ALL); | |
function my_curl($url, $timeout=2, $error_report=FALSE) | |
{ | |
$curl = curl_init(); | |
// HEADERS FROM FIREFOX - APPEARS TO BE A BROWSER REFERRED BY GOOGLE | |
$header[] = "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"; | |
$header[] = "Cache-Control: max-age=0"; |
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
--- Day changed Sat Mar 15 2014 | |
00:16 < Davy_CC> ::part #sitcon | |
00:17 < Davy_CC> DennyHuang: RSChiang: 好了不用擔心了~ | |
00:17 <@DennyHuang> Davy_CC: (y) | |
00:18 <@DennyHuang> QQ 沒有搶到今天第一則 | |
00:24 < Davy_CC> www | |
00:58 -!- DennyHuang changed the topic of #sitcon to: SITCON 學生計算機年會 http://sitcon.org | UTF-8 | 自我介紹表 http://goo.gl/1xPUXU | SITCON 2014 早上見囉XD | |
01:13 * timcheng | |
02:54 < pp_> bye | |
02:54 < pp_> logout |
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
function get_string_between($string, $start, $end){ | |
$string = " ".$string; | |
$ini = strpos($string,$start); | |
if ($ini == 0) return ""; | |
$ini += strlen($start); | |
$len = strpos($string,$end,$ini) - $ini; | |
return substr($string,$ini,$len); | |
} |