Participants: Weaver
- Previous Action Items
- Announcements
- Current Tickets
<?php | |
/** | |
* Trait Hookable | |
*/ | |
trait Hookable | |
{ | |
/** | |
* Add doc hooks. | |
*/ |
{ | |
"name": "scott/vcf-to-csv", | |
"require": { | |
"jeroendesloovere/vcard": "^1.7" | |
} | |
} |
#!/bin/bash | |
# | |
# This script configures WordPress file permissions based on recommendations | |
# from http://codex.wordpress.org/Hardening_WordPress#File_permissions | |
# | |
# Author: Michael Conigliaro <mike [at] conigliaro [dot] org> | |
# | |
WP_OWNER=www-data # <-- wordpress owner | |
WP_GROUP=www-data # <-- wordpress group | |
WP_ROOT=${1:-.} # <-- wordpress root directory |
#!/usr/bin/env bash | |
# ____ __ | |
# /'\_/`\ /\ _`\ /\ \__ | |
# /\ \ __ ___ \ \,\L\_\ __\ \ ,_\ __ __ _____ | |
# \ \ \__\ \ /'__`\ /'___\ \/_\__ \ /'__`\ \ \/ /\ \/\ \/\ '__`\ | |
# \ \ \_/\ \/\ \L\.\_/\ \__/ /\ \L\ \/\ __/\ \ \_\ \ \_\ \ \ \L\ \ | |
# \ \_\\ \_\ \__/.\_\ \____\ \ `\____\ \____\\ \__\\ \____/\ \ ,__/ | |
# \/_/ \/_/\/__/\/_/\/____/ \/_____/\/____/ \/__/ \/___/ \ \ \/ | |
# \ \_\ |
Intermittently check to see if your Internet connection is up and running.
connectivity_checker
into a corresponding file in /usr/local/bin and make sure to chmod +x /usr/local/bin/connectivity_checker
crontab -e
*/5 * * * * /usr/local/bin/connectivity_checker
to check every 5 minutesI am in the Pacific time zone (UTC -8/-7). Typically, I work from 9:00am - 6pm after waking up at about 5:30am, hopefully with a brief walk around the block, and getting the kids started with their day. I try to take a lunch anywhere between 11:30am and 2pm. Sometimes I'll step away for a short sanity break. Other than that, I'm usually at my desk. At the very least, I have my phone with me.
All that being said, I try my best to stay mindful, wherever I am. When I'm at work, my priority is work. When I'm with family, however, work becomes a close second.
I work from my home office in Anaheim Hills, California.
Command | Effect |
---|---|
V | Visual line highlight. |
C-V | Visual block highlight. |
C-z | Suspend Vim and go go shell. Type fg to return to Vim session. |
a | Append mode. |
A | Go to end of line and go into insertion mode. |
I | Go to beginning of line and go into insertion mode. |
R | Replace mode. (backspace will undo any newly-typed characters!) |
o | Create a new line below and go into insertion mode. |
const sumArray = (a) => { | |
if ( typeof a == 'undefined' || !a || a.length < 2 ) { return 0; } | |
a.sort((a,b) => a - b).splice(0, 1) | |
a.splice(a.length - 1, 1); | |
if ( a.length < 3 ) { return 0; } | |
return a.reduce((a,b) => a+b); | |
}; |