I hereby claim:
- I am jackreichert on github.
- I am jrbv (https://keybase.io/jrbv) on keybase.
- I have a public key ASBnI2KlsGXVi_SlY1nrsj11Gcywpy2u9PuOd3UiVDVcWAo
To claim this, I am signing this object:
<?xml version="1.0" encoding="UTF-8"?> | |
<w:document xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" | |
xmlns:wp="http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing" | |
xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main" | |
xmlns:w10="urn:schemas-microsoft-com:office:word" | |
xmlns:w14="http://schemas.microsoft.com/office/word/2010/wordml" | |
xmlns:wps="http://schemas.microsoft.com/office/word/2010/wordprocessingShape" | |
xmlns:wpg="http://schemas.microsoft.com/office/word/2010/wordprocessingGroup" | |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | |
xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" |
(function ($) { | |
$(document).ready(function () { | |
$('#next').click(function () { | |
$.post( | |
PT_Ajax.ajaxurl, | |
{ | |
// wp ajax action | |
action: 'ajax-inputtitleSubmit', | |
// vars |
extension NSURL { | |
func getKeyVals() -> Dictionary<String, String>? { | |
var results = [String:String]() | |
var keyValues = self.query?.componentsSeparatedByString("&") | |
if keyValues?.count > 0 { | |
for pair in keyValues! { | |
let kv = pair.componentsSeparatedByString("=") | |
if kv.count > 1 { | |
results.updateValue(kv[1], forKey: kv[0]) | |
} |
I hereby claim:
To claim this, I am signing this object:
// github gist Shortcode Usage: [gist un="" id=""] | |
function gist_shortcode( $atts ) { | |
extract(shortcode_atts(array( | |
'un' => '', | |
'id' => '' | |
), $atts)); | |
return '<script src="https://gist.github.com/' . $username . '/' . $id.'.js"></script>'; | |
} | |
add_shortcode('gist', 'gist_shortcode'); |
import React, {Component} from 'react'; | |
import {connect} from 'react-redux'; | |
import {Map, Marker, GoogleApiWrapper} from 'google-maps-react'; | |
class EventMap extends Component { | |
constructor() { | |
super(); | |
this.styles = [ | |
{ | |
featureType: "all", |
import UIKit | |
import Security | |
class Keychain { | |
class func save(key: String, data: NSData) -> Bool { | |
let query = [ | |
kSecClass as String : kSecClassGenericPassword as String, | |
kSecAttrAccount as String : key, | |
kSecValueData as String : data ] |
config.trigger.before :halt do | |
info "Dumping the database before shutting down..." | |
run_remote "bash /vagrant/assets/exportdb.sh" | |
run_remote "bash /vagrant/assets/gz-wpcontent.sh" | |
end |
<?php // add the following into your theme's functions.php | |
function theme_fonts() { | |
// typekit | |
wp_enqueue_script( 'theme_typekit', '//use.typekit.net/xxxxxxx.js'); | |
// fonts.com | |
wp_enqueue_script( 'theme_fontsdotcom', '//fast.fonts.net/jsapi/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.js'); | |
// google fonts - Josefin (a favorite) |