This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sp="/-\|" | |
sc=0 | |
spin() { | |
printf "\b${sp:sc++:1}" | |
((sc==${#sp})) && sc=0 | |
} | |
endspin() { | |
printf "\r%s\n" "$@" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adobe-source-code-pro-fonts | |
adobe-source-sans-pro-fonts \ | |
adobe-source-serif-pro-fonts \ | |
otf-texgyre \ | |
ttf-chromeos-fonts \ | |
ttf-clear-sans \ | |
ttf-liberation \ | |
ttf-linux-libertine \ | |
ttf-noto \ | |
ttf-roboto \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# increase volume | |
"pamixer --increase 5" | |
XF86AudioRaiseVolume | |
# decrease volume | |
"pamixer --decrease 5" | |
XF86AudioLowerVolume | |
# screenshot Bash script lifted from Manjaro-i3 | |
"i3-scrot" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!Xft.antialias: true | |
!Xft.hinting: true | |
!Xft.hintstyle: hintfull | |
!Xft.rgba: rgb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# # | |
# Fedora SpaceOS # | |
# # | |
git config --global user.name "Gazaunga" | |
git config --global user.email "jeremy.ottley@gmail.com" | |
git config --global core.autocrlf input | |
git config --global core.safecrlf true | |
cd ~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo dnf group install "Legacy Fonts" | |
sudo dnf -y install overpass-fonts fontawesome-fonts fontforge | |
# Apple Fonts | |
cd ~/.local/share/fonts | |
wget https://github.com/supermarin/YosemiteSanFranciscoFont/archive/master.zip | |
unzip master -d ~/.local/share/fonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global user.name "Gazaunga" | |
git config --global user.email "jeremy.ottley@gmail.com" | |
git config --global core.autocrlf input | |
git config --global core.safecrlf true | |
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d | |
wget https://raw.githubusercontent.com/Gazaunga/SpaceOS/master/.spacemacs | |
sudo dnf -y update | |
sudo dnf -y install xorg-x11-apps | |
sudo dnf copr enable rabiny/albert | |
sudo dnf -y install albert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Basic Fedora Setup | |
sudo dnf -y update | |
sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm | |
sudo rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm | |
sudo dnf group install "C Development Tools and Libraries" | |
sudo dnf group install "base-x" | |
sudo dnf group install "Legacy Fonts" |
OlderNewer