Skip to content

Instantly share code, notes, and snippets.

💭
Looking for a cheesy status.

Sep Dehpour seperman

💭
Looking for a cheesy status.
Block or report user

Report or block seperman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View pry.sublime-snippet
<snippet>
<content><![CDATA[require 'pry'; binding.pry]]></content>
<tabTrigger>pry</tabTrigger>
<scope>source.ruby</scope>
<description>pry</description>
</snippet>
View pdb.sublime-snippet
<snippet>
<content><![CDATA[import pdb; pdb.set_trace()]]></content>
<tabTrigger>pdb</tabTrigger>
<scope>source.python</scope>
<description>pdb</description>
</snippet>
@seperman
seperman / Flake8Lint.sublime-settings
Created Nov 6, 2017
flake8 settings for python flake8 lint
View Flake8Lint.sublime-settings
{
// debug mode (verbose output to ST python console)
"debug": false,
// run flake8 lint on file saving
"lint_on_save": true,
// run flake8 lint on file loading
"lint_on_load": false,
// run lint in live mode: lint file (without popup) every XXX ms
View pandolime.py
from copy import copy
text = "Hello maddam, how are you daad mamamaml?"
def find_palindromes(text):
i = 0
ir = 0
found = []
for i, v in enumerate(text):
@seperman
seperman / setup.cfg
Created Oct 14, 2016
setup.cfg has setup stuff for a python project. Sublime and others read it apparently.
View setup.cfg
[flake8]
max-line-length = 120
builtins = json
statistics = true
ignore = E202
exclude = ./data,./src,.svn,CVS,.bzr,.hg,.git,__pycache__
View pudb.sublime-snippet
<snippet>
<content><![CDATA[from pudb import set_trace; set_trace()]]></content>
<tabTrigger>pudb</tabTrigger>
<scope>source.python</scope>
<description>Pudb</description>
</snippet>
@seperman
seperman / npdb.sublime-snippet
Last active Aug 15, 2016
npdb.sublime-snippet Nosetest pdb npdb
View npdb.sublime-snippet
<snippet>
<content><![CDATA[from nose.tools import set_trace; set_trace()]]></content>
<tabTrigger>npdb</tabTrigger>
<scope>source.python</scope>
<description>Nose pdb</description>
</snippet>
@seperman
seperman / preferences.sublime-settings
Last active Nov 21, 2016
sublime settings user mac
View preferences.sublime-settings
{
"added_words":
[
"json",
"readthedocs",
"datetime",
"pprint",
"Django"
],
"binary_file_patterns":
View ppdb.sublime-snippet
<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 Apr 14, 2016
Markdown.sublime-settings
View 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
}
You can’t perform that action at this time.