Skip to content

Instantly share code, notes, and snippets.

💭
Focusing on Information Retrieval, Search, Personalization and Data ETLs.

Sep Dehpour seperman

💭
Focusing on Information Retrieval, Search, Personalization and Data ETLs.
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
@seperman
seperman / AutoHotkey_ErgoKeyboard
Last active May 6, 2019
Auto Hot Key configs to make Windows shortcuts/keyboard like Mac
View AutoHotkey_ErgoKeyboard
; 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 / Package Control.sublime-settings
Last active Aug 9, 2018
Package Control.sublime-settings for mac
View Package Control.sublime-settings
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"AdvancedNewFile",
"BracketHighlighter",
"Git",
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 / Package Control.sublime-settings
Last active Nov 6, 2017
Package Control.sublime-settings for windows
View Package Control.sublime-settings
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"BracketHighlighter",
"Git",
"GitGutter",
@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
@seperman
seperman / Mac_bashrc
Last active Apr 21, 2017
mac bash profile
View Mac_bashrc
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 / 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 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__
You can’t perform that action at this time.