Skip to content

Instantly share code, notes, and snippets.

View leduchung's full-sized avatar

Le Duc Hung leduchung

  • Ueberall
  • Vienna
View GitHub Profile
@leduchung
leduchung / gist:5f40d5f3b2778d343af4d950a4b8deaf
Created July 6, 2017 07:53
editor.change-sublime-tab-color
1 Inside of Sublime Text go to Preferences > Browse packages
2 Navigate to the User folder.
3 There you create a file called Default.sublime-theme
4 Open that file in Sublime Text and copy and paste the following JSON object:
[
{"class": "tab_control", "attributes": ["selected", "file_medium_dark"],"tint_modifier":[255, 255, 255, 80]}
]
function PWD {
tmp=${PWD%/*/*};
[ ${#tmp} -gt 0 -a "$tmp" != "$PWD" ] && echo ${PWD:${#tmp}+1} || echo $PWD;
}
export PS1="\[\033[01;33m\]\$(PWD)\[\033[0m\] \$ ";
Some nice templates:
https://github.com/terrancesnyder/enunciate-bootstrap-theme
Maven build plugin:
<plugin>
<groupId>com.webcohesion.enunciate</groupId>
<artifactId>enunciate-maven-plugin</artifactId>
<version>2.3.0</version>
<configuration>
<configFile>enunciate.xml</configFile>
git checkout --orphan NEWBRANCH
git rm --cached -r .
rm -rf *
touch README
git commit -m "initial"
git push