Title: Subversion Cheatsheet CSS : css/cheaters.css
Permalink to Subversion Cheatsheet
| Subversion Resources ||
| #!/usr/bin/php -q | |
| <?php | |
| date_default_timezone_set('UCT'); | |
| $dryrun = FALSE; | |
| $interval = '24 hours'; | |
| $keep_for = '10 Days'; | |
| $volumes = array('vol-********'); | |
| $api_key = 'AKIAIXXXXXXXXXXXXXXX'; | |
| $api_secret = 'IzMni.........................emQKct'; | 
| <!-- | |
| You are free to copy and use this sample in accordance with the terms of the | |
| Apache license (http://www.apache.org/licenses/LICENSE-2.0.html) | |
| --> | |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="content-type" content="text/html; charset=utf-8"/> | |
| <title> | 
Title: Subversion Cheatsheet CSS : css/cheaters.css
Permalink to Subversion Cheatsheet
| Subversion Resources ||
A curated list of amazingly awesome PHP libraries, resources and shiny things.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| <script type="text/javascript"> | |
| var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text'; | |
| jQuery(document).ready( function($) { | |
| var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){} }; | |
| var mce_validator = $("#mc-embedded-subscribe-form").validate(options); | |
| $("#mc-embedded-subscribe-form").unbind('submit');//remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator | |
| options = { url: 'http://replace-with-your-specific-url', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8", | |
| beforeSubmit: function(){ | 
Copied from Airbnb
http://nerds.airbnb.com/mysql-in-the-cloud-at-airbnb/
Everything is straightforward if you are setting up a site for the first time, but what if you have an existing database with gigabytes of data that you want to migrate to RDS? This is where the fun begins. At the time we did the migration, we already had gigabytes of data and some tables with millions of records. RDS instances only expose MySQL and don’t give you direct access to the machine via SSH or other tools, so unfortunately there is no way to do this on the file system level. The only practical way to move your data over is to do a mysqldump on the source machine, followed by a mysqlimport in RDS. This can take a significant amount of time if you have a lot of data, and unless you want to spend days or weeks figuring out a complex migration strategy, the only option is to take down the site during the process. We wanted to keep the downtime as low as possible, so we looked for simple ways to transfer a significant amount of ou
| <?php | |
| /** | |
| * returns a HTML formated TimeZone select | |
| * | |
| * @param $selectedTimeZone string The timezone marked as "selected" | |
| * @return string | |
| */ | |
| function displayTimeZoneSelect($selectedTimeZone = 'America/New_York'){ | |
| $countryCodes = getCountryCodes(); | |
| $return = null; |