Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# for use with https://forums.linuxmint.com/viewtopic.php?t=319948
# NAME: redirect-brightness
# PATH: /usr/local/bin
# DESC: Redirect to correct driver when Ubuntu is adjusting the wrong
# /sys/class/DRIVER_NAME/brightness
# DATE: June 13, 2018. Modified June 14, 2018.
@kevinlipe
kevinlipe / mountOneDrive.sh
Created January 30, 2021 14:14
mountOneDrive.sh
#!/bin/bash
# one-liner to mount OneDrive so I don't have to make an alias
rclone --vfs-cache-mode writes mount "onedrive": ~/OneDrive &
@kevinlipe
kevinlipe / .conkyrc
Last active December 20, 2022 17:49
conky.config = {
-- conky configuration
--#############################################
-- Settings
--#############################################
background = true,
use_xft = true,
-- Xft font when Xft is enabled
font = 'Hack:size=9',

Keybase proof

I hereby claim:

  • I am kevinlipe on github.
  • I am klipe (https://keybase.io/klipe) on keybase.
  • I have a public key whose fingerprint is 8839 FBC2 C821 BE5B E781 6836 E651 039D 46F7 72AB

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am epilnivek on github.
  • I am klipe (https://keybase.io/klipe) on keybase.
  • I have a public key whose fingerprint is 8839 FBC2 C821 BE5B E781 6836 E651 039D 46F7 72AB

To claim this, I am signing this object:

@kevinlipe
kevinlipe / notes.md
Last active January 10, 2017 21:55 — forked from maxjacobson/notes.md

Notes On A Writing Device

Here’s a brain dump of something Stephen Hackett and I were talking about yesterday. This is an idea I’ve had (and researched pretty thoroughly) since freshman year in the dorm: the ultimate tool for writing text. A “real” computer is overkill, and an iOS device, with its color LCD screen and multitude of apps, isn’t ideally suited to be a tool for writing text. What is needed is something closer to the Kindle: a (mostly) single-purpose, self-contained device with an always-on wireless connection (whether that’s through 3G like Whispernet or through WiFi) in which every facet of the design of the hardware and software is geared toward one thing: being an efficient tool for translating ideas into words. Essentially this device would be the translation of an application like Byword or TextMate into hardware.

The Hardware

The hardware would be a cross between an Alphasmart Neo and a Kindle (other antecedents include the Information Appliance Swyft and the TRS-80 Model 100: blac

@kevinlipe
kevinlipe / ytsnatch
Last active January 10, 2017 21:54
ytsnatch
#!/bin/sh
# ytsnatch, a wrapper around youtube-dl, from TJ Luoma (http://luo.ma)
# this used to have a FOR loop that wrapped youtube-dl and iterated over formats.
youtube-dl -f bestvideo+bestaudio/best --restrict-filenames --no-overwrites \
-o "~/Downloads/%(title)s-%(id)s.%(ext)s" "$@" && FOUND=yes # to use with burninator.scpt, this path has to be hard-coded.
@kevinlipe
kevinlipe / Pinboard traceroute 2013-02-28
Created February 28, 2013 18:49
Pinboard traceroute 2013-02-28
traceroute to pinboard.in (71.19.151.30), 64 hops max, 52 byte packets
1 10.111.20.1 (10.111.20.1) 3.676 ms 0.708 ms 0.732 ms
2 75-145-12-230-memphis.hfc.comcastbusiness.net (75.145.12.230) 2.777 ms 1.682 ms 2.468 ms
3 96.120.32.49 (96.120.32.49) 8.454 ms 10.338 ms 6.765 ms
4 te-9-2-ur01.poplarave.tn.malt.comcast.net (68.85.203.153) 7.834 ms 7.646 ms 9.275 ms
5 te-0-0-0-10-ar02.dannythomas.tn.malt.comcast.net (68.86.240.1) 13.134 ms 29.536 ms 11.694 ms
6 pos-3-2-0-0-cr01.dallas.tx.ibone.comcast.net (68.86.93.97) 21.615 ms 23.254 ms 19.607 ms
7 pos-0-6-0-0-pe01.1950stemmons.tx.ibone.comcast.net (68.86.85.34) 27.743 ms 21.713 ms 20.843 ms
8 as174-pe01.1950stemmons.tx.ibone.comcast.net (75.149.230.150) 19.114 ms 19.357 ms 18.858 ms
9 te0-3-0-4.ccr21.dfw01.atlas.cogentco.com (154.54.82.17) 20.380 ms
@kevinlipe
kevinlipe / gist:4739909
Created February 8, 2013 15:58
Pinboard traceroute 2013-02-08
1 10.111.12.1 (10.111.12.1) 3.859 ms 1.141 ms 1.092 ms
2 75-145-12-230-memphis.hfc.comcastbusiness.net (75.145.12.230) 1.939 ms 1.815 ms 1.700 ms
3 96.120.32.49 (96.120.32.49) 7.312 ms 7.715 ms 7.789 ms
4 te-9-2-ur01.poplarave.tn.malt.comcast.net (68.85.203.153) 15.907 ms 8.317 ms 8.216 ms
5 te-0-0-0-10-ar02.dannythomas.tn.malt.comcast.net (68.86.240.1) 11.664 ms 22.981 ms 12.544 ms
6 pos-3-2-0-0-cr01.dallas.tx.ibone.comcast.net (68.86.93.97) 18.869 ms 18.982 ms 24.584 ms
7 pos-0-6-0-0-pe01.1950stemmons.tx.ibone.comcast.net (68.86.85.34) 22.404 ms 19.114 ms 19.864 ms
8 as174-pe01.1950stemmons.tx.ibone.comcast.net (75.149.230.150) 18.651 ms 17.324 ms 18.513 ms
9 te0-2-0-3.ccr21.dfw01.atlas.cogentco.com (154.54.6.93) 18.553 ms
te0-4-0-4.ccr21.dfw01.atlas.cogentco.com (154.54.88.78) 17.549 ms
@kevinlipe
kevinlipe / yt.sh
Created December 29, 2011 16:04
youtube-dl wrapper
#!/bin/sh
# wrapper around youtube-dl, from TJ Luoma (http://luo.ma)
FOUND=no
# these are the mp4 formats that YouTube supports, starting with the highest resolution
for FORMAT in 38 37 22 18 17
do
echo "$NAME: Trying $FORMAT ..."