This document provides a concise reference for Pine Script, a programming language specifically designed for trading strategies and indicators within TradingView.
| Operator | Description |
|---|
本群組清單 提交修改 請至 gist 回覆
[AD]
| <?php | |
| public static function get_the_fb_like( $url = '' ){ | |
| $pageURL = 'http://nextopics.com'; | |
| $url = ($url == '' ) ? $pageURL : $url; // setting a value in $url variable | |
| $params = 'SELECT comment_count, share_count, like_count FROM link_stat WHERE url = "'.$url.'"'; | |
| $component = urlencode($params); | |
| $url = 'http://graph.facebook.com/fql?q='.$component; | |
| $fbLIkeAndSahre = json_decode(file_get_contents($url)); | |
| $getFbStatus = $fbLIkeAndSahre->data['0']; | |
| return $getFbStatus; |
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |
| --- 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 |
| <?php | |
| // 建立 Excel 欄位編號 | |
| function hit1205_excel_col_no_list_gen($end = 'Z', $prefix = ''){ | |
| $cols = array(); | |
| $len = strlen($end); | |
| $a2z = range('A', 'Z'); | |
| foreach($a2z as $letter){ | |
| $col = $prefix . $letter; | |
| $cols[] = $col; |
| // | |
| // _oo0oo_ | |
| // o8888888o | |
| // 88" . "88 | |
| // (| -_- |) | |
| // 0\ = /0 | |
| // ___/`---'\___ | |
| // .' \\| |// '. | |
| // / \\||| : |||// \ | |
| // / _||||| -:- |||||- \ |
| # First commit | |
| echo "hello" | git hash-object -w --stdin | |
| git update-index --add --cacheinfo 100644 ce013625030ba8dba906f756967f9e9ca394464a hello.txt | |
| git write-tree | |
| git commit-tree aaa96c -m "First commit" | |
| git update-ref refs/heads/master 30b060d9a7b5e93c158642b2b6f64b2b758da40d | |
| # Second commit |
| #!/usr/bin/env lsc | |
| require! express | |
| require! request | |
| app = express! | |
| oauth_consumer_key = 'just+testing' | |
| var oauth_token | |
| var oauth_token_secret |
| <?php | |
| /** | |
| * Calculate a precise time difference. | |
| * @param string $start result of microtime() | |
| * @param string $end result of microtime(); if NULL/FALSE/0/'' then it's now | |
| * @return flat difference in seconds, calculated with minimum precision loss | |
| */ | |
| function microtime_diff($start, $end = null) | |
| { | |
| if (!$end) { |