- Install cmder_mini (msysgit is already installed, so no need for full version)
- In Cmder, open settings:
Win + Alt + P
- Under Startup > Tasks, add a task called
{bash}
with the following settings:- Task parameters (set icon):
- For Cmder icon:
/icon "%CMDER_ROOT%\cmder.exe"
- For Git icon:
/icon "C:\Program Files (x86)\Git\etc\git.ico"
- For Cmder icon:
- Commands (open Git's bash shell):
- Task parameters (set icon):
"C:\Program Files (x86)\Git\bin\sh.exe" -l -new_console:d:%USERPROFILE%
Web Components are a new browser feature that provides a standard component model for the Web — WICG/web-components
<my-element>Hello</my-element>
A web native alternative to, eg. React and Vue.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"AdvancedNewFile", | |
"ApacheConf", | |
"Color Highlighter", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ack --sass "([\d\.]*)r?em" --output="\$1" -h | sort -u | |
Find all unique em and rem values in all Sass files below the current directory | |
cat / less | |
Output contents of a text file. ("less" is paginated but disappears after end of file, "cat" outputs in one go but output remains visible in console). | |
chown user:group /something | |
Changes owner of /something to 'user', group to 'group'. | |
cp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"sublimeTextKeymap.promptV3Features": true, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.snippetSuggestions": "top", | |
"editor.formatOnPaste": true, | |
"git.path": "C:\\Program Files (portable)\\cmder\\vendor\\git-for-windows\\bin\\git.exe", | |
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\bash.exe", | |
"terminal.external.windowsExec": "ubuntu", | |
"workbench.colorTheme": "Afterglow Remastered", | |
"files.insertFinalNewline": true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme", | |
"default_line_ending": "unix", | |
"enable_tab_scrolling": false, | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
"*~", | |
"*.exe", |
A command line fuzzy finder
https://github.com/junegunn/fzf
Simplified and community driven man pages with useful examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Git | |
alias ga='git add' | |
alias gb='git branch --sort=-committerdate' | |
alias gbr="git for-each-ref --sort=-committerdate refs/heads --format='%(HEAD)%(color:yellow)%(refname:short)|%(color:bold green)%(committerdate:relative)|%(color:blue)%(subject)|%(color:magenta)%(authorname)%(color:reset)'|column -ts'|'" | |
alias gco='git checkout' | |
alias gcm='git commit -m' | |
alias gcv='git commit -v' | |
alias gd='git diff' | |
alias gl="git log -n 15 --graph --date-order --date=relative --pretty=format:'%C(red)%h%C(reset)%C(auto)%d%C(reset) %s %C(green)(%cr) %C(yellow) %an %C(reset)'" | |
alias gm='git merge' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
// My Sublime shortcuts: | |
{ "keys": ["ctrl+k", "ctrl+m"], "command": "toggle_minimap" }, | |
// jEdit shortcuts: | |
{ "keys": ["alt+d"], "command": "run_macro_file", "args": {"file": "Packages/Default/Delete Line.sublime-macro"} }, | |
{ "keys": ["alt+right"], "command": "indent" }, | |
{ "keys": ["alt+left"], "command": "unindent" }, | |
{ "keys": ["ctrl+e", "ctrl+c"], "command": "toggle_comment", "args": { "block": false } }, | |
{ "keys": ["ctrl+e", "ctrl+w"], "command": "close_all" }, |
NewerOlder