Skip to content

Instantly share code, notes, and snippets.

View dysbulic's full-sized avatar
💭
📆 ― 2023⁄01⁄31 ⩮ 1444⁄07⁄09 ⩮ -6⁄♒⁄16 ― 📆

δυς dysbulic

💭
📆 ― 2023⁄01⁄31 ⩮ 1444⁄07⁄09 ⩮ -6⁄♒⁄16 ― 📆
View GitHub Profile
git tag -am "annotation goes here" tagname_goes_here # cut a tag
git tag -d tagname_goes_here # burn it
git tag -am "annotation goes here" tagname_goes_here # cut another tag
git push --tags # push tags to remote
git push origin :refs/tags/tagname_goes_here # delete tag from remote
@Sjors
Sjors / bitcoin-pay.rb
Last active April 9, 2024 16:50
This script demonstrates how a bitcoin transaction is created and signed. Just pass in your own address and private key and it will prepare a transaction for you. You can then copy & paste that transaction into a webservice like Blockchain to send it. I wrote this mostly to understand better how it works. I sometimes had to "cheat" and look at t…
#!/usr/bin/env ruby
require 'open-uri'
require 'JSON'
require 'digest/sha2'
require 'pry'
require 'bigdecimal'
require 'bitcoin' # Because I need to cheat every now and then
# Usage:
# gem install pry json ffi ruby-bitcoin
@mbostock
mbostock / .block
Last active May 19, 2023 19:28
Polar Clock III
license: gpl-3.0
height: 960
@jeremyjbowers
jeremyjbowers / README.md
Created March 10, 2016 19:28
A simple Python-based scraper for pulitzer.org's JSON to build a CSV of winners by year.

PULITZER DOT PY

A scraper for the Pulitzer site's JSON. Generates a CSV of winners.

Installation and usage

mkvirtualenv pulitzer
pip install -r requirements.txt
python pulitzer.py
@joshuap
joshuap / rails_lamby_notes.md
Last active February 21, 2022 09:00
Deploy a new Rails app to AWS Lambda using Lamby