create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |
| <?php | |
| // Simple DNSBL/RBL PHP function - trust me, it's better than checkdnsrr, fsock, socket_create, Net::DNSBL and Net::DNS | |
| // Here's a [better] way to quickly check if an IP is in a DNSBL / RBL. It works on Windows and Linux, | |
| // assuming nslookup is installed. It also supports timeout in seconds. | |
| function ipInDnsBlacklist($ip, $server, $timeout=1) { | |
| $response = array(); | |
| $host = implode(".", array_reverse(explode('.', $ip))).'.'.$server.'.'; | |
| $cmd = sprintf('nslookup -type=A -timeout=%d %s 2>&1', $timeout, escapeshellarg($host)); | |
| @exec($cmd, $response); |
| /* | |
| * anchor-include pattern for already-functional links that work as a client-side include | |
| * Copyright 2011, Scott Jehl, scottjehl.com | |
| * Dual licensed under the MIT | |
| * Idea from Scott Gonzalez | |
| * to use, place attributes on an already-functional anchor pointing to content | |
| * that should either replace, or insert before or after that anchor | |
| * after the page has loaded | |
| * Replace: <a href="..." data-replace="articles/latest/fragment">Latest Articles</a> | |
| * Before: <a href="..." data-before="articles/latest/fragment">Latest Articles</a> |
| #!/bin/sh | |
| # have submodules been added? | |
| MODS=0 | |
| # Github base URL | |
| GITHUB="https://github.com" | |
| # Default branch | |
| DEFAULT_BRANCH="3.0/master" |