Skip to content

Instantly share code, notes, and snippets.

View atiensivu's full-sized avatar
🏠
Working from home

Aaron Tiensivu atiensivu

🏠
Working from home
View GitHub Profile
@atiensivu
atiensivu / Consolas-install.sh
Last active February 5, 2018 21:29
Consolas Font script for Linux downloader and installer
# Requires: wget cabextract
# Assumes license has been agreed to
# Slight variation from https://geek.co.il/2011/10/22/installing-consolas-truetype-font-for-linux
#!/bin/sh
set -e
set -x
mkdir -p ~/Downloads/fonttemp
cd ~/Downloads/fonttemp
@atiensivu
atiensivu / GnomeShellExtensions
Created September 11, 2017 20:13
Gnome Tweak Tool - enable user themes - No such schema “org.gnome.shell.extensions.user-theme”
sudo cp $HOME/.local/share/gnome-shell/extensions/user-theme@gnome-shell-extensions.gcampax.github.com/schemas/org.gnome.shell.extensions.user-theme.gschema.xml /usr/share/glib-2.0/schemas && sudo glib-compile-schemas /usr/share/glib-2.0/schemas
# One liner fix that shouldn't be necessary
@atiensivu
atiensivu / EdgarBuildNotes.txt
Created September 10, 2017 03:57
Dual boot Ubuntu 17.10 alpha on Chromebook 14 (EDGAR) 4GB model (CB3-431-C5FM)
# A roundabout way to get Ubuntu Artful alpha (17.10) on EDGAR (Acer Chromebook 14 4GB version - CB3-431-C5FM)
# Install missing 'legacy' BIOS piece to enable Ctrl-L on boot:
cd; curl -LOk https://mrchromebox.tech/firmware-util.sh && sudo bash firmware-util.sh
# Install Galliumos (nightly - as of 09/09/2017)
# https://wiki.galliumos.org/Installing
cd; curl -LOk https://chrx.org/go && sh go -d galliumos -e desktop -r nightly -v
@atiensivu
atiensivu / tvheadend-git
Created September 10, 2017 02:44
tvheadend-git-master-pine64
# Compiling libtheora for master branch of tvheadend for Pine64 under Debian Stretch (DietPi)
# Missing working autoconf defaults for some reason
cd ~/Downloads/tvheadend/build.linux/ffmpeg/libtheora-1.1.1
mv config.guess config.guess.bad
mv config.sub config.sub.bad
cp /usr/share/misc/config.guess .
cp /usr/share/misc/config.sub .
@atiensivu
atiensivu / sshclientconfig
Last active September 10, 2017 03:55
OpenSSH client - "better" default cipher orders while still compatible
# Mostly based on https://wiki.mozilla.org/Security/Guidelines/OpenSSH#Modern
Host *
ServerAliveInterval 60
# Ensure KnownHosts are unreadable if leaked - it is otherwise easier to know which hosts your keys have access to.
HashKnownHosts yes
# Host keys the client accepts - order here is honored by OpenSSH - not sure about DropBear
@atiensivu
atiensivu / .bash_profile
Created September 1, 2017 17:52
.bashrc and .bash_profile from MacOS 10.13 Beta (17A358a) with Brew and MacPorts with coreutils and dircolors enabled
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export MANPATH=/opt/local/share/man:$MANPATH
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
source ~/.bashrc

Keybase proof

I hereby claim:

  • I am atiensivu on github.
  • I am atiensivu (https://keybase.io/atiensivu) on keybase.
  • I have a public key whose fingerprint is 88CF BF74 6523 DD53 5646 693A 5B45 C254 CBE1 BC7A

To claim this, I am signing this object: