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
@seperman
seperman / ppdb.sublime-snippet
Last active August 9, 2016 22:38
Pytest pdb ppdb
<snippet>
<content><![CDATA[import pytest; pytest.set_trace()]]></content>
<tabTrigger>ppdb</tabTrigger>
<scope>source.python</scope>
<description>Pytest pdb</description>
</snippet>
@seperman
seperman / Markdown.sublime-settings
Last active April 14, 2016 05:49
Markdown.sublime-settings
// This goes to: AppData\Roaming\Sublime Text 3\Packages\User\Markdown (Standard).sublime-settings
// for markdown.
{
"color_scheme": "Packages/MarkdownEditing/MarkdownEditor-Dark.tmTheme",
"spell_check": true
}
@seperman
seperman / Flake8Lint.sublime-settings
Created February 8, 2016 22:02
PyFlake8 sublime settings
{
"live_mode": true,
// set live mode lint delay, in milliseconds
"live_mode_lint_delay": 1000,
"pep8_max_line_length": 120,
"ignore": ["D102","D100", "I100", "D300", "D204", "D211", "D400"],
}
@seperman
seperman / JSHint.sublime-settings
Created December 25, 2015 06:36
jshint sublime settings (there is another one for configs too!)
{
// 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"
},
@seperman
seperman / .jshintrc
Last active January 7, 2016 07:13
jshint configs for sublime
{
// The plugin looks for a .jshintrc file in the same directory as the source
// file you're prettifying (or any directory above if it doesn't exist, or in
// your home folder if everything else fails) and uses those options along
// the default ones.
// Details: https://github.com/victorporof/Sublime-JSHint#using-your-own-jshintrc-options
// Example: https://github.com/jshint/jshint/blob/master/examples/.jshintrc
// Documentation: http://www.jshint.com/docs/options/
"browser": true,
@seperman
seperman / ipdb.sublime-snippet
Last active July 8, 2016 23:55 — forked from jorgebastida/ipdb.sublime-snippet
Sublime text 2 ipdb snippet
<snippet>
<content><![CDATA[import ipdb; ipdb.set_trace()]]></content>
<tabTrigger>ipdb</tabTrigger>
<scope>source.python</scope>
<description>ipdb</description>
</snippet>
@seperman
seperman / Package Control.sublime-settings
Last active November 6, 2017 23:14
Package Control.sublime-settings for windows
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"BracketHighlighter",
"Git",
"GitGutter",
@seperman
seperman / github2.css
Last active September 16, 2015 21:25
github2 css for markdown (modified)
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 / Side Bar.sublime-menu
Created August 31, 2015 23:56
Put this file in /Users/sdehpour/Library/Application Support/Sublime Text 3/Packages/User/SideBarEnhancements/Open With/Side Bar.sublime-menu
[
{"id": "side-bar-files-open-with",
"children":
[
//application 1
{
"caption": "Photoshop",
"id": "side-bar-files-open-with-photoshop",
@seperman
seperman / sep-pygmalion.zsh-theme
Last active August 29, 2015 14:27
oh my zsh sep pygmalion 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%} '