Skip to content

Instantly share code, notes, and snippets.

View izzydoesit's full-sized avatar
🎯
Focusing

Israel D. Matos izzydoesit

🎯
Focusing
View GitHub Profile
@izzydoesit
izzydoesit / .bash_profile
Last active September 9, 2016 05:48 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management
@vasanthk
vasanthk / System Design.md
Last active November 14, 2024 11:31
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@shawndeprey
shawndeprey / gist:71ab5216906258c768f7
Last active January 31, 2017 10:09
Helper module and class example for type-ahead searching
# Model Mapping example
# Be sure to replicate this with your actual model
class YourModel < ActiveRecord::Base
include Elasticsearch::Model
include Elasticsearch::Model::Callbacks
settings IndexHelper.type_ahead_analysis do
mappings do
indexes :id, index: :no
indexes :screen_name, type: 'string', analyzer: 'autocomplete'
@kevin-smets
kevin-smets / iterm2-solarized.md
Last active November 14, 2024 15:40
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k