ChangeLog を書く際によく使われる英語をまとめました。
ほとんど引用です。
| // Simple spreadsheet, with first sheet containing form submission repsonses | |
| // when the form is submitted: | |
| // 1) grab the latest response, | |
| // 2) post it to a third party service via an HTTP POST | |
| function testWebhook() { | |
| var ss = SpreadsheetApp.openById(SPREADSHEET_ID); | |
| var form=ss.getSheets()[0]; | |
| var lr=form.getLastRow(); | |
| var el=form.getRange(lr,2,1,1).getValue(); | |
| var t=el; |
| <?php | |
| /** | |
| * Creates static version of CodeIgniter site | |
| * | |
| * @author aquilax | |
| */ | |
| class MY_Output extends CI_Output { | |
| function __construct() { |
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |
| <?php | |
| $x = function($bar, $foo="9") { | |
| echo $foo, $bar, "\n"; | |
| }; | |
| class MissingArgumentException extends Exception { | |
| } | |
| function call_user_func_named_array($method, $arr){ |
| <?php | |
| /** | |
| * Create a web friendly URL slug from a string. | |
| * | |
| * Although supported, transliteration is discouraged because | |
| * 1) most web browsers support UTF-8 characters in URLs | |
| * 2) transliteration causes a loss of information | |
| * | |
| * @author Sean Murphy <[email protected]> | |
| * @copyright Copyright 2012 Sean Murphy. All rights reserved. |
| # Resources: | |
| # | |
| # * http://bencord0.wordpress.com/2012/08/11/openshift/ | |
| # | |
| # Starting with clean install of Ubuntu for start | |
| # Update the system | |
| apt-get update | |
| apt-get upgrade |
| server { | |
| index index.php; | |
| set $basepath "/var/www"; | |
| set $domain $host; | |
| # check one name domain for simple application | |
| if ($domain ~ "^(.[^.]*)\.dev$") { | |
| set $domain $1; | |
| set $rootpath "${domain}"; |
rsync (Everyone seems to like -z, but it is much slower for me)
| // MergeK | |
| // | |
| // Created by Anirvana Mishra on 6/18/13. | |
| // Copyright (c) 2013 Anirvana Mishra. All rights reserved. | |
| // | |
| #include <iostream> | |
| #include <vector> | |
| #include <queue> | |
| using namespace std; |