Skip to content

Instantly share code, notes, and snippets.

View OmriSama's full-sized avatar

Omri Gabay OmriSama

View GitHub Profile
@OmriSama
OmriSama / gnome-settings.conf
Last active November 13, 2018 18:09
GNOME Terminal Settings
[legacy]
mnemonics-enabled=true
menu-accelerator-enabled=true
schema-version=uint32 3
default-show-menubar=false
theme-variant='dark'
[legacy/keybindings]
reset-and-clear='<Primary>k'
new-tab='<Primary>t'
@OmriSama
OmriSama / config.fish
Last active November 21, 2018 17:38
Fish Configuration
set fish_greeting ""
set -Ux fish_user_paths $HOME/.rbenv/bin $fish_user_paths
status --is-interactive; and source (rbenv init -|psub)
alias fconfig="code ~/.config/fish/"
alias i3config="code ~/.config/i3/"
@OmriSama
OmriSama / .zshrc
Created October 24, 2018 20:37
My .zshrc
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/home/ogabay/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
@OmriSama
OmriSama / hyper.js
Last active October 23, 2018 18:11
My Hyper.js config for Mac (10/23/2018)
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// choose either `'stable'` for receiving highly polished,
// or `'canary'` for less polished but more frequent updates
updateChannel: 'stable',
@OmriSama
OmriSama / numberformatter.py
Created July 16, 2017 22:17
NumberFormatter
# simple script where you input 10 digits and it formats it to a U.S phone number
def main():
numString = input("Enter a 10 digit US number: ")
digits = []
digCount = 0
for dig in numString:
if digCount <= 10: