The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: October 8th 2015
- Original post
Wes Winham [email protected]
There are many tutorials floating around the web that almost get you a dynamic VPN in EC2. The goal of this tutorial is to be a one-stop-shop for this specific setup.
| <!-- used with <gap:plugin name="com.chariotsolutions.nfc.plugin" /> --> | |
| <!DOCTYPE html> | |
| <html ng-app="app"> | |
| <head> | |
| <title>nfc - Test</title> | |
| <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" /> | |
| <meta charset="utf-8" /> | |
| <meta name="apple-mobile-web-app-capable" content="yes"> | |
| <!-- Style --> |
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
| */ | |
| $args = array( |
| <?php | |
| add_filter( 'gform_pre_render', 'log_pre_render' ); | |
| function log_pre_render( $form ) { | |
| GFCommon::log_debug( "log_pre_render(): \$form => " . print_r( $form, true ) ); | |
| return $form; | |
| } | |
| add_action( 'gform_pre_process', 'log_pre_process' ); | |
| function log_pre_process( $form ) { |
| ctrl + alt + shift + t = refactor this | |
| alt + enter = allerlei shortcuts | |
| ctrl + alt + l = reformat code | |
| shift + f11 = show bookmarks | |
| f11 = insert bookmark | |
| alt + insert = file new | |
| ctrl + n = navigate class | |
| ctrl + shift + n = navigate file | |
| ctrl + shift + f = find in path | |
| ctrl + alt + shift + insert = commit file (eigen shortcut) |
| jQuery(document).ready(function($) { | |
| $('input#choice_13_1').click(function() { | |
| if($(this).is(':checked')) { | |
| $('#input_2_12_1').val($('#input_2_2_1').val()); | |
| $('#input_2_12_2').val($('#input_2_2_2').val()); | |
| $('#input_2_12_3').val($('#input_2_2_3').val()); | |
| $('#input_2_12_4').val($('#input_2_2_4').val()); | |
| $('#input_2_12_5').val($('#input_2_2_5').val()); | |
| }; | |
| }); |
| <# | |
| .SYNOPSIS | |
| Migrates a Azure Virtual Machine to another subscription or data centre | |
| .DESCRIPTION | |
| Shutsdown the source VM | |
| Exports the VM config to a temporary file | |
| Loops through all Azure disks attached to the source VM | |
| Schedules an async copy of the underlying VHD to the destination storage account | |
| - optionally overwrites existing VHD in destination if it exists |
| <?php | |
| /* | |
| Plugin Name: Link PDF Attachment | |
| Plugin URI: http://premium.wpmudev.org | |
| Description: Adds a link to the top of a WordPress post to the first PDF attachment | |
| Author: Chris Knowles | |
| Version: 1.0 | |
| Author URI: http://twitter.com/ChrisKnowles | |
| */ |
| <?php | |
| /* | |
| * dl-file.php | |
| * | |
| * Protect uploaded files with login. | |
| * | |
| * @link http://wordpress.stackexchange.com/questions/37144/protect-wordpress-uploads-if-user-is-not-logged-in | |
| * | |
| * @author hakre <http://hakre.wordpress.com/> | |
| * @license GPL-3.0+ |