Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
| #= essential ubuntu/mint installations | |
| sudo apt-get install -y autoconf build-essential g++ git vim ack-grep at tree htop tmux xclip x11-xkb-utils openjdk-8-jre openjdk-8-jdk-headless jq python3-pip libsource-highlight-common source-highlight most exuberant-ctags | |
| sudo apt-get install -y datamash network-manager neofetch openssh-server cmake subversion feh sxiv | |
| sudo apt-get install meld sublime-text gimp blender inkscape | |
| sudo apt-get install mpv audacious audacity | |
| #= git setup | |
| $ git config --global user.email "[email protected]" | |
| $ git config --global user.name "Your Name" |
| /******************************************************************************* | |
| * Copyright (c) 2015 Song Yang @ ittraining | |
| * | |
| * All rights reserved. | |
| * This program is free to use, but the ban on selling behavior. | |
| * Modify the program must keep all the original text description. | |
| * | |
| * 保留所有權利。 | |
| * 本程式可任意使用,但是禁止販售行為。 | |
| * 修改程式時必須保留所有原有文字說明。 |
| Note these instructions are all based on the mightyOhm articles. This is a little bit different because I wanted to get alsa sound working (instead of dsp) so that I could overlay effects | |
| and background sound simultaneously. | |
| What to do | |
| ========== | |
| install mightyohm trx by blind flashing | |
| setup network and wireless and dhcp | |
| setup the banner for fun | |
| Blind flashing |
| "Tips/Notes----------------------------------------- | |
| " Reload vimrc while editing - :so % | |
| " | |
| " | |
| " | |
| set nocompatible " be iMproved, required | |
| filetype off " required | |
| " set the runtime path to include Vundle and initialize | |
| set rtp+=~/.vim/bundle/Vundle.vim |
| #!/bin/bash | |
| NAKAMICHI_AUDIO="XX:XX:XX:XX:XX:XX" | |
| timeout 10s bluetoothctl scan on && sleep 2 \ | |
| bluetoothctl remove $NAKAMICHI_AUDIO && sleep 4 && \ | |
| bluetoothctl trust $NAKAMICHI_AUDIO; sleep 4 && \ | |
| bluetoothctl pair $NAKAMICHI_AUDIO; sleep 2 && \ | |
| bluetoothctl connect $NAKAMICHI_AUDIO && echo "Bluetooth connected" |
| #!/bin/bash | |
| dconf reset -f /org/cinnamon/desktop/keybindings/ && \ | |
| dconf load /org/cinnamon/desktop/keybindings/ <<EOF | |
| [/] | |
| custom-list=['__dummy__', 'custom0'] | |
| [custom-keybindings/custom0] | |
| binding=['<Super>Escape'] | |
| command='/usr/bin/gnome-terminal' | |
| name='gnome-terminal' |
| USERNAME="johndoe" | |
| PASSWD="xxxxxxxx" | |
| FULLNAME="John Doe" | |
| sudo useradd ${USERNAME} -b /home/hackathon -m -s /bin/bash -e 2023-09-02 -c "${FULLNAME} - guest user for hackathon" && \ | |
| echo $USERNAME, ${FULLNAME} " created!" | |
| echo "${USERNAME}:${PASSWD}" | sudo chpasswd && \ | |
| echo "password set for ${USERNAME}" | |
| sudo usermod -a -G grphackt ${USERNAME} && \ | |
| echo "user added to shared group" |
| # Returns (svn:<revision>:<branch|tag>[*]) if applicable | |
| svn_prompt() { | |
| if [ -d ".svn" ]; then | |
| local branch dirty rev info=$(svn info 2>/dev/null) | |
| branch=$(svn_parse_branch "$info") | |
| # Uncomment if you want to display the current revision. | |
| #rev=$(echo "$info" | awk '/^Revision: [0-9]+/{print $2}') | |
| if [ -f ~/.bash_colors ]; then | |
| . ~/.bash_colors | |
| fi | |
| PROMPT_COMMAND='RET=$?;' | |
| function _returnLambda { | |
| if [[ $RET = 0 ]]; then echo -e "${BGreen}"; else echo -e "${BRed}"; fi; | |
| } |
Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"