title | subtitle | author | date | source |
---|---|---|---|---|
Docker Compose Cheatsheet |
Quick reference for Docker Compose commands and config files |
Jon LaBelle |
April 7, 2019 |
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
;; | |
;; Solo freelancer's S-Corp tax optimization | |
;; | |
;; Assumes an unmarried single-shareholder and tons of other stuff. | |
;; I'm not a tax professional, no guarantees here, probably typos, etc. Come on! | |
;; Run with https://github.com/Z3Prover/z3 | |
;; | |
;; See also my notes at https://kevinlynagh.com/financial-plan/ |
// The following data should be run in the console while viewing the page https://read.amazon.com/ | |
// It will export a CSV file called "download" which can (and should) be renamed with a .csv extension | |
var db = openDatabase('K4W', '2', 'thedatabase', 1024 * 1024); | |
getAmazonCsv = function() { | |
// Set header for CSV export line - change this if you change the fields used | |
var csvData = "ASIN,Title,Authors,PurchaseDate\n"; | |
db.transaction(function(tx) { |
Price breakdown vs DigitalOcean, Vultr and Linode: | |
RAM / CPU Cores / STORAGE / Transfer | |
$5/mo | |
LightSail: 512MB, 1, 20GB SSD, 1TB | |
DO: 512MB, 1, 20GB SSD, 1TB | |
VULTR: 768MB, 1, 15GB SSD, 1TB | |
$10/mo |
(NOTE: Current and future versions of this and any other Advantage 2-related things I post will be at https://github.com/nicholasknight/adv2keyboard)
I received my Advantage 2 today. There's no full manual yet, even though keyboards are apparently arriving (hint, hint, Kinesis). The quick start guide leaves out the "power user mode", and there are some other quirks.
Update: A manual has been posted at http://www.kinesis-ergo.com/advantage2-resources/
It includes a dictionary for the key maps, but I know it leaves at least one possible key undocumented: it does not list f14
, but I have successfully mapped my scrollock to f14
regardless.
It also mentions a firmware version (1.0.18) that doesn't seem to be available yet, with a new feature (status report playback speed).
{
"result": {
"heroes": [
{
"name": "npc_dota_hero_antimage",
"id": 1
},
{
"name": "npc_dota_hero_axe",
(define (leftpad s l c) | |
(if (number? s) | |
(set! s (number->string s)) | |
) | |
(if (number? c) | |
(set! c (number->string c)) | |
) | |
(define (_leftpad _s _l _c) | |
(if (<= _l 0) | |
_s |
about:config settings to harden the Firefox browser. Privacy and performance enhancements.
To change these settings type 'about:config' in the url bar.
Then search the setting you would like to change and modify the value. Some settings may break certain websites from functioning and
rendering normally. Some settings may also make firefox unstable.
I am not liable for any damages/loss of data.
Not all these changes are necessary and will be dependent upon your usage and hardware. Do some research on settings if you don't understand what they do. These settings are best combined with your standard privacy extensions
(HTTPS Everywhere No longer required: Enable HTTPS-Only Mode, NoScript/Request Policy, uBlock origin, agent spoofing, Privacy Badger etc), and all plugins set to "Ask To Activate".
# Tested on OSX Yosemite 10.10.4 | |
# there is also an updated version (work in progress) for El Capitan here https://gist.github.com/guycalledseven/31ffe35eca056838b06b | |
# XXX TODO | |
# should I disable com.google.Keystone.Agent ?? | |
# http://applehelpwriter.com/2014/07/13/how-to-remove-googles-secret-update-software-from-your-mac/ | |
# Stop DS_Store file creation on network connections | |
# restart Finder afterwards |
NOTE: This guide has moved to https://github.com/bpierre/switch-to-vim-for-good
This guide is coming from an email I used to send to newcomers to Vim. It is not intended to be a complete guide, it is about how I switched myself.
My decision to switch to Vim has been made a long time ago. Coming from TextMate 1, I wanted to learn an editor that is Open Source (so I don’t lose my time learning a tool that can be killed), cross platform (so I can use it everywhere), and powerful enough (so I won’t regret TextMate). For these reasons, Vim has always been the editor I wanted to learn, but it took me several years before I did it in a way that works for me. I tried to switch progressively, using the Janus Vim distribution for a few months, then got back to using TextMate 2 for a time, waiting for the next attempt… here is what finally worked for me.
Original gist with comments: https://gist.github.com/bpierre/0a0025d348b6001394e0