Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
<?php | |
use Guzzle\Http\Client; | |
require __DIR__ . '/vendor/autoload.php'; | |
$tmpFile = tempnam(sys_get_temp_dir(), 'guzzle-download'); | |
$handle = fopen($tmpFile, 'w'); | |
$client = new Client('', array( | |
Client::CURL_OPTIONS => array( |
#import "NSData+OADataHelpers.h" | |
@implementation NSData (OADataHelpers) | |
- (NSString*) UTF8String | |
{ | |
return [[[NSString alloc] initWithData:[self dataByHealingUTF8Stream] encoding:NSUTF8StringEncoding] autorelease]; | |
} | |
// Replaces all broken sequences by � character and returns NSData with valid UTF-8 bytes. |
// | |
// UIColor+HexString.h | |
// Class to convert hex string to UIColor | |
// Support #RGB # ARGB #RRGGBB #AARRGGBB | |
// Usage: [UIColor colorWithHexString:@"#f5e6a1"]; | |
// Created by Zhu Yuzhou on 1/20/13. | |
// | |
#import <UIKit/UIKit.h> |
set nocompatible | |
filetype on | |
filetype indent on | |
filetype plugin on | |
let mapleader = "." | |
syntax enable | |
set foldmethod=syntax | |
set ignorecase | |
set hlsearch |
============================================== | |
PHP FILE | |
============================================== | |
add_action( 'wp_ajax_sample_action', 'my_action_callback' ); | |
add_action( 'wp_ajax_nopriv_sample_action', 'my_action_callback' ); | |
function my_action_callback(){ | |
$_POST['his_not_email']; |
<select name="currency_code"> | |
<option value="">Select Currency</option> | |
<option value="AUD">Australian Dollar</option> | |
<option value="BRL">Brazilian Real </option> | |
<option value="CAD">Canadian Dollar</option> | |
<option value="CZK">Czech Koruna</option> | |
<option value="DKK">Danish Krone</option> | |
<option value="EUR">Euro</option> | |
<option value="HKD">Hong Kong Dollar</option> | |
<option value="HUF">Hungarian Forint </option> |
Getting started:
Related tutorial: http://cd64.de/mysql-cli
SQL joins infografic: http://cd64.de/sql-joins
<!-- resources/views/auth/login.blade.php --> | |
<form method="POST" action="/auth/login"> | |
{!! csrf_field() !!} | |
<div> | |
<input type="email" name="email" value="{{ old('email') }}"> | |
</div> |
git fetch --all | |
git reset --hard origin/master |
global $wp_query; | |
$wp_query->set_404(); | |
status_header(404); |