Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096| List<Account> accList = new List<Account>( | |
| [Select | |
| Id | |
| ,Name | |
| ,(Select | |
| From | |
| Contacts | |
| ) | |
| From Account] |
| /** | |
| * Example of using JSON serialization to pass complex objects to @future handlers in Apex | |
| * $author: [email protected] | |
| */ | |
| public with sharing class AddressFuture { | |
| public AddressFuture () { | |
| List<String> addresses = new List<String>(); | |
| AddressHelper ah1 = new AddressHelper('1 here st', 'San Francisco', 'CA', '94105'); |
| # wordpress over fastcgi | |
| server { | |
| listen 81; | |
| server_name _; | |
| root /mnt/apps/airpair-blog/current; | |
| index index.html index.php /index.php; | |
| # restricting all dot files | |
| location ~ /\. { return 403; } |
| (function(d) { | |
| var dl = d.createElement('a'); | |
| dl.innerText = 'Download MP3'; | |
| dl.href = "http://media.soundcloud.com/stream/"+d.querySelector('#main-content-inner img[class=waveform]').src.match(/\.com\/(.+)\_/)[1]; | |
| dl.download = d.querySelector('em').innerText+".mp3"; | |
| d.querySelector('.primary').appendChild(dl); | |
| dl.style.marginLeft = '10px'; | |
| dl.style.color = 'red'; | |
| dl.style.fontWeight = 700; | |
| })(document); |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |