https://fonts.google.com/?selection.family=Open+Sans
cd /usr/share/fonts
sudo mkdir googlefonts
cd googlefonts
sudo unzip -d . ~/Downloads/Open_Sans.zip
// ==UserScript== | |
// @author Sycam Inc (origionally Alvaro) | |
// @name Enhanced Steam Workshop Downloader | |
// @description Adds an extra button to download, supports collections and new workshop layout | |
// @include *steamcommunity.com/sharedfiles/filedetails/?id=* | |
// @include *steamcommunity.com/workshop/filedetails/?id=* | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js | |
// @grant GM_xmlhttpRequest | |
// @version 2.1 | |
// @license MIT |
/** | |
* Leporidae.org Sidebar Code | |
* © KharmaScribbles ||~2018 | |
*/ | |
background: #df80ff; | |
background: linear-gradient(#df80ff, #ccccff, #ff0066); | |
min-height: 100%; |
#!/bin/bash | |
# gnome and chrome and chrome remote desktop access | |
# chrome itself is not required, but is included here. | |
# other desktops can be used w/ light script changes. | |
# tested on: | |
# - ubuntu xenial GCE instance | |
# - debian stretch crostini container on a Pixelbook (eve) | |
# running ChromeOS v67.0.3383.0 (dev channel) | |
# _without_ being in developer mode |
## | |
# This is an adoption from Oh My Zsh for Google Cloud Shell | |
# author - bobvanluijt | |
# source - https://github.com/bobvanluijt/google-cloud-shell-pro-zsh | |
## | |
main() { | |
# Install zsh | |
sudo apt-get -qq update |
#!/bin/bash -e | |
# Select which Docker version to use on CoreOS with torcx. | |
# Specify the available Docker version to enable. | |
version=17.09 | |
# Create modifiable torcx paths if they don't exist already. | |
mkdir -p /etc/torcx/profiles /var/lib/torcx/store | |
# Download the torcx manifest file for the currently running OS version. |
mkdir $HOME/.terminfo/ && \ | |
screen_terminfo="screen-256color" && \ | |
infocmp "$screen_terminfo" | sed \ | |
-e 's/^screen[^|]*|[^,]*,/screen-256color|screen with italics support,/' \ | |
-e 's/%?%p1%t;3%/%?%p1%t;7%/' \ | |
-e 's/smso=[^,]*,/smso=\\E[7m,/' \ | |
-e 's/rmso=[^,]*,/rmso=\\E[27m,/' \ | |
-e '$s/$/ sitm=\\E[3m, ritm=\\E[23m,/' > /tmp/screen.terminfo && \ | |
tic /tmp/screen.terminfo && \ | |
echo set -g default-terminal "screen-256color" | tee -a ~/.tmux.conf |
They're just variables you set on your system that various programs/processes can read. A fairly standard example in javascript circles would be setting your NODE_ENV
variable to "production" or "development", altering how node code is executed on your system (for example showing more debug messaging when in development).
With most shells there's a way to set them for the current session, and a way to set them for all sessions. The following is meant to be a guide on how to set env vars in the various shells.
Setting for the session:
$!/usr/bin/env sh | |
branch=`git symbolic-ref --short HEAD` | |
git checkout master | |
commits=`git log --pretty="%H" --reverse -- $*` | |
git checkout $branch | |
for commit in $commits; do | |
git cherry-pick $commit | |
done |