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.
authority letsencrypt { | |
api url "https://acme-v02.api.letsencrypt.org/directory" | |
account key "/etc/acme/letsencrypt-privkey.pem" | |
} | |
# example.net | |
domain example.net { | |
alternative names { www.example.net } | |
domain key "/etc/ssl/private/example.net.key" | |
domain certificate "/etc/ssl/example.net.crt" |
import board | |
import neopixel | |
import usb_hid | |
import touchio | |
import time | |
from time import sleep | |
from adafruit_hid.mouse import Mouse | |
from random import randint | |
HOW_LONG = 10 # How long between jiggles in seconds |
defaults write com.apple.Dock appswitcher-all-displays -bool true | |
killall Dock |
{ | |
"live_retry_timeout": 60, | |
"preferred_language": "en", | |
"check_updates": true, | |
"save_logs": true, | |
"log_location": "", | |
"horizontal_layout": false, | |
"theme": { | |
"background_color": "#000000", | |
"border_color": "#0CA597", |
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Don Melton provides some amazing scripts that wrap HandBrake to produce high quality, portable versions of Blu Ray rips. The tools Don provides are written in Ruby, and they're packaged as a Ruby Gem. All the tools are cross platform, requiring only the Ruby runtime to be installed. But they do depend on external programs to get anything useful done. These dependencies are cross platform as well, but Windows has no standard package management system (de facto or otherwise), so installing these dependencies for Windows can be a bit of a pain. But it is possible! Here's how
tell application "System Events" to tell process "Mail" | |
set mainWindow to a reference to the first window | |
set rootSplitter to a reference to the first splitter group of the mainWindow | |
set firstSplitter to a reference to the last splitter group of the rootSplitter | |
set scrollArea to a reference to the last scroll area of the firstSplitter | |
set scrollGroup to a reference to the first group of the scrollArea | |
if number of groups of the scrollGroup is greater than 1 then | |
set maybeRemoteContentGroup to a reference to the first group of the scrollGroup | |
from ctypes import CDLL | |
loginPF = CDLL('/System/Library/PrivateFrameworks/login.framework/Versions/Current/login') | |
result = loginPF.SACLockScreenImmediate() |
#!/bin/vbash | |
# CONFIG | |
wan=dhcp | |
lan=192.168.1.1 | |
lan_segment=192.168.1.0 | |
vpn_segment=192.168.5.0 | |
domain=apertoire.org | |
lease_start=192.168.1.200 | |
lease_stop=192.168.1.245 |