Skip to content

Instantly share code, notes, and snippets.

View roberthchan's full-sized avatar
🎯
Focusing

Roberto Chan roberthchan

🎯
Focusing
View GitHub Profile
@idleberg
idleberg / fish_shell.md
Last active June 11, 2024 00:49
Instructions on how to install Fish shell on Mac OS X, including Oh My Fish!. Also includes several useful functions.

Installation

  1. Install fish via Brew
  2. Optionally install Oh My Fish!
  3. Add fish to known shells
  4. Set default shell to fish
brew install fish  
curl -L https://get.oh-my.fish | fish
@aidanharris
aidanharris / Install_Awesome_On_Raspberry_Pi.sh
Created February 1, 2016 05:12
Install Awesome on Raspberry Pi
#!/bin/bash
#I needed a lightweight GUI for the raspberry pi that A) Didn't have a dependancy on the entire Internet and B) Uses low resources but is still pretty powerful. The awesome window manager fits the bill nicecly allowing for me to tile windows in various different ways.
#Awesome needs an X11 Server in order to start so install this as follows:
sudo apt-get install -y xinit #xinit has xserver-xorg and other packages under the "Recommends" section (you can see them with apt-cache show xinit) that *SHOULD* hopefully pull in all of the dependancies Awesome needs.
#Awesome can be installed as follows:
sudo apt-get install -y awesome
#To start awesome simply run `startx` and then `awesome`. E.g:
startx & awesome
@pauliusef
pauliusef / gist:c7bcc96481fb3113cc78ae1246901e6f
Created August 15, 2017 09:16
Select every second line in Sublime
Search for : (.*(\n|$)){2}
alt+R - to toggle regular expression search
alt+ENTER - to select all results