Skip to content

Instantly share code, notes, and snippets.

View hypersymmetry's full-sized avatar

Brandon Lawrence hypersymmetry

View GitHub Profile

Keybase proof

I hereby claim:

  • I am hypersymmetry on github.
  • I am hypersymmetry (https://keybase.io/hypersymmetry) on keybase.
  • I have a public key whose fingerprint is C5DA DC10 75EF DD70 E799 2BF1 3D0C F697 4354 B426

To claim this, I am signing this object:

@hypersymmetry
hypersymmetry / atom-update.sh
Created November 18, 2016 16:29
Automatically update Atom editor
#!/bin/bash
# Updates the Atom to the latest version
# http://askubuntu.com/questions/589469/how-to-automatically-update-atom-editor
wget -q https://github.com/atom/atom/releases/latest -O /tmp/latest
version=`cat /tmp/latest | grep -o -E 'href="([^"#]+)atom-amd64.deb"' | cut -d'"' -f2 | sort | uniq | cut -d"/" -f6`
echo "Latest version for atom is: $version"
echo "Downloading version $version"
curl -L 'https://github.com'$(cat /tmp/latest | grep -o -E 'href="([^"#]+)atom-amd64.deb"' | cut -d'"' -f2 | sort | uniq) -o /tmp/atom-amd64.deb -#
#!/bin/sh
# https://charukiewi.cz/posts/chromebook-pixel/
sudo sh ~/Downloads/crouton -t core,xiwi,keyboard,x11,cli-extra,extension,audio -r trusty
# chroot stuff
sudo apt-get install software-properties-common python-software-properties \
@hypersymmetry
hypersymmetry / .gitconfig
Last active November 17, 2016 00:03
Config files
[core]
editor = nano
pager = # Don't pipe output to less
[user]
name = Brandon Lawrence
email = bmlawrence@protonmail.ch
[push]
default = simple
[alias]
a = add -A