I hereby claim:
- I am lewiswalsh on github.
- I am lewiswalsh (https://keybase.io/lewiswalsh) on keybase.
- I have a public key ASCsSgDIC4Lp66CimJ8WmCzX70CIzBFMrsRhCx_Np_L4LAo
To claim this, I am signing this object:
<form id="my-form"> | |
<label for="name">Name:</label> | |
<input type="text" name="name"></input> | |
</form> | |
<button type="submit" form="my-form">Submit</button> |
// Enable "experimental.retroTerminalEffect" and crank up the "fontSize" | |
// For that true WarGames look set "cursorShape" to "filledBox" and install this typeface: | |
// https://fontstruct.com/fontstructions/show/789830/wargames_2 | |
{ | |
"name" : "LW Amber CRT", | |
"foreground" : "#FFB000", | |
"background" : "#282828", | |
"cursorColor" : "#FFB000", | |
"black" : "#FFB000", |
INSERT INTO ab_product_categories (category_id, product_id) | |
SELECT c.id AS category_id, p.id as product_id | |
FROM ab_products AS p, ab_categories AS c | |
WHERE c.old_id = p.old_cat_id; |
/usr/bin/time -v <your command or program with arguments> |
arp -a | findstr b8-27-eb |
#!/bin/bash | |
ffmpeg -i "concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB" -strict -2 outfile.mp4 |
I hereby claim:
To claim this, I am signing this object:
<?php | |
add_action( 'added_post_meta', 'mp_sync_on_product_save', 10, 4 ); | |
add_action( 'updated_post_meta', 'mp_sync_on_product_save', 10, 4 ); | |
function mp_sync_on_product_save( $meta_id, $post_id, $meta_key, $meta_value ) { | |
if ( $meta_key == '_edit_lock' ) { // we've been editing the post | |
if ( get_post_type( $post_id ) == 'product' ) { // we've been editing a product | |
$product = wc_get_product( $post_id ); | |
// do something with this product | |
} | |
} |
#!/bin/bash | |
# Use CRON to regularly update for DIY DynDNS | |
PUBLIC_IPV4=$(curl ifconfig.co) | |
API_ACCESS_TOKEN=<your_access_token> | |
RECORD_ID=<your_record_id> | |
curl -X PUT -H "Content-Type: application/json" -H "Authorization: Bearer ${API_ACCESS_TOKEN}" -d '{"data":"'"${PUBLIC_IPV4}"'"}' "https://api.digitalocean.com/v2/domains/centralindustrial.co.uk/records/${RECORD_ID}" |
camera_raspi_options="-x 1440 -y 1080 -fps 15 -quality 95 -sh 25 -br 60 -co 40 -sa 10 -awb fluorescent" |