Skip to content

Instantly share code, notes, and snippets.

View erikogan's full-sized avatar

Erik Ogan erikogan

View GitHub Profile
@erikogan
erikogan / poetry.lock
Last active February 23, 2023 18:42
Reproduction case for issues related to poetry exporting a git dependency
# This file is automatically @generated by Poetry and should not be changed by hand.
[[package]]
name = "attrs"
version = "22.2.0"
description = "Classes Without Boilerplate"
category = "dev"
optional = false
python-versions = ">=3.6"
files = [
@erikogan
erikogan / .zshenv
Last active March 4, 2021 05:00 — forked from bmhatfield/.zshrc
OSX Keychain Environment Variables
# I’ve made this fairly zsh-specific. If you’re using bash, you might look at the gist I forked from.
fpath=(~/bin/functions /usr/share/zsh/site-functions /usr/share/zsh/$ZSH_VERSION/functions)
autoload keychain_env_var_{get{,_conditional},set}
# AWS configuration example, after doing:
# $ keychain_env_var_set AWS_ACCESS_KEY_ID
# provide: "AKIAYOURACCESSKEY"
# $ keychain_env_var_set AWS_SECRET_ACCESS_KEY
# provide: "j1/yoursupersecret/password"
[
{ "keys": ["shift+tab"], "command": "auto_complete" },
{ "keys": ["super+alt+]"], "command": "align_assignments" },
{ "keys": ["ctrl+shift+j"], "command": "join_lines" },
{ "keys": ["super+alt+w"], "command": "toggle_setting", "args": {"setting": "word_wrap"} },
{ "keys": ["ctrl+super+r"], "command": "reveal_in_side_bar" },
{ "keys": ["ctrl+shift+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+t"], "command": "goto_recent" },
{ "keys": ["super+l"], "command": "show_overlay", "args": {"overlay": "goto", "text": ":"} },
{ "keys": ["super+ctrl+w"], "command": "close_all" },
@erikogan
erikogan / data_dump.rb
Created December 13, 2014 19:49
A script to dump/load (Lita) data from/to Redis URLs and/or files
#!/usr/bin/env ruby
require 'redis'
require 'csv'
# require 'json'
require 'oj'
# require 'byebug'
class Extractor
@erikogan
erikogan / Base File.sublime-settings
Last active September 27, 2015 19:28 — forked from jaredatron/Base File.sublime-settings
Default (OSX).sublime-keymap
{
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme",
"detect_indentation": false,
"ensure_newline_at_eof_on_save": true,
"font_face": "Source Code Pro",
"font_size": 14.0,
"ignored_packages":
[
"Vintage"
],