Skip to content

Instantly share code, notes, and snippets.

View seperman's full-sized avatar
💭
Focusing on Information Retrieval, Search, Personalization and Data ETLs.

Sep Dehpour seperman

💭
Focusing on Information Retrieval, Search, Personalization and Data ETLs.
View GitHub Profile
##############################################################################
##
## New-CommandWrapper
##
## From Windows PowerShell Cookbook (O'Reilly)
## by Lee Holmes (http://www.leeholmes.com/guide)
##
##############################################################################
<#
@seperman
seperman / AutoHotkey_ErgoKeyboard
Last active June 24, 2020 06:22
Auto Hot Key configs to make Windows shortcuts/keyboard like Mac
; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a
; semicolon, such as this one, are comments. They are not executed.
; This script has a special filename and path because it is automatically
; launched when you run the program directly. Also, any text file whose
; name ends in .ahk is associated with the program, which means that it
; can be launched simply by double-clicking it. You can have as many .ahk
; files as you want, located in any folder. You can also run more than
; one .ahk file simultaneously and each will get its own tray icon.
@seperman
seperman / Default (OSX).sublime-keymap
Last active January 3, 2016 09:19
Sublime 2 Mac User Keyboards
[
{ "keys": ["super+/"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+super+/"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["super+g"], "command": "find_next" },
{ "keys": ["super+shift+g"], "command": "find_prev" },
{ "keys": ["alt+super+i"], "command": "find_under" },
{ "keys": ["shift+alt+super+g"], "command": "find_under_prev" },
{ "keys": ["super+shift+up"], "command": "swap_line_up" },
{ "keys": ["super+shift+down"], "command": "swap_line_down" },
{ "keys": ["super+shift+f"], "command": "show_panel", "args": {"panel": "replace", "reverse": false} }
@seperman
seperman / Default (Windows).sublime-keymap
Last active August 29, 2015 13:57
Sublime 2 windows user keybinding
[
{ "keys": ["alt+p"], "command": "show_overlay", "args": {"overlay": "goto", "show_files": true} },
{ "keys": ["alt+shift+p"], "command": "show_overlay", "args": {"overlay": "command_palette"} },
{ "keys": ["alt+f"], "command": "show_panel", "args": {"panel": "find"} },
{ "keys": ["alt+shift+f"], "command": "show_panel", "args": {"panel": "replace"} },
{ "keys": ["alt+l"], "command": "expand_selection", "args": {"to": "line"} },
{ "keys": ["super+d"], "command": "find_under_expand" },
{ "keys": ["alt+k", "alt+d"], "command": "find_under_expand_skip" },
{ "keys": ["alt+m"], "command": "move_to", "args": {"to": "brackets"} },
{ "keys": ["alt+/"], "command": "toggle_comment", "args": { "block": false } },
@seperman
seperman / Mac_bashrc
Last active April 21, 2017 06:45
mac bash profile
alias ll="ls -lah";
alias chrome="open /Applications/Google\ Chrome.app";
alias firefox="open -a Firefox.app";
alias ssh_box="source ~/useful_shell_scripts/ssh_box.sh"
alias kcachegrind="open /Applications/qcachegrind.app";
alias fix_office_borders="~/useful_shell_scripts/fix_office_borders.py";
alias tree="find . -not -name '*.pyc' -not -name '*.pyo' -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'";
alias dsize="du -ch -d 1 2>/dev/null";
alias dsize2="du -ch | tail -n 10";
@seperman
seperman / sublimepackagecontrol
Created December 6, 2014 02:37
sublime package control
{
"auto_upgrade_last_run": null,
"installed_packages":
[
"AdvancedNewFile",
"Emmet",
"Indent XML",
"jQuery Snippets pack",
"LESS",
"Package Control",
@seperman
seperman / flake8
Created December 17, 2014 01:48
~/.config/flake8
[flake8]
max-line-length = 160
ignore = E202
@seperman
seperman / GitGutter.sublime-settings
Created December 18, 2014 02:36
GitGutter.sublime-settings
{
"non_blocking": true,
}
@seperman
seperman / .vimrc
Created April 8, 2015 23:40
vim configs
syntax on
colorscheme distinguished
set cm=blowfish
@seperman
seperman / Default.sublime-theme
Last active June 14, 2016 18:25
Put this file in: ~/Library/Application Support/Sublime Text 3/Packages/User
[
{
"class": "sidebar_label",
"color": [0, 0, 0],
"font.bold": false,
"font.size": 13
},
{
"class": "tab_label",
"font.size": 12,