Skip to content

Instantly share code, notes, and snippets.

View Hosuke's full-sized avatar
🐢
I code slowly

Huang Geyang Hosuke

🐢
I code slowly
View GitHub Profile
@Hosuke
Hosuke / Setting Up Ubuntu workstation guide.md
Last active August 29, 2015 14:09
Setting Up Ubuntu Workstation Guide

By Hosuke

  1. Burn an Ubuntu 14.04 disk

  2. Install it

  3. sudo apt-get update && sudo apt-get upgrade

  4. Disable Unity Dash Online Search feature : wget -q -O - https://fixubuntu.com/fixubuntu.sh | bash

@Hosuke
Hosuke / viewBoxModel
Created October 14, 2014 04:02
Viewing box model from console
[].forEach.call($$("*"),function(a){
a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)
})
@Hosuke
Hosuke / .bash_profile
Created October 11, 2014 14:12
Bash profile for Git
# Enable tab completion
source ~/git-completion.bash
# colors!
green="\[\033[0;32m\]"
blue="\[\033[0;34m\]"
purple="\[\033[0;35m\]"
reset="\[\033[0m\]"
# Change command prompt
@Hosuke
Hosuke / setGit.md
Last active May 9, 2025 07:10
Setting Up Git Workspace

####Restart Git Bash or your terminal

Once you’ve completed the following instructions, you'll need to close and re-open Git Bash (if you are using Windows) or your terminal (if you are using Mac or Linux). Many of the configurations listed here will not take place until you have done this, so if you don’t see your changes taking place right away, this is probably why.

####Downloading necessary files

Later in these instructions, you'll need the two files git-completion.bash and git-prompt.sh. To download them:

  • Visit this page, where you can find git-completion.bash.
  • Right click anywhere on the page and select "Save As..."