Or: “Everybody likes being given a glass of water.”
By Merlin Mann.
It's only advice for you because it had to be advice for me.
| #!/bin/bash | |
| export PS4='+[$(date -u)][${BASH_SOURCE}:${LINENO}]: ${FUNCNAME[0]:+${FUNCNAME[0]}(): }'; set -x; | |
| if [ `id -u` -ne 0 ]; then | |
| echo "Rippling uninstall must be run by root" | |
| exit 1 | |
| fi | |
| sudo launchctl unload /Library/LaunchDaemons/com.rippling.* | 
| Mute these words in your settings here: https://twitter.com/settings/muted_keywords | |
| ActivityTweet | |
| generic_activity_highlights | |
| generic_activity_momentsbreaking | |
| RankedOrganicTweet | |
| suggest_activity | |
| suggest_activity_feed | |
| suggest_activity_highlights | |
| suggest_activity_tweet | 
Basecamp's new book Shape Up is now available online (https://basecamp.com/shapeup) to read page-by-page.
There is a .pdf version, but that's not the best format for Kindle / other eReaders. Instead, we can convert the page-by-page into an eReader friendly format.
NOTE: This has only been tested on Chrome
| #SingleInstance force | |
| EmptyRecycleBin() | |
| { | |
| MsgBox, 4,, Clear Recycle Bin? | |
| IfMsgBox Yes | |
| FileRecycleEmpty | |
| } | |
| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | 
| // prerequisite: npm install twitter fs-extra delay | |
| const Twitter = require('twitter'); | |
| const fs = require('fs-extra'); | |
| const delay = require('delay'); | |
| var client = new Twitter({ | |
| consumer_key: 'WRITE', | |
| consumer_secret: 'YOUR', | |
| access_token_key: 'APP', | 
| <?php | |
| global $acf_recalc_settings; | |
| // IMPORTANT: Customize these settings for your website. | |
| $acf_recalc_settings = array( | |
| // How many updates to do each page load. As of November 2018, Google's GeoLocation API limit is 100 per second. | |
| 'posts_per_run' => 16, | |
| /* Copyright (c) 2016 Tobias Buschor https://goo.gl/gl0mbf | MIT License https://goo.gl/HgajeK */ | |
| /* focusin/out event polyfill (firefox) */ | |
| !function(){ | |
| var w = window, | |
| d = w.document; | |
| if (w.onfocusin === undefined) { | |
| d.addEventListener('focus' ,addPolyfill ,true); | |
| d.addEventListener('blur' ,addPolyfill ,true); | |
| d.addEventListener('focusin' ,removePolyfill ,true); | 
| <?php | |
| /** | |
| * Looks up values from deep inside a container (object or array) in a safe way. | |
| * For example: | |
| * | |
| * lookup( | |
| * array('foo' => array('bar' => 'baz')), | |
| * array('foo', 'bar') | |
| * ) === 'baz' | 
| <html> | |
| <head> | |
| <title>Pardot Example Form Handler Submit</title> | |
| <!-- Include jQuery --> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> | |
| <!-- Post to Pardot function --> | |
| <script type="text/javascript"> | |
| // set the pardot form handler url and form element id |