Skip to content

Instantly share code, notes, and snippets.

View nickbuff's full-sized avatar

Mykola Bugaiov nickbuff

View GitHub Profile
@month = "M4"
@base = {
overhead: 66,
bench: 113,
squat: 130,
deadlift: 160
}
def c(p,s,b = @base)
@nickbuff
nickbuff / nerd_fonts.md
Created May 26, 2023 07:41 — forked from davidteren/nerd_fonts.md
Install Nerd Fonts via Homebrew [updated & fixed]
LH_VERSION=$(curl -IsS https://github.com/sigp/lighthouse/releases/latest | grep location: | awk -F / '{print $NF}' | tr -d '\r')
wget -q --show-progress https://github.com/sigp/lighthouse/releases/download/${LH_VERSION}/lighthouse-${LH_VERSION}-x86_64-unknown-linux-gnu-portable.tar.gz
tar -xvf lighthouse-${LH_VERSION}-x86_64-unknown-linux-gnu-portable.tar.gz
rm -rf lighthouse-${LH_VERSION}-x86_64-unknown-linux-gnu-portable.tar.gz
sudo systemctl stop lighthousebeacon
sudo mv -f lighthouse /usr/local/bin
sudo systemctl start lighthousebeacon

Pro Background Cryptotrader

while sleep 5; do say $(curl -s https://www.bitstamp.net/api/v2/ticker/etheur | ruby -rjson -e 'p JSON.parse(STDIN.read)["last"].to_f.round'); done
ruby -e'require"json";require"net/http";loop{j=JSON.parse(Net::HTTP.get(URI("http://api.coinmarketcap.com/v1/ticker/")));system("clear");j[0,20].tap{puts "#{"-"*50}\n#{"Name".ljust(10)} Price \t%(1h) %(24h) %(7d)\n#{"-"*50}"}.each{|x|puts"#{x["symbol"].ljust(10)}$#{x["price_usd"]}\t#{x["percent_change_1h"]}%\t#{x["percent_change_24h"]}%\t#{x["percent_change_7d"]}%"};sleep(1)}'
@nickbuff
nickbuff / skydivedubai.rb
Last active November 14, 2015 14:55
When you miss to book skydive in UAE
require 'open-uri'
require 'pry'
require 'nokogiri'
require 'logger'
require 'twilio-ruby'
# put your own credentials here
account_sid = 'xxxx'
auth_token = 'xxxxx'
@nickbuff
nickbuff / keybase.md
Created April 15, 2015 16:46
keybase.md

Keybase proof

I hereby claim:

  • I am bugaiov on github.
  • I am bugaiov (https://keybase.io/bugaiov) on keybase.
  • I have a public key whose fingerprint is 3663 512C 539A 5711 4A39 C7C1 9FBD AEE2 7AAA 7FC4

To claim this, I am signing this object:

Slot Designer 2.0

Overview

Defining games

Games are defined through a JSON based configuration.

{