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
KeySnail | |
Copy Fixer | |
FireGestures | |
IE Tab 2 |
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
// 全ての定義済の変数を表示する | |
exit( var_dump( get_defined_vars() ) ); | |
// 全ての定義済みの定数の名前と値を表示する | |
exit( var_dump( get_defined_constants(true) ) ); | |
// スーパーグローバル変数を表示する | |
phpinfo(INFO_VARIABLES); |
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
Advanced Editing | |
http://live.gnome.org/Gedit/AdvancedEditingPlugin | |
Edit Shortcuts | |
http://empty.23inch.de/pmwiki.php/Main/EditShortcuts | |
Regex Search and Replace | |
TabSwitch |
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
ファイル内検索 | |
grep -R -n foo . | |
ファイル名検索 | |
find -type f -name *bar* |
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
vanillaforums-ja の Garden リポジトリ作成手順 | |
=============== | |
以下、基本的には Windows 版の Git Bash 上での操作を前提とします。 | |
`git push` の対象を現在のブランチのみに限定するため、以下の設定を行っておくことを推奨します。 | |
git config --global push.default tracking | |
参考:[見えないチカラ: 【翻訳】あなたの知らないGit Tips](http://keijinsonyaban.blogspot.com/2010/11/git-tips.html "見えないチカラ: 【翻訳】あなたの知らないGit Tips") |
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
Option Explicit | |
Const UTIL_URL = "https://raw.github.com/gist/1274775/Util.wsc" | |
'Const UTIL_URL = "C:\work\Util.wsc" | |
Sub test1() | |
Dim Util As Object | |
Dim list As Variant | |
list = Array("もみじ", "あかね", "きんむぎ") |
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
HTML 4.01 Strict DTD | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
"http://www.w3.org/TR/html4/strict.dtd"> | |
HTML 4.01 Transitional DTD | |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> |
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
javascript:(function(){var%20entries=document.getElementById('entries').querySelectorAll('.entry');var%20sites={};for(var%20i=0,n=entries.length;i%20%3C%20n;i++){var%20entry=entries[i];var%20site=entry.querySelector('.entry-source-title').innerHTML;var%20title=entry.querySelector('.entry-title').innerHTML;var%20url=entry.querySelector('.entry-original').href;var%20date=entry.querySelector('.entry-date').innerHTML;if(!sites[site]){sites[site]=[];}sites[site].push({title:title,url:url,date:date});}var%20dl=document.createElement('dl');for(var%20site%20in%20sites){var%20entries=sites[site];var%20table=document.createElement('table');for(var%20i=0,n=entries.length;i%20%3C%20n;i++){var%20entry=entries[i];var%20tr=document.createElement('tr');var%20span=document.createElement('span');span.innerHTML=entry.date;var%20td=document.createElement('td');td.setAttribute('style','width:100px;');td.appendChild(span);tr.appendChild(td);var%20a=document.createElement('a');a.href=entry.url;a.target=%22_blank%22;a.innerHTML=entr |
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
last' :: [a] -> a | |
last' (x:[]) = x | |
last' (x:xs) = last' xs |
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
isPrime :: Int -> Bool | |
isPrime 1 = False | |
-- 約数リストを作成し、それが1,xのみである(それ以外の約数リストがnull)かどうかを判定して返却 | |
-- | |
-- lazy evaluation(怠惰な評価)で、最初の約数がリストに入れられた時点で | |
-- null評価されFalseを返すことを期待しているが、そうなのか? | |
-- | |
isPrime x = null [f| f<-[2..x-1], 0 == mod x f] | |
OlderNewer