Skip to content

Instantly share code, notes, and snippets.

View spilth's full-sized avatar
👽
spilth.org

Brian Kelly spilth

👽
spilth.org
View GitHub Profile

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

@timlinux
timlinux / readme.md
Last active December 26, 2023 02:51
A simple attempt to make a spinning globe in QGIS by continuously manipulating the CRS.

QGIS Globe Spinner

A simple attempt to make a spinning globe in QGIS by continuously manipulating the CRS. Just load a world boundaries layer and run this in the QGIS console. Definitely very prototype stuff here so be warned...

temporary

@azimidev
azimidev / disposable_email_addresses
Last active December 22, 2022 06:51
Notify me of any update
0815.ru
0815.ru0clickemail.com
0815.ry
0815.su
0845.ru
0clickemail.com
0-mail.com
0wnd.net
0wnd.org
10mail.com
@marick
marick / about_those_lava_lamps.md
Last active June 22, 2022 21:08
About Those Lava Lamps

Around 2006-2007, it was a bit of a fashion to hook lava lamps up to the build server. Normally, the green lava lamp would be on, but if the build failed, it would turn off and the red lava lamp would turn on.

By coincidence, I've actually met, about that time, (probably) the first person to hook up a lava lamp to a build server. It was Alberto Savoia, who'd founded a testing tools company (that did some very interesting things around generative testing that have basically never been noticed). Alberto had noticed that people did not react with any urgency when the build broke. They'd check in broken code and go off to something else, only reacting to the breakage they'd caused when some other programmer pulled the change and had problems.

@marick
marick / character.md
Last active December 13, 2015 02:17
Lack of character

We like to think of ourselves as having relatively fixed character traits, but that's not actually true. For example, I act like an extrovert when giving talks. I act up, I'm not nervous at all - indeed, I get a lot of energy from an audience, and the bigger the better. But people who know me in person usually tag me as an introvert: I don't speak all that much in small groups, and I find working closely with people (especially more than one person) draining.

I am not (just) a weirdo. There was a study in 1929 that looked at boys at a boys school. Their teachers classified introversion/extroversion by watching their behavior. For example, they looked at who played alone and who didn't. They looked at who talked the most and least at the dinner table. And so on.

They found knowing one boy acted extroverted in the sandbox had almost no value when predicting his behavior at the dinner table.

@javierarques
javierarques / protractorAPICheatsheet.md
Last active January 31, 2023 08:51
Protractor API Cheatsheet
@rrag
rrag / README.md
Last active March 19, 2024 16:11
Yet another tutorial and Cheat sheet to Functional programming

There are many tutorials and articles available online which explain functional programming. Examples show small functions, which are composed into others which again get composed. It is hard to imagine how it would all work, then come the analogies and then the math. While the math is necessary to understand it can be difficult to grasp initially. The analogies on the other hand, (at least for me) are not relatable. Some articles assume the reader knows the different terminologies of FP. Over all I felt it is not inviting to learn.

This introduction is for those who have had a tough time understanding those analogies, taken the plunge to functional programming but still have not been able to swim. This is yet another tutorial on functional programming

Terminology

Functions as first class citizens

Functions are first class means they are just like anyone else, or rather they are not special, they behave the same as say primitives or strings or objects.

@pdincau
pdincau / gist:08f7b2fac39088c87b75
Last active December 26, 2016 00:51
Things I learned about ExUnit
Run tests:
mix test
Run single test file:
mix test path/to/file
Run single test:
@th3james
th3james / shatter-liz-phair.tab
Created July 12, 2015 15:10
Shatter by Liz Phair guitar tab
# Shatter - Liz Phair
Open D tuning with a capo on first fret.
Tab relative to capo
## Intro p1
d#|----------------------------------------|
A#|----------------------------------------|
@nertzy
nertzy / callgrind_profiler.rb
Last active August 29, 2015 14:20
CallgrindProfiler
require 'jruby/profiler'
require 'jruby/profiler/callgrind_printer'
module CallgrindProfiler
def callgrind
unless JRuby.runtime.instance_config.is_profiling?
STDERR.puts 'Profiling not enabled, re-run with `ruby --profile.api`'
return
end