Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

kemuri echorebel

🎯
Focusing
Block or report user

Report or block echorebel

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
@echorebel
echorebel / pre-commit
Created Nov 8, 2018
ktlintFormat pre-commit hook
View pre-commit
#!/bin/sh
# based on https://github.com/shyiko/ktlint pre-commit hook
# stash unstaged changes
git stash -q --keep-index
# reformat
git diff --name-only --cached --relative | grep '\.kt[s"]\?$' | xargs ktlint -F --relative .
# stage changes
@echorebel
echorebel / find-jira-tickets.py
Created Oct 25, 2018
Find unique jira tickets from git log
View find-jira-tickets.py
#!/usr/bin/env python
# finds jira tickets up until latest tag
# regex part inspired by https://github.com/pbetkier/add-issue-id-hook
import subprocess
import re
project_format = '[A-Z][A-Z]+'
issue_pattern = '{}-[\d]+'.format(project_format)
View blockstack
Verifying my Blockstack ID is secured with the address 1KxuNBwPHW7XomSeBJ23iivCKFKLFm3UgH https://explorer.blockstack.org/address/1KxuNBwPHW7XomSeBJ23iivCKFKLFm3UgH
View keybase.md

Keybase proof

I hereby claim:

  • I am echorebel on github.
  • I am kemuri (https://keybase.io/kemuri) on keybase.
  • I have a public key ASC5VjA-Rqs0XPZzqGv2zFTMpR1o5E0sSt4E3JKhvxKFdgo

To claim this, I am signing this object:

View ethminer.bat
setx GPU_FORCE_64BIT_PTR 0
setx GPU_MAX_HEAP_SIZE 100
setx GPU_USE_SYNC_OBJECTS 1
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_SINGLE_ALLOC_PERCENT 100
ethminer.exe --farm-recheck 200 -G -S eu2.ethermine.org:4444 -FS eu1.ethermine.org:4444 -O 0x5846b301f36a1f840f012cc07dc5533733f4d352.rig1
@echorebel
echorebel / .vimrc
Last active Jan 28, 2020
vim config
View .vimrc
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'
@echorebel
echorebel / xcode_manual_signing.rb
Created Dec 15, 2016
switch xcode to manual signing for Unity 5.3
View xcode_manual_signing.rb
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'
View select_xcode_signing_method.rb
#!/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
@echorebel
echorebel / adb_installl.sh
Last active Sep 13, 2017
ADB Install & Run on multiple devices
View adb_installl.sh
adb devices | tail -n +2 | cut -sf 1 | xargs -I {} adb -s {} install -r yourBuild.apk
@echorebel
echorebel / fixSteam.sh
Created Oct 12, 2016
fix steam on ubuntu 16.04
View fixSteam.sh
find ~/.steam/root/ \( -name "libgcc_s.so*" -o -name "libstdc++.so*" -o -name "libxcb.so*" -o -name "libgpg-error.so*" \) -print -delete
You can’t perform that action at this time.