Skip to content

Instantly share code, notes, and snippets.

View goshatch's full-sized avatar
🏴‍☠️
Arrr

Gosha Tcherednitchenko goshatch

🏴‍☠️
Arrr
View GitHub Profile
@daveliepmann
daveliepmann / assert-or-not.md
Last active March 2, 2025 12:24
A guide to orthodox use of assertions in Clojure.

When to use assert?

In JVM Clojure, Exceptions are for operating errors ("something went wrong") and Assertions are for programmer and correctness errors ("this program is wrong").

An assert might be the right tool if throwing an Exception isn't enough. Use them when the assertion failing means

  • there's a bug in this program (not a caller)
  • what happens next is undefined
@dhh
dhh / linux-setup.sh
Last active April 28, 2025 16:30
linux-setup.sh
# THIS LINUX SETUP SCRIPT HAS MORPHED INTO A WHOLE PROJECT: HTTPS://OMAKUB.ORG
# PLEASE CHECKOUT THAT PROJECT INSTEAD OF THIS OUTDATED SETUP SCRIPT.
#
#
# Libraries and infrastructure
sudo apt update -y
sudo apt install -y \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
@aendra-rininsland
aendra-rininsland / gdpr-sar-template.txt
Created January 3, 2020 16:46
GDPR Subject Access Request -- Template
Hi there! Please forward this to your GDPR compliance department. Thank you!
--
To whom it may concern — I'm interested in what sorts of data your company collects about me.
To wit, I would like to file a Subject Access Request (SAR) under the EU General Data Protection Regulation (GDPR) for all personal information relating to myself using the following personal identifiers:
[ list which PII you feel or can prove is held by the entity in question ]

B: Yeah, the doctor said it would never grow back, but I mean, I've got a good few inches there now.
L: Well it still tastes the same to me, so …
B: Yeah, I've not been able to notice the difference either.
B: Do you like coffee?
L: I love coffee.
B: Oh, you like coffee, do you?
L: Big fan.
B: Tsk — you, you're a bit of a fan of coffee?
L: Coffee fan!
B: Are you a fan of coffee?

anonymous
anonymous / Gemfile
Created December 20, 2012 08:07
extract GPS info and print a Google Maps URL in the terminal.
source :rubygems
gem 'exifr', github: 'remvee/exifr'
@ravasthi
ravasthi / _config.yml
Created February 15, 2012 08:59
Multiple authors on Jekyll
authors:
hanzou:
name: Hanzou Hattori
display_name: Hanzou
gravatar: c66919cb194f96c696c1da0c47354a6a
email: [email protected]
web: http://company.com
twitter: company
github: hhattori
jorgen: