Skip to content

Instantly share code, notes, and snippets.

View nikolay's full-sized avatar
🤷‍♂️
¯\_(ツ)_/¯

Nikolay Kolev nikolay

🤷‍♂️
¯\_(ツ)_/¯
View GitHub Profile
@nikolay
nikolay / openpgp.md
Created October 7, 2023 08:15
openpgp.md

aspe:keyoxide.org:4DUXZAN4MEOSVMYHA6WF7ILJI4

@nikolay
nikolay / proof.txt
Created May 27, 2021 18:15
3Box proof
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreifzjiehz5av26pixl5g72bkwpe5iugcwr4kcyytjdl6lu7fopsfem ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@nikolay
nikolay / stepways.py
Created January 19, 2020 09:52
stepways
import sys
def stepways(n):
return n if n < 4 else stepways(n - 2) + stepways(n - 1)
print(stepways(int(sys.argv[1])))
@nikolay
nikolay / openpgp.txt
Created September 18, 2018 18:25
OpenKeychain Linked Identity
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account.
Token for proof:
[Verifying my OpenPGP key: openpgp4fpr:7edcc47e25cf8ecb0f94da303981453feb89a981]
@nikolay
nikolay / verification.txt
Created October 31, 2017 23:54
Earn.com Verification
Verifying my Blockstack ID is secured with the address 14HpDefMHWBXwi4LBTFzhJgibGKj9EPuhY https://explorer.blockstack.org/address/14HpDefMHWBXwi4LBTFzhJgibGKj9EPuhY
Verifying that "nikolay.id" is my Blockstack ID. https://onename.com/nikolay
@nikolay
nikolay / README.md
Last active September 4, 2017 20:35
Homebrew Cask Outdated

This script shows a more complete list of outdated casks. Here's an example:

[nikolay:~] $ brew cask outdated
[nikolay:~] $ ./cask-outdated.sh
caprine (2.6.1) < 2.6.2
dropbox (22.3.22) < latest
github-desktop (0.7.2-cb858085) < 0.8.0-364fa5b9
iterm2-beta (3.1.beta.6) < 3.1.beta.8
microsoft-office (15.33.17040900) &lt; 15.37.17081500
@nikolay
nikolay / latest-amazon-linux-ami.sh
Last active March 27, 2017 22:19
Get the latest Amazon Linux AMI ID
aws ec2 describe-images \
--owners amazon \
--filters \
'Name=name,Values=amzn-ami-hvm-????.??.?.????????-x86_64-gp2' \
'Name=state,Values=available' \
'Name=architecture,Values=x86_64' \
'Name=virtualization-type,Values=hvm' \
'Name=root-device-type,Values=ebs' \
--query 'sort_by(Images, &CreationDate)[-1].ImageId'
@nikolay
nikolay / migrate.sh
Created July 9, 2016 15:57
Migrate Caskroom
main () {
local file
local old_location
for file in $HOME/Applications/*.app; do
if [[ -e "$file" ]]; then
old_location="$(readlink "$file")"
if [[ -e $old_location ]] \
&& [[ $old_location == /opt/homebrew-cask/Caskroom/* ]]; then
ln -sf "/usr/local${old_location#/opt/homebrew-cask}" "$file"
fi
@nikolay
nikolay / keybase.md
Created April 3, 2015 20:17
keybase.md

Keybase proof

I hereby claim:

  • I am nikolay on github.
  • I am nikolay (https://keybase.io/nikolay) on keybase.
  • I have a public key whose fingerprint is 3B28 0904 E499 7175 FD0F 657A 2855 97CB 5C77 8BBF

To claim this, I am signing this object: