Favorite large mug. Soup mug would be ideal.
- 4 tbs flour (sifted)
- 2 tbs sugar
Host * | |
Compression yes | |
ControlMaster auto | |
ControlPath /tmp/ssh-conn-%r@%h:%p.con | |
ControlPersist 30 | |
ForwardAgent yes | |
ServerAliveInterval 100 | |
IdentityFile ~/.ssh/id_rsa | |
AddKeysToAgent yes | |
UseKeychain yes |
DELIMITER | | |
CREATE PROCEDURE explode( pDelim VARCHAR(32), pStr TEXT) | |
BEGIN | |
DROP TABLE IF EXISTS temp_explode; | |
CREATE TEMPORARY TABLE temp_explode (id INT AUTO_INCREMENT PRIMARY KEY NOT NULL, word VARCHAR(40)); | |
SET @sql := CONCAT('INSERT INTO temp_explode (word) VALUES (', REPLACE(QUOTE(pStr), pDelim, '\'), (\''), ')'); | |
PREPARE myStmt FROM @sql; | |
EXECUTE myStmt; | |
END | |
# Correct LineWidth values for ToonShader nodes for Poser 7 and earlier | |
# | |
# Poser versions prior to 8 handled the LineWidth node value differently | |
# than Poser 8 and later. This script allows you to batch-correct the line-value, | |
# saving the effort of having to click on every single material. | |
import poser | |
scene = poser.Scene() | |
actor = scene.CurrentActor() |
Favorite large mug. Soup mug would be ideal.
<?php | |
/** | |
* Change order parameter | |
* @param WP_Query $query WP query object | |
*/ | |
function mangapress_change_archive_order($query) | |
{ | |
$query->query['order'] = 'ASC'; | |
} | |
add_action('pre_get_posts', 'mangapress_change_archive_order') |
<?php | |
/** | |
* Remove all WordPress-specific stylesheets from WordPress login screen | |
*/ | |
/** | |
* Force-remove login-related styles. Can't use the regular method of login_enqueue_scripts | |
* due to wp_admin_css running before login_enqueue_scripts | |
* |
{ | |
"listen": [ null, 7890 ], | |
"verbose": true, | |
"color": { | |
"gamma": 2.5, | |
"whitepoint": [ 0.9, 0.9, 0.9 ] | |
}, | |
"devices": [ | |
{ | |
"type": "fadecandy", |
<?php | |
/** | |
* I had to parse an XLSX spreadsheet (which should damn well have been a CSV!) | |
* but the usual tools were hitting the memory limit pretty quick. I found that | |
* manually parsing the XML worked pretty well. Note that this, most likely, | |
* won't work if cells contain anything more than text or a number (so formulas, | |
* graphs, etc ..., I don't know what'd happen). | |
*/ |
This tutorial describes how to work with the WordPress Metadata API as described in the tutorial (Working with WordPress's Metadata API) posted on my blog.
Test code, originally modified from the Arduino code for Spooky LED Eyes on Adafruit. Created primarily as a means to get an idea of how Node.js works with Fadecandy.
Originally from Firefly: https://github.com/jesgs/firefly