Skip to content

Instantly share code, notes, and snippets.

View sashkab's full-sized avatar

Aleks Bunin sashkab

View GitHub Profile
@sashkab
sashkab / AutoLaunch.scpt
Created March 2, 2014 21:20
AutoLaunch.scpt for iTerm
-- Save it as $HOME/Library/Application\ Support/iTerm/AutoLaunch.scpt
tell application "iTerm"
activate
set myterm to (make new terminal)
tell myterm
launch session "Default Session"
-- split horizontally
tell i term application "System Events" to keystroke "D" using command down
### Keybase proof
I hereby claim:
* I am sashkab on github.
* I am sashk (https://keybase.io/sashk) on keybase.
* I have a public key whose fingerprint is 4AD1 C6E6 4CF4 71BF FCD5 72CD 098A 5177 B8EC E946
To claim this, I am signing this object:
@sashkab
sashkab / keybase.md
Created February 7, 2016 21:44
keybase.md

Keybase proof

I hereby claim:

  • I am sashkab on github.
  • I am sashk (https://keybase.io/sashk) on keybase.
  • I have a public key whose fingerprint is 4AD1 C6E6 4CF4 71BF FCD5 72CD 098A 5177 B8EC E946

To claim this, I am signing this object:

@sashkab
sashkab / mk_mojave.sh
Last active May 16, 2019 17:56
Created macOS High Sierra installation media
# see https://support.apple.com/en-us/HT201372
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
@sashkab
sashkab / rhel7-git.md
Created January 21, 2018 00:06
Build latest version of git on RHEL 7

Build latest version of git on RHEL 7

Preparing system to building rpms

  1. Install fedpkg:

    sudo yum install fedpkg

Start

yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y fedpkg
useradd -u 1000 -G mock builder && chmod g+w /etc/mock/*.cfg
fedpkg clone -a tmux && cd tmux
fedpkg sources
sha512sum -c sources
fedpkg --dist el7 srpm

[Verifying my cryptographic key:openpgp4fpr:4844522F5EC16275D0461125EA1C18C87587CD65]