This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * _s Theme Options | |
| * | |
| * @package _s | |
| * @since _s 1.0 | |
| */ | |
| /** | |
| * Register the form setting for our _s_options array. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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 | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Retirement Living Units for Sale | |
| */ | |
| //Get The Location | |
| $current_location = get_post( get_the_ID() ); // get_the_ID() returns the ID of the current post | |
| $args = array( | |
| 'post_type' => 'unit_sales', | |
| 'meta_query' => array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <# | |
| .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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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()); | |
| }; | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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 ) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- 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 --> |
OlderNewer