Three or more hashtags.
#[^#]+#[^#]+#
Long hashtags (15+ characters): #hashtagpunchline
#!/usr/bin/env sh | |
# Download lists, unpack and filter, write to stdout | |
curl -s https://www.iblocklist.com/lists.php \ | |
| sed -n "s/.*value='\(http:.*=bt_.*\)'.*/\1/p" \ | |
| xargs wget -O - \ | |
| gunzip \ | |
| egrep -v '^#' |
#!/usr/bin/ruby | |
# Create display override file to force Mac OS X to use RGB mode for Display | |
# see http://embdev.net/topic/284710 | |
require 'base64' | |
data=`ioreg -l -d0 -w 0 -r -c AppleDisplay` | |
edids=data.scan(/IODisplayEDID.*?<([a-z0-9]+)>/i).flatten | |
vendorids=data.scan(/DisplayVendorID.*?([0-9]+)/i).flatten |
windows
/** | |
* For Google Voice | |
* @Author zbinlin <[email protected]> | |
*/ | |
var sleep = delay => new Promise(resolve => setTimeout(resolve, delay)); | |
var composeClick = function x(btn) { | |
var rect = btn.getBoundingClientRect(); | |
var x = Math.floor(rect.clientX + rect.width * Math.random()); | |
var y = Math.floor(rect.clientY + rect.height * Math.random()); |
// | |
// Settings | |
// | |
const MAX_TASKS_SHOWN = 5; | |
const NOW = new Date(); | |
const BG_COLOR = Color.black(); | |
const TITLE_COLOR = Color.white(); | |
const TITLE_FONT = Font.systemFont(20); | |
const OVERDUE_COLOR = new Color("#f73c82"); |