create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| #!/bin/sh | |
| # have submodules been added? | |
| MODS=0 | |
| # Github base URL | |
| GITHUB="https://github.com" | |
| # Default branch | |
| DEFAULT_BRANCH="3.0/master" |
| /* | |
| * 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> |
| <?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); |
| if ($request_uri = /) { | |
| set $test A; | |
| } | |
| if ($host ~* teambox.com) { | |
| set $test "${test}B"; | |
| } | |
| if ($http_cookie !~* "auth_token") { | |
| set $test "${test}C"; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
| <?php | |
| ob_start(); | |
| var_dump($this); | |
| error_log(ob_get_clean()); | |
| ?> |
| This playbook has been removed as it is now very outdated. |
| @media only screen and (min-width: 320px) { | |
| /* Small screen, non-retina */ | |
| } | |
| @media | |
| only screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 320px), | |
| only screen and ( min--moz-device-pixel-ratio: 2) and (min-width: 320px), | |
| only screen and ( -o-min-device-pixel-ratio: 2/1) and (min-width: 320px), |
| # Configure the reverse-proxy on port 443 | |
| server { | |
| # general configs | |
| keepalive_timeout 30; | |
| listen 127.0.0.1:443 ssl; | |
| server_name api.example.com; | |
| # ssl configs | |
| ssl_certificate /path/to/api.crt; | |
| ssl_certificate_key /path/to/api.key; |
| <?php | |
| /* separar el nombre completo en espacios */ | |
| $tokens = explode(' ', trim($full_name)); | |
| /* arreglo donde se guardan las "palabras" del nombre */ | |
| $names = array(); | |
| /* palabras de apellidos (y nombres) compuetos */ | |
| $special_tokens = array('da', 'de', 'del', 'la', 'las', 'los', 'mac', 'mc', 'van', 'von', 'y', 'i', 'san', 'santa'); | |
| $prev = ""; |