Skip to content

Instantly share code, notes, and snippets.

View k3muri84's full-sized avatar
🎯
Focusing

kemuri k3muri84

🎯
Focusing
View GitHub Profile
@k3muri84
k3muri84 / .zshrc
Last active December 28, 2018 10:06
oh my zsh config
# my config for oh my zsh
# enable command auto-correction.
ENABLE_CORRECTION="true"
# display red dots whilst waiting for completion.
COMPLETION_WAITING_DOTS="true"
# plugins to load
plugins=(git git-extra common-aliases urltools atom wd autojump alias-tips jira)
@k3muri84
k3muri84 / ohmyzsh-dropbox-sync.sh
Created August 29, 2016 18:04 — forked from robbyrussell/ohmyzsh-dropbox-sync.sh
Keep your @ohmyzsh ~/.zshrc in sync via dropbox
# Was asked how I keep my zshrc config sync'd between my computers with Dropbox
# Add a new directory in your Dropbox (or use an existing one)
mkdir -p ~/Dropbox/ohmyzsh
# move existing file to Dropbox
mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc
# symlink file back to your local directory
ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc
@k3muri84
k3muri84 / ripcd.sh
Created August 29, 2016 18:26
rip cd with morituri
# detect offset with:
# rip offset find
# my detected offset, make sure you detect yours
OFFSET=6
rip cd rip --offset=$OFFSET
synced by sync-settings
@k3muri84
k3muri84 / extractEmails.py
Created September 14, 2016 12:23
python script to extract emails from a text file
import re
fileInput = 'file.htm'
fileOutput = 'emaillist-'+fileInput+'.txt'
f = open(fileInput)
content = f.read()
# email regex
regex = re.compile(("([a-z0-9!#$%&'*+\/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+\/=?^_`"
@k3muri84
k3muri84 / fixSteam.sh
Created October 12, 2016 18:28
fix steam on ubuntu 16.04
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete
@k3muri84
k3muri84 / adb_installl.sh
Last active September 13, 2017 14:54
ADB Install & Run on multiple devices
adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {} install -r yourBuild.apk
#!/usr/bin/ruby
require 'xcodeproj'
# Usage:
# ruby select_xcode_signing_method.rb -p <path/to/xcode_project> -t <Target> -m ['Automatic' | 'Manual']
class Options
attr_accessor :path, :target, :method
@k3muri84
k3muri84 / xcode_manual_signing.rb
Created December 15, 2016 15:17
switch xcode to manual signing for Unity 5.3
require 'xcodeproj'
# utility for unity 5.3 to use xcode 8 with manual signing
# for Unity 5.4 see https://gist.github.com/echorebel/b073bc7858c36218610e63f2b7664639
# Usage:
# ruby xcode_manual_signing.rb -p <path/to/xcode_project>
# default path is Build/iOS/Unity-iPhone.xcodeproj
args = ARGV
project_path = 'Build/iOS/Unity-iPhone.xcodeproj'
@k3muri84
k3muri84 / .vimrc
Last active January 28, 2020 14:50
vim config
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'