Skip to content

Instantly share code, notes, and snippets.

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
@seperman
seperman / Default (Windows).sublime-keymap
Last active Aug 29, 2015
Sublime 2 windows user keybinding
View Default (Windows).sublime-keymap
[
{ "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 / sublimepackagecontrol
Created Dec 6, 2014
sublime package control
View sublimepackagecontrol
{
"auto_upgrade_last_run": null,
"installed_packages":
[
"AdvancedNewFile",
"Emmet",
"Indent XML",
"jQuery Snippets pack",
"LESS",
"Package Control",
@seperman
seperman / GitGutter.sublime-settings
Created Dec 18, 2014
GitGutter.sublime-settings
View GitGutter.sublime-settings
{
"non_blocking": true,
}
View .vimrc
syntax on
colorscheme distinguished
set cm=blowfish
View nginx.conf
echo 'events {
worker_connections 1024;
}
error_log /usr/local/Cellar/nginx/1.5.8/error.log;
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
@seperman
seperman / sep_bash.ps1
Last active Aug 29, 2015
Sets my windows environment
View sep_bash.ps1
Add-SshKey ~/.ssh/git_diamond
net start "Wacom Professional Service"
& "C:\Program Files\AutoHotkey\AutoHotkey.exe"
# stop beeping
net stop beep
@seperman
seperman / sep-pygmalion.zsh-theme
Last active Aug 29, 2015
oh my zsh sep pygmalion theme
View sep-pygmalion.zsh-theme
# Yay! High voltage and arrows!
prompt_setup_pygmalion(){
ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%} "
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[yellow]%}⚡%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN=""
base_prompt='%{$fg[magenta]%}%n%{$reset_color%}%{$fg[cyan]%}@%{$reset_color%}%{$fg[yellow]%}%m%{$reset_color%}%{$fg[red]%}:%{$reset_color%}%{$fg[cyan]%}%0~%{$reset_color%}%{$fg[red]%}|%{$reset_color%}'
post_prompt='%{$fg[cyan]%}⇒%{$reset_color%} '
@seperman
seperman / Side Bar.sublime-menu
Created Aug 31, 2015
Put this file in /Users/sdehpour/Library/Application Support/Sublime Text 3/Packages/User/SideBarEnhancements/Open With/Side Bar.sublime-menu
View Side Bar.sublime-menu
[
{"id": "side-bar-files-open-with",
"children":
[
//application 1
{
"caption": "Photoshop",
"id": "side-bar-files-open-with-photoshop",
@seperman
seperman / github2.css
Last active Sep 16, 2015
github2 css for markdown (modified)
View github2.css
body {
font-family: Helvetica, arial, sans-serif;
font-size: 16px;
line-height: 1.6;
padding-top: 10px;
padding-bottom: 10px;
background-color: white;
padding: 30px; }
body > *:first-child {
@seperman
seperman / JSHint.sublime-settings
Created Dec 25, 2015
jshint sublime settings (there is another one for configs too!)
View JSHint.sublime-settings
{
// Simply using `node` without specifying a path sometimes doesn't work :(
// https://github.com/victorporof/Sublime-JSHint#oh-noez-command-not-found
// http://nodejs.org/#download
"node_path": {
"windows": "C:/Program Files (x86)/nodejs/node.exe",
"linux": "/usr/bin/nodejs",
"osx": "/usr/local/bin/node"
},
You can’t perform that action at this time.