...
 
Commits (16)
......@@ -8,7 +8,7 @@ function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
m_header "Install 3D-printing Environment"
CURA="Cura-3.3.1.AppImage"
CURA="Cura-3.4.1.AppImage"
wget -O ~/Downloads/$CURA "http://software.ultimaker.com/current/$CURA"
m_success "Downloaded $CURA"
......
#!/usr/bin/env bash
# Logging stuff.
function m_header() { echo -e "\n\033[1m$@\033[0m"; }
function m_success() { echo -e " \033[1;32m✔\033[0m $@"; }
function m_error() { echo -e " \033[1;31m✖\033[0m $@"; }
function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
m_header "Install docker.io environment"
sudo apt-get update
sudo apt-get install apparmor linux-image-extra-$(uname -r)
wget -O- https://get.docker.com/ | sh
m_success "Installed docker"
sudo ln -sf /usr/bin/docker.io /usr/local/bin/docker
m_success "Symlinked docker.io -> docker"
sudo usermod -a -G docker christoph
m_success "Added christoph to group docker"
wget -O ~/bin/docker-compose https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -p`
chmod +x ~/bin/docker-compose
m_success "Installed docker-compose"
m_success "Successfully installed docker Environment"
......@@ -12,21 +12,19 @@ m_header "Install Gaming Environment"
m_header "Install TS3"
cd /opt/
sudo wget http://dl.4players.de/ts/releases/3.1.4/TeamSpeak3-Client-linux_amd64-3.1.4.run
sudo chmod +x TeamSpeak3-Client-linux_amd64-3.1.4.run
sudo ./TeamSpeak3-Client-linux_amd64-3.1.4.run
sudo wget http://dl.4players.de/ts/releases/3.5.1/TeamSpeak3-Client-linux_amd64-3.5.1.run
sudo chmod +x TeamSpeak3-Client-linux_amd64-3.5.1.run
sudo ./TeamSpeak3-Client-linux_amd64-3.5.1.run
sudo mv TeamSpeak3-Client-linux_amd64/ ts3/
sudo chown -R christoph:christoph ts3/
sudo chmod -R 775 ts3/
sudo rm TeamSpeak3-Client-linux_amd64-3.1.4.run
sudo rm TeamSpeak3-Client-linux_amd64-3.5.1.run
cd ~/bin/
ln -s /opt/ts3/ts3client_runscript.sh ts3
m_success "Installed TS3 Client"
m_header "Install Steam"
cd /tmp
wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb
sudo dpkg -i ./steam_latest.deb
sudo apt-get install steam
m_success "Installed Steam client"
m_success "Successfully installed Gaming Environment"
......
#!/usr/bin/env bash
DIR=$HOME"/Development/go"
if [ -d "$DIR" ]; then
exit 0;
fi
# Logging stuff.
function m_header() { echo -e "\n\033[1m$@\033[0m"; }
function m_success() { echo -e " \033[1;32m✔\033[0m $@"; }
function m_error() { echo -e " \033[1;31m✖\033[0m $@"; }
function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
m_header "Install Go Development Environment"
sudo apt-get install -y golang golang-go.tools
m_success "Installed golang"
mkdir -p $DIR;
m_success "Created $DIR"
mkdir -p $DIR/bin $DIR/pkg $DIR/src;
m_success "Created dir-, pkg-, src-subdirs"
m_success "Successfully installed Go Development Environment"
......@@ -10,7 +10,7 @@ m_header "Install Jekyll Environment"
m_header "Install ruby"
sudo apt-get update
sudo apt-get install -y ruby ruby-dev
sudo apt-get install -y ruby ruby-dev g++ make gcc
m_success "Installed ruby"
sudo apt-get install -y zlib1g-dev
......
......@@ -14,7 +14,7 @@ mkdir -p ~/Development/js;
m_success "Created ~/Development/js"
m_header "Install Nodejs Development Environment"
NODEREPO="node_8.x"
NODEREPO="node_10.x"
DISTRO=$(lsb_release -c -s)
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key | sudo apt-key add -
echo "deb https://deb.nodesource.com/${NODEREPO} ${DISTRO} main" | sudo tee /etc/apt/sources.list.d/nodesource.list
......
......@@ -9,7 +9,7 @@ function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
m_header "Install Spotify"
m_header "Add signing key"
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0DF731E45CE24F27EEEB1450EFDC8610341D9410
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
m_header "Add Spotify repository"
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
......
conky.config = {
alignment = 'top_right',
background = false,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = true,
border_width = 2,
border_inner_margin = 5,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'DejaVu Sans Mono:size=12',
gap_x = 35,
gap_y = 35,
minimum_height = 100,
minimum_width = 400,
no_buffers = true,
double_buffer = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
own_window_argb_visual = true, -- make background
own_window_argb_value = 0, -- transparent
update_interval = 120,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
${color grey}Uptime:$color $uptime
${color grey}Frequency:$color $freq_g GHz
${color grey}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color grey}CPU Usage:$color $cpu% ${cpubar 4}
$hr
${color grey}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
usb:ext $color${fs_used /media/christoph/ext/}/${fs_size /media/christoph/ext/} ${fs_bar 6 /media/christoph/ext/}
ext:etherum $color${fs_used /media/christoph/etherum/}/${fs_size /media/christoph/etherum/} ${fs_bar 6 /media/christoph/etherum/}
]]
......@@ -27,11 +27,16 @@
sync = !"git fetch origin; git rebase; git pull"
# Switch to a branch, creating it if necessary
go = "!f() { git checkout -b \"$1\" 2> /dev/null || git checkout \"$1\"; }; f"
# Create a new branch based on origin/master
nb = "!f() { git checkout -b $1 origin/master; }; f"
# Remove branches that have already been merged with master
# a.k.a. ‘delete merged’
dm = "!git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d"
# get update from upstream and push to github/gitlab-fork
gh-update = "!f() { git checkout master && git reset --hard origin/master && git pull origin && git push github && git push gitlab && git push --tags gitlab; }; f"
# gerrit
push-draft = "!f() { git push origin HEAD:refs/drafts/$1; }; f"
push-gerrit = "!f() { git push origin HEAD:refs/for/$1; }; f"
[core]
# Treat spaces before tabs and all kinds of trailing whitespace as an error
......
export PATH=~/bin:$PATH;
export PATH=~/Development/android/android-sdk-linux/tools:$PATH
export PATH=~/Development/android/android-sdk-linux/platform-tools:$PATH
export PATH=$PATH:~/.local/bin
export PATH="$HOME/bin:$PATH"
export PATH="$HOME/Development/android/android-sdk-linux/tools:$PATH"
export PATH="$HOME/Development/android/android-sdk-linux/platform-tools:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.cargo/bin:$PATH"
################################################################################
# Hook '.path'
################################################################################
......
......@@ -21,4 +21,6 @@ Host rhe
Host ka
HostName vwp4695.webpack.hosteurope.de
User wp11185451
Host kubeMaster
HostName 192.168.115.200
User pirate
#!/bin/bash
echo "Mounting share/bilder"
mkdir -p ./bilder
sshfs -o reconnect -o compression=yes hugo:/home/share/bilder/ bilder/
sshfs -o reconnect -o nonempty -o compression=yes hugo:/home/share/bilder/ bilder/
echo "Mounting christoph/Archiv"
mkdir -p ./archiv
sshfs -o reconnect -o compression=yes hugo:/home/christoph/Archiv/ archiv/
sshfs -o reconnect -o nonempty -o compression=yes hugo:/home/christoph/Archiv/ archiv/
......@@ -9,8 +9,8 @@ function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
set -e
sudo add-apt-repository -y universe
wget -O- https://s3-us-west-2.amazonaws.com/brave-apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://s3-us-west-2.amazonaws.com/brave-apt `lsb_release -sc` main" | sudo tee /etc/apt/sources.list.d/brave-`lsb_release -sc`.list
wget -O- https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key add -
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ `lsb_release -sc` main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-`lsb_release -sc`.list
wget -O- https://updates.signal.org/desktop/apt/keys.asc | sudo apt-key add -
echo "deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main" | sudo tee /etc/apt/sources.list.d/signal-xenial.list
sudo add-apt-repository -y ppa:nextcloud-devs/client
......@@ -40,7 +40,9 @@ sudo apt-get install -y git git-svn vim screen sl htop bash-completion suckless-
libreoffice \
moc \
gparted \
brave \
docker.io \
brave-browser \
brave-keyring \
signal-desktop
cd ~;
......
......@@ -15,6 +15,13 @@ DEVDIRECTORY="/home/christoph/Development/"
mkdir -p $DEVDIRECTORY
m_success "Added $DEVDIRECTORY"
usermod -a -G docker $USER
m_success "Added $USER to docker group"
wget -O /home/christoph/bin/docker-compose https://github.com/docker/compose/releases/download/1.21.2/docker-compose-`uname -s`-`uname -p`
chmod +x /home/christoph/bin/docker-compose
m_success "Installed docker-compose"
ssh-keygen -b 4096 -f ~/.ssh/id_rsa -N ""
m_success "Generated ssh-key to ~/.ssh/id_rsa"
......