Perform DNS Lookup:
https://github.com/phallstrom/AlfredDig
WordPress Function Reference:
http://www.alfredforum.com/topic/2153-search-the-wordpress-function-reference/
Send URL:
Perform DNS Lookup:
https://github.com/phallstrom/AlfredDig
WordPress Function Reference:
http://www.alfredforum.com/topic/2153-search-the-wordpress-function-reference/
Send URL:
update wp_posts set post_content = replace(post_content,'ä','ä'); | |
update wp_posts set post_title = replace(post_title,'ä','ä'); | |
update wp_comments set comment_content = replace(comment_content,'ä','ä'); | |
update wp_postmeta set meta_value = replace(meta_value,'ä','ä'); | |
update wp_posts set post_excerpt = replace(post_excerpt,'ä','ä'); | |
update wp_terms set name = replace(name,'ä','ä'); | |
update wp_posts set post_content = replace(post_content,'ö','ö'); | |
update wp_posts set post_title = replace(post_title,'ö','ö'); | |
update wp_comments set comment_content = replace(comment_content,'ö','ö'); |
Update: please note that I have since switched to using a set of bash scripts instead of poluting the Git repository with git svn
.
Author: Kaspars Dambis
kaspars.net / @konstruktors
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
brew update
brew install openconnect
function get_date_string(para_date) { | |
var date = para_date || new Date(); | |
var day = (date.getDate() > 10 ) ? date.getDate() : ("0" + date.getDate() ), | |
month = ((date.getMonth()+1) > 10 ) ? (date.getMonth()+1) : ("0" + (date.getMonth()+1) ), | |
year = (date.getFullYear() > 10 ) ? date.getFullYear() : ("0" + date.getFullYear() ), | |
hours = (date.getHours() > 10 ) ? date.getHours() : ("0" + date.getHours() ), | |
minutes = (date.getMinutes() > 10 ) ? date.getMinutes() : ("0" + date.getMinutes() ); | |
return year + month + day + "_" + hours + minutes; | |
}; |
<?php | |
/* From https://www.usps.com/send/official-abbreviations.htm */ | |
$us_state_abbrevs_names = array( | |
'AL'=>'ALABAMA', | |
'AK'=>'ALASKA', | |
'AS'=>'AMERICAN SAMOA', | |
'AZ'=>'ARIZONA', | |
'AR'=>'ARKANSAS', |
<form action="[YOUR ACTION]" method="post" accept-charset="UTF-8"> | |
<input id="user_username" style="margin-bottom: 15px;" type="text" name="user[username]" size="30" /> | |
<input id="user_password" style="margin-bottom: 15px;" type="password" name="user[password]" size="30" /> | |
<input id="user_remember_me" style="float: left; margin-right: 10px;" type="checkbox" name="user[remember_me]" value="1" /> | |
<label class="string optional" for="user_remember_me"> Remember me</label> | |
<input class="btn btn-primary" style="clear: left; width: 100%; height: 32px; font-size: 13px;" type="submit" name="commit" value="Sign In" /> | |
</form> |
/* to use WebSQL or the SQLite plugin (https://github.com/davibe/Phonegap-SQLitePlugin) with the same function) */ | |
executeSqlBridge: function(tx, sql, params, dataHandler, errorHandler) { | |
var self = this; | |
if (typeof self.db.dbPath !== 'undefined') { | |
//Native SQLite DB with phonegap : https://github.com/davibe/Phonegap-SQLitePlugin/ | |
//this is a native DB, the method signature is different: | |
var sqlAndParams = [sql].concat(params); | |
var cb = function(res) { |
<?php | |
/* | |
Plugin Name: R Debug | |
Description: Set of dump helpers for debug. | |
Author: Andrey "Rarst" Savchenko | |
Author URI: https://www.rarst.net/ | |
License: MIT | |
*/ |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.