超雑にまとめました。修正してください。
登場人物
- アプリケーション先輩: いつも忙しい。横に広がるのが得意(デブじゃない)。
- 後輩: 頼んでばっかしで役に立たない。
- サーバー先輩: アプリケーション先輩と仲がいい。Unix Socket でつながるくらい仲良し。
- プロクシ先輩: アプリケーション先輩とかサーバー先輩と後輩の間を取り持って代わりに伝えたりしてくれる。たまに勝手にレスポンスを書き換える。
| This is gist. | |
| There are many like it, but this one is mine. | |
| It is my life. | |
| I must master it as I must master my life. | |
| Without me gist is useless. | |
| Without gist, I am useless. | 
| /* | |
| I've wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace | |
| so it's better encapsulated. Now you can have multiple random number generators | |
| and they won't stomp all over eachother's state. | |
| If you want to use this as a substitute for Math.random(), use the random() | |
| method like so: | |
| var m = new MersenneTwister(); | 
| fizz = function f() { | |
| fizz = function () { | |
| fizz = function () { | |
| fizz = f | |
| return "Fizz" | |
| } | |
| } | |
| } | |
| buzz = function f() { | 
| 幼女問題というのは、論理パズルの問題のことです。幼女は「幻ノ女」の略称です。論理パズルの世界で登場する、完璧な演繹、推論をするこの世ならざる存在として幼女が使われます。 | |
| 結果、「幼女問題」と名にし負う問題は沢山あります。今回は、有名無名関係なく、あらゆる論理パズルを幼女問題にしました。 | |
| 1.2人の幼女のケーキ分け | |
| 2.2人の幼女の数あて | |
| 3.3人の幼女の数あて | |
| 4.5人の幼女の山分け | |
| 5.5人の幼女の組あて | |
| 6.13人の幼女とトランプの館 | |
| 7.23人の幼女と石像の館 | 
| [[email protected] www]$ cat .htaccess | |
| RewriteEngine on | |
| RewriteCond %{QUERY_STRING} resource=acct:(.+) | |
| RewriteRule ^\.well-known/webfinger /profile/%1? [L] | |
| [[email protected] www]$ cat profile/[email protected] | |
| { | |
| "subject": "acct:[email protected]", | |
| "links": [ | |
| { | 
| 1033edge.com | |
| 11mail.com | |
| 123.com | |
| 123box.net | |
| 123india.com | |
| 123mail.cl | |
| 123qwe.co.uk | |
| 126.com | |
| 150ml.com | |
| 15meg4free.com | 
When the directory structure of your Node.js application (not library!) has some depth, you end up with a lot of annoying relative paths in your require calls like:
const Article = require('../../../../app/models/article');Those suck for maintenance and they're ugly.
| # install wine 1.7 | |
| add-apt-repository ppa:ubuntu-wine/ppa | |
| sudo apt-get update | |
| sudo apt-get install wine1.7 | |
| # download steam | |
| curl -o ~/Downloads/SteamSetup.exe http://media.steampowered.com/client/installer/SteamSetup.exe | |
| # install some tricks | |
| winetricks vcrun2010 |