GitHub deploy at 07/07/2016.

This commit is contained in:
Jake Howard 2016-07-07 17:38:01 +01:00
parent ef1b92c3df
commit 47a989a963
Signed by: jake
GPG key ID: 57AFB45680EDD477
17 changed files with 159 additions and 99 deletions

View file

@ -2,13 +2,4 @@
Settings and Preferences for transfer between machines Settings and Preferences for transfer between machines
## Usage ## Usage
Simple: Inside every directory is a file called `export.*`. Simply run this file from inside the directory, and it'll do the rest!
1. run `sudo ./INSTALL_ALL_THE_THINGS`
2. Sit back
3. Wait
4. Wait some more
5. Fix any errors that come up
6. Wait some more
7. Install any extra packages manually
7. Enjoy computer!

0
apt/add-apt-sources.sh Executable file → Normal file
View file

0
apt/custom-installs.sh Executable file → Normal file
View file

0
apt/export.py Executable file → Normal file
View file

View file

@ -1 +1,8 @@
# Atom Sync-Settings # Atom Sync-Settings
Settings for atom are now stored in the gist at [https://gist.github.com/RealOrangeOne/9f9a4dd799ad01aa0502a09f06cbf454/](https://gist.github.com/RealOrangeOne/9f9a4dd799ad01aa0502a09f06cbf454/) and synced using [this plugin](https://atom.io/packages/sync-settings).
This makes syncing them between machines far easier than my old implementation of Owncloud sync and symlinks!
#### There's a lot of revisions on this gist!
Unfortunately, this setup also stores the version number of the plugins, which means that a revision has to be made every time a package needs to be updated. It does kindof annoy me with all the spam, but at least it's not really obvious, and I'm sure there's a way of cleaning it up!

View file

@ -9,15 +9,15 @@
}, },
{ {
"name": "about", "name": "about",
"version": "1.4.2" "version": "1.5.0"
}, },
{ {
"name": "activate-power-mode", "name": "activate-power-mode",
"version": "0.5.2" "version": "0.7.0"
}, },
{ {
"name": "aesthetic-ui", "name": "aesthetic-ui",
"version": "1.0.1", "version": "2.0.0",
"theme": "ui" "theme": "ui"
}, },
{ {
@ -28,6 +28,10 @@
"name": "atom-alignment", "name": "atom-alignment",
"version": "0.12.1" "version": "0.12.1"
}, },
{
"name": "atom-beautify",
"version": "0.29.9"
},
{ {
"name": "atom-dark-syntax", "name": "atom-dark-syntax",
"version": "0.27.0", "version": "0.27.0",
@ -44,7 +48,7 @@
}, },
{ {
"name": "atom-html-preview", "name": "atom-html-preview",
"version": "0.1.19" "version": "0.1.21"
}, },
{ {
"name": "atom-light-syntax", "name": "atom-light-syntax",
@ -58,16 +62,20 @@
}, },
{ {
"name": "atom-material-ui", "name": "atom-material-ui",
"version": "1.2.11", "version": "1.2.13",
"theme": "ui" "theme": "ui"
}, },
{
"name": "atom-react-native-autocomplete",
"version": "0.0.27"
},
{ {
"name": "autocomplete-atom-api", "name": "autocomplete-atom-api",
"version": "0.10.0" "version": "0.10.0"
}, },
{ {
"name": "autocomplete-css", "name": "autocomplete-css",
"version": "0.11.0" "version": "0.11.1"
}, },
{ {
"name": "autocomplete-html", "name": "autocomplete-html",
@ -75,7 +83,7 @@
}, },
{ {
"name": "autocomplete-plus", "name": "autocomplete-plus",
"version": "2.29.1" "version": "2.29.2"
}, },
{ {
"name": "autocomplete-snippets", "name": "autocomplete-snippets",
@ -105,11 +113,11 @@
}, },
{ {
"name": "bookmarks", "name": "bookmarks",
"version": "0.38.2" "version": "0.39.0"
}, },
{ {
"name": "bracket-matcher", "name": "bracket-matcher",
"version": "0.81.0" "version": "0.82.0"
}, },
{ {
"name": "change-case", "name": "change-case",
@ -117,7 +125,7 @@
}, },
{ {
"name": "color-picker", "name": "color-picker",
"version": "2.1.1" "version": "2.2.1"
}, },
{ {
"name": "command-palette", "name": "command-palette",
@ -141,7 +149,7 @@
}, },
{ {
"name": "file-icons", "name": "file-icons",
"version": "1.7.9" "version": "1.7.16"
}, },
{ {
"name": "find-and-replace", "name": "find-and-replace",
@ -177,7 +185,7 @@
}, },
{ {
"name": "incompatible-packages", "name": "incompatible-packages",
"version": "0.25.1" "version": "0.26.1"
}, },
{ {
"name": "keybinding-cheatsheet", "name": "keybinding-cheatsheet",
@ -189,11 +197,11 @@
}, },
{ {
"name": "language-babel", "name": "language-babel",
"version": "2.19.4" "version": "2.30.1"
}, },
{ {
"name": "language-c", "name": "language-c",
"version": "0.51.1" "version": "0.51.3"
}, },
{ {
"name": "language-clojure", "name": "language-clojure",
@ -205,11 +213,11 @@
}, },
{ {
"name": "language-csharp", "name": "language-csharp",
"version": "0.12.0" "version": "0.12.1"
}, },
{ {
"name": "language-css", "name": "language-css",
"version": "0.36.0" "version": "0.36.1"
}, },
{ {
"name": "language-gfm", "name": "language-gfm",
@ -239,17 +247,21 @@
"name": "language-javascript", "name": "language-javascript",
"version": "0.110.0" "version": "0.110.0"
}, },
{
"name": "language-javascript-jsx",
"version": "0.3.7"
},
{ {
"name": "language-json", "name": "language-json",
"version": "0.17.6" "version": "0.18.0"
}, },
{ {
"name": "language-less", "name": "language-less",
"version": "0.29.0" "version": "0.29.3"
}, },
{ {
"name": "language-make", "name": "language-make",
"version": "0.21.0" "version": "0.21.1"
}, },
{ {
"name": "language-mustache", "name": "language-mustache",
@ -261,7 +273,7 @@
}, },
{ {
"name": "language-perl", "name": "language-perl",
"version": "0.32.0" "version": "0.34.0"
}, },
{ {
"name": "language-php", "name": "language-php",
@ -273,11 +285,11 @@
}, },
{ {
"name": "language-python", "name": "language-python",
"version": "0.43.0" "version": "0.43.1"
}, },
{ {
"name": "language-ruby", "name": "language-ruby",
"version": "0.68.3" "version": "0.68.5"
}, },
{ {
"name": "language-ruby-on-rails", "name": "language-ruby-on-rails",
@ -289,7 +301,7 @@
}, },
{ {
"name": "language-shellscript", "name": "language-shellscript",
"version": "0.21.0" "version": "0.21.1"
}, },
{ {
"name": "language-source", "name": "language-source",
@ -317,7 +329,7 @@
}, },
{ {
"name": "language-yaml", "name": "language-yaml",
"version": "0.25.1" "version": "0.25.2"
}, },
{ {
"name": "lcov-info", "name": "lcov-info",
@ -325,7 +337,7 @@
}, },
{ {
"name": "line-ending-selector", "name": "line-ending-selector",
"version": "0.3.1" "version": "0.4.1"
}, },
{ {
"name": "link", "name": "link",
@ -333,15 +345,15 @@
}, },
{ {
"name": "linter", "name": "linter",
"version": "1.11.4" "version": "1.11.14"
}, },
{ {
"name": "linter-eslint", "name": "linter-eslint",
"version": "7.2.2" "version": "7.2.4"
}, },
{ {
"name": "linter-flake8", "name": "linter-flake8",
"version": "1.13.0" "version": "1.13.2"
}, },
{ {
"name": "markdown-preview", "name": "markdown-preview",
@ -353,11 +365,11 @@
}, },
{ {
"name": "merge-conflicts", "name": "merge-conflicts",
"version": "1.4.2" "version": "1.4.4"
}, },
{ {
"name": "minimap", "name": "minimap",
"version": "4.23.5" "version": "4.24.7"
}, },
{ {
"name": "minimap-highlight-selected", "name": "minimap-highlight-selected",
@ -387,7 +399,7 @@
}, },
{ {
"name": "one-dark-ui", "name": "one-dark-ui",
"version": "1.2.0", "version": "1.3.1",
"theme": "ui" "theme": "ui"
}, },
{ {
@ -397,7 +409,7 @@
}, },
{ {
"name": "one-light-ui", "name": "one-light-ui",
"version": "1.2.0", "version": "1.3.1",
"theme": "ui" "theme": "ui"
}, },
{ {
@ -422,7 +434,7 @@
}, },
{ {
"name": "pigments", "name": "pigments",
"version": "0.26.2" "version": "0.31.0"
}, },
{ {
"name": "project-manager", "name": "project-manager",
@ -432,9 +444,27 @@
"name": "react", "name": "react",
"version": "0.15.0" "version": "0.15.0"
}, },
{
"name": "redmond-syntax",
"version": "0.2.18",
"theme": "syntax"
},
{
"name": "redmond-ui",
"version": "0.1.5",
"theme": "ui"
},
{
"name": "rest-client",
"version": "1.2.0"
},
{ {
"name": "script", "name": "script",
"version": "3.7.1" "version": "3.8.1"
},
{
"name": "set-syntax",
"version": "0.3.0"
}, },
{ {
"name": "settings-view", "name": "settings-view",
@ -442,25 +472,25 @@
}, },
{ {
"name": "snippets", "name": "snippets",
"version": "1.0.1" "version": "1.0.2"
}, },
{ {
"name": "solarized-dark-syntax", "name": "solarized-dark-syntax",
"version": "1.0.0", "version": "1.0.2",
"theme": "syntax" "theme": "syntax"
}, },
{ {
"name": "solarized-light-syntax", "name": "solarized-light-syntax",
"version": "1.0.0", "version": "1.0.2",
"theme": "syntax" "theme": "syntax"
}, },
{ {
"name": "spell-check", "name": "spell-check",
"version": "0.67.0" "version": "0.67.1"
}, },
{ {
"name": "status-bar", "name": "status-bar",
"version": "1.1.2" "version": "1.2.3"
}, },
{ {
"name": "styleguide", "name": "styleguide",
@ -480,7 +510,7 @@
}, },
{ {
"name": "tabs", "name": "tabs",
"version": "0.92.0" "version": "0.96.0"
}, },
{ {
"name": "timecop", "name": "timecop",
@ -490,6 +520,10 @@
"name": "todo-show", "name": "todo-show",
"version": "1.6.0" "version": "1.6.0"
}, },
{
"name": "toggle-quotes",
"version": "1.0.0"
},
{ {
"name": "trailing-spaces", "name": "trailing-spaces",
"version": "0.3.2" "version": "0.3.2"

View file

@ -2,6 +2,11 @@
"activate-power-mode": { "activate-power-mode": {
"autoToggle": false "autoToggle": false
}, },
"atom-beautify": {
"general": {
"_analyticsUserId": "3e7a84e3-1c7f-49a9-8c68-1b1e030cf498"
}
},
"color-picker": { "color-picker": {
"abbreviateValues": true, "abbreviateValues": true,
"preferredFormat": "HEX", "preferredFormat": "HEX",
@ -10,6 +15,7 @@
"core": { "core": {
"autoHideMenuBar": true, "autoHideMenuBar": true,
"closeEmptyWindows": false, "closeEmptyWindows": false,
"excludeVcsIgnoredPaths": false,
"openEmptyEditorOnStart": false, "openEmptyEditorOnStart": false,
"packagesWithKeymapsDisabled": [ "packagesWithKeymapsDisabled": [
"merge-conflicts", "merge-conflicts",
@ -41,6 +47,9 @@
"file-watcher": { "file-watcher": {
"promptWhenFileHasChangedOnDisk": false "promptWhenFileHasChangedOnDisk": false
}, },
"fonts": {
"fontFamily": "Roboto Mono"
},
"glowing-cursor": { "glowing-cursor": {
"glowColor": { "glowColor": {
"red": 255, "red": 255,
@ -56,7 +65,7 @@
} }
}, },
"linter": { "linter": {
"errorPanelHeight": 27 "errorPanelHeight": 26
}, },
"linter-eslint": { "linter-eslint": {
"disableWhenNoEslintConfig": false, "disableWhenNoEslintConfig": false,

View file

@ -6,10 +6,8 @@ esac
# don't put duplicate lines or lines starting with space in the history. # don't put duplicate lines or lines starting with space in the history.
HISTCONTROL=ignoreboth HISTCONTROL=ignoreboth
# append to the history file, don't overwrite it # append to the history file, don't overwrite it
shopt -s histappend shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1) # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=1000 HISTSIZE=1000
HISTFILESIZE=2000 HISTFILESIZE=2000
@ -24,28 +22,8 @@ if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
debian_chroot=$(cat /etc/debian_chroot) debian_chroot=$(cat /etc/debian_chroot)
fi fi
# set a fancy prompt (non-color, unless we know we "want" color)
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
esac
force_color_prompt=yes
if [ -n "$force_color_prompt" ]; then
if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
color_prompt=yes
else
color_prompt=
fi
fi
# Set prompt # Set prompt
if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
fi
unset color_prompt force_color_prompt
# If this is an xterm set the title to user@host:dir # If this is an xterm set the title to user@host:dir
case "$TERM" in case "$TERM" in
@ -60,9 +38,8 @@ esac
if [ -x /usr/bin/dircolors ]; then if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto' alias ls='ls --color=auto'
#alias dir='dir --color=auto' alias dir='dir --color=auto'
#alias vdir='vdir --color=auto' alias vdir='vdir --color=auto'
alias grep='grep --color=auto' alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto' alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto' alias egrep='egrep --color=auto'
@ -79,9 +56,7 @@ alias l='ls -CF'
# Add an "alert" alias for long running commands # Add an "alert" alias for long running commands
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
# enable programmable completion features (you don't need to enable # enable programmable completion features (you don't need to enable this, if it's already enabled in /etc/bash.bashrc and /etc/profile sources /etc/bash.bashrc).
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if ! shopt -oq posix; then if ! shopt -oq posix; then
if [ -f /usr/share/bash-completion/bash_completion ]; then if [ -f /usr/share/bash-completion/bash_completion ]; then
. /usr/share/bash-completion/bash_completion . /usr/share/bash-completion/bash_completion
@ -90,31 +65,31 @@ if ! shopt -oq posix; then
fi fi
fi fi
# load nvm
# Load Programs
export NVM_DIR="/home/jake/.nvm" export NVM_DIR="/home/jake/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # Load on ubuntu [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # Load on ubuntu
# load thefuck
eval $(thefuck --alias) eval $(thefuck --alias)
# Export some variables # Export some variables
export ANDROID_HOME=/opt/android-sdk export ANDROID_HOME=/opt/android-sdk
# Extend PATH
# Export PATH export PATH=${PATH}:${ANDROID_HOME}/tools
export PATH=${PATH}:/opt/android-sdk/tools export PATH=${PATH}:${ANDROID_HOME}/platform-tools
export PATH=${PATH}:/opt/android-sdk/platform-tools
export PATH=${PATH}:/opt/genymobile/genymotion export PATH=${PATH}:/opt/genymobile/genymotion
PATH=~/.bin:$PATH # Add part of home to path export PATH=~/.bin:${PATH}
# Platform Specific # Export Java home on ubuntu
if [ -f "$(command -v lsb_release)" ]; then # if on ubuntu if [ -f "$(command -v lsb_release)" ]; then
JAVA_HOME=/usr/local/java/jdk1.8.0_73 JAVA_HOME=/usr/local/java/jdk1.8.0_73
export PATH=$PATH:$JAVA_HOME/bin export PATH=${PATH}:$JAVA_HOME/bin
fi fi
# JS aliases # npm aliases
alias ni="npm install" alias ni="npm install"
alias ns="npm start" alias ns="npm start"
alias nt="npm test" alias nt="npm test"
@ -137,10 +112,14 @@ nr() {
done done
} }
# react-native alias nrc="npm run coverage"
alias nrm="npm run mocha"
alias nvmu="nvm use"
# React extras
export REACT_EDITOR=atom export REACT_EDITOR=atom
alias rnl="adb logcat | grep ReactNative" alias rnl="adb logcat | grep ReactNative"
alias nvmu="nvm use"
# catfish aliases # catfish aliases
ctp() { ctp() {
@ -152,6 +131,8 @@ ctp() {
command ctf project run runtests ${@:2} command ctf project run runtests ${@:2}
elif [[ $1 == "migrate" ]]; then elif [[ $1 == "migrate" ]]; then
command ctf project run manage.py migrate command ctf project run manage.py migrate
elif [[ $1 == "makemigrations" ]]; then
command ctf project run manage.py makemigrations
else else
command ctf project $@ command ctf project $@
fi fi
@ -159,14 +140,33 @@ ctp() {
alias ctfs="cd ~/catfish && ./start && cd - > /dev/null" alias ctfs="cd ~/catfish && ./start && cd - > /dev/null"
# bash aliases # bash aliases
alias src="source ~/.bashrc" alias src="source ~/.bashrc"
export EDITOR=/usr/bin/nano alias refresh="cd $PWD > /dev/null"
alias refresh="cd - > /dev/null && cd - > /dev/null" alias c="clear"
export EDITOR=/bin/nano
# git aliases # git aliases
alias gs="git status" alias gs="git status"
alias gd="git diff" alias gd="git diff"
gh() {
command git clone git@github.com:${1}/${2} # My bash isnt great...
}
# Gnome
gd-lock() {
sessionid=`/bin/loginctl list-sessions | grep jake | awk '{print $1}'`
/bin/loginctl lock-session $sessionid
}
gd-unlock() {
sessionid=`/bin/loginctl list-sessions | grep jake | awk '{print $1}'`
/bin/loginctl unlock-session $sessionid
}
alias gdl="gd-lock"
alias gdu="gd-unlock"
# miscellaneous software aliases # miscellaneous software aliases
alias y="yoga" alias y="yoga"

0
bash/export.sh Executable file → Normal file
View file

0
config/export.sh Executable file → Normal file
View file

1
deploy.sh Executable file → Normal file
View file

@ -22,7 +22,6 @@ git clone --depth=1 git@gist.github.com:9f9a4dd799ad01aa0502a09f06cbf454.git ato
rm -rf atom/.git rm -rf atom/.git
mv atom/Atom\ Settings.md atom/README.md mv atom/Atom\ Settings.md atom/README.md
echo ">> Saving changes..." echo ">> Saving changes..."
git config user.name "Jake Howard" git config user.name "Jake Howard"
git config user.email "git@theorangeone.net" git config user.email "git@theorangeone.net"

View file

@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
</body>
</html>

View file

@ -0,0 +1 @@
#!/usr/bin/env node

View file

@ -0,0 +1 @@
#!/usr/bin/env python3

9
gnome/export.sh Normal file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
echo "Exporting Templates"
rm -rf ~/Templates/*
ln -sfP ~/.dotfiles/gnome/Templates/* ~/Templates/

0
yaourt/export.py Executable file → Normal file
View file