Skip to content

Instantly share code, notes, and snippets.

View jeffrey-hearn's full-sized avatar

Wren Hearn jeffrey-hearn

  • Auriemma Roundtables
  • Silver Spring, MD
View GitHub Profile
@jeffrey-hearn
jeffrey-hearn / functions.php
Last active December 14, 2015 07:58
Incomplete example of how one would cache the default WordPress query so that the database is never hit.
<?php
add_filter( 'posts_request', 'pre_db_hit' );
function pre_db_hit( $request )
{
global $diy_cache_current_request;
$diy_cache_current_request = $request;
// use request string to see if expired...
@maxim
maxim / task.yml
Created June 12, 2014 11:09
Adding github to known_hosts with ansible
- name: ensure github.com is a known host
lineinfile:
dest: /root/.ssh/known_hosts
create: yes
state: present
line: "{{ lookup('pipe', 'ssh-keyscan -t rsa github.com') }}"
regexp: "^github\\.com"

"POOR BILL"
2019-Nov-07

@teddyschleifer wrote:

"Bill Gates on a wealth tax:

'I've paid over $10 billion in taxes. I've paid more than anyone in taxes. If I had to pay $20 billion, it's fine.'

'But when you say I should pay $100 billion, then I'm starting to do a little math over what I have left over.'"

@jeffrey-hearn
jeffrey-hearn / the-mandalorian-for-ukulele.txt
Created November 25, 2019 01:59
The Mandalorian by Ludwig Göransson, Fingerpicking Style for Ukulele
The Mandalorian
by Ludwig Göransson
Section Arrangement:
Chorus
Intro
Verse