Web Site: http://jscamp.asia/ Twitter: http://twitter.com/jscamp_asia
Ping me @cheeaun on Twitter if you found some awesome stuff for #jscamp. This gist will be updated whenever there's new stuff.
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| --- 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 |
| private function getUniqueName () : String | |
| { | |
| var d : Date = new Date(); | |
| return d.getMonth() + 1 + '' + d.getDate() + '' + d.getHours() + '' + d.getMinutes() + '' + d.getMilliseconds(); | |
| } |
Web Site: http://jscamp.asia/ Twitter: http://twitter.com/jscamp_asia
Ping me @cheeaun on Twitter if you found some awesome stuff for #jscamp. This gist will be updated whenever there's new stuff.
| $this->load->library('simple_html_dom'); | |
| $raw = file_get_html('http://faisalbd.com'); | |
| foreach($raw->find('a') as $element){ | |
| echo $element->href . '<br>'; | |
| } | |
| //http://simplehtmldom.sourceforge.net/ |
| qrScanButton.addEventListener("click", function(e) { | |
| var intent = Ti.Android.createIntent({ | |
| action: "com.google.zxing.client.android.SCAN" | |
| }); | |
| intent.putExtra("SCAN_MODE", "QR_SCAN_MODE"); | |
| var activity = Ti.Android.currentActivity; | |
| activity.startActivityForResult(intent, function(e) { | |
| if (e.resultCode == Ti.Android.RESULT_OK) { | |
| var contents = e.intent.getStringExtra("SCAN_RESULT"); | |
| var format = e.intent.getStringExtra("SCAN_RESULT_FORMAT"); |