Skip to content

Instantly share code, notes, and snippets.

View fuzzy76's full-sized avatar

Håvard Pedersen fuzzy76

View GitHub Profile

testimage

This shows the problem...

Keybase proof

I hereby claim:

  • I am fuzzy76 on github.
  • I am fuzzy76 (https://keybase.io/fuzzy76) on keybase.
  • I have a public key ASCneXbLPPdE_82v_-OEOV6s12g7-Z3EZ_btbjIs0k9pZQo

To claim this, I am signing this object:

@fuzzy76
fuzzy76 / Readinglist.md
Last active November 14, 2018 17:43
Extract Safari reading list from plist to txt file of urls
  1. Install xmlstarlet
  2. Copy Bookmarks.plist out of ~/Library/Safari manually because there are weird permissions on that folder
plutil -convert xml1 -s -o - Bookmarks.plist | xml sel -t -v '//dict[key = "ReadingList"]/key[text() = "URLString"]/following-sibling::string[1]/text()' > Bookmarks.txt
@fuzzy76
fuzzy76 / focus.md
Created August 13, 2018 08:09
A whole goddamned book's worth of awesome productivity advice via a cheap notebook and five (5) daily bullet points
  • What am I thinking about?
  • What am I worried about?
  • What is the one thing that I have to do today?
  • What is the one thing that I want to do today?
  • What is one thing I can do for someone else?

As coined by Merlin Mann in Back to Work episode 339.

#!/bin/sh
apt-get -y update
apt-get -y dist-upgrade
apt-get -y autoremove
apt-get -y autoclean
cat /var/run/reboot-required
@fuzzy76
fuzzy76 / One Dark.terminal
Created February 11, 2016 14:10 — forked from smockle/One Dark.terminal
An OS X Terminal profile to match Atom Editor's One Dark syntax theme. Thanks to https://github.com/nathanbuchar/one-dark-terminal for the inspiration!
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NGMCAw
IDAAEAGAAtIQERITWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xvcqISFFhOU09iamVj
dF8QD05TS2V5ZWRBcmNoaXZlctEXGFRyb290gAEIERojLTI3O0FITltiaWttcn2GjpGa