Skip to content

Instantly share code, notes, and snippets.

@almereyda
almereyda / falsehoods.md
Created April 14, 2016 15:11 — forked from wboykinm/falsehoods.md
Falsehoods programmers believe about addresses

Falsehoods programmers believe about addresses

This is an anchor-linked version of the excellent, amazing original opus magnum by Michael Tandy.

An address will start with, or at least include, a building number.

Counterexample: Royal Opera House, Covent Garden, London, WC2E 9DD, United Kingdom.

When there is a building number, it will be all-numeric.

Counterexample: 1A Egmont Road, Middlesbrough, TS4 2HT

@almereyda
almereyda / response
Last active May 6, 2018 22:25 — forked from y0va/500 server error
HTTP 500 for new relay domain
DoesNotExist at /admin/domains/new/
Users matching query does not exist.
Request Method: POST
Request URL: https://email.ecobytes.net/admin/domains/new/
Django Version: 1.11.12
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.9
Python Path: ['.', '', '/srv/modoboa/env/lib/python2.7', '/srv/modoboa/env/lib/python2.7/plat-x86_64-linux-gnu', '/srv/modoboa/env/lib/python2.7/lib-tk', '/srv/modoboa/env/lib/python2.7/lib-old', '/srv/modoboa/env/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/srv/modoboa/env/local/lib/python2.7/site-packages', '/srv/modoboa/env/lib/python2.7/site-packages']
Server time: Sun, 6 May 2018 23:35:21 +0200
@almereyda
almereyda / upgrade_fedora
Created August 5, 2017 23:16 — forked from yuriploc/upgrade_fedora
upgrading Fedora using dnf system-upgrade
// in case you have VirtualBox and kmod-vbx, akmod-vbx, remove them
sudo dnf update
sudo dnf clean all
sudo dnf distro-sync --allowerasing
sudo dnf upgrade --refresh
sudo dnf system-upgrade download --releasever=NUM
sudo dnf system-upgrade reboot
sudo rpm --rebuilddb
sudo rpmconf -a
sudo dnf remove -y google-chrome-\* && sudo dnf install -y google-chrome-stable
@almereyda
almereyda / .gitignore
Last active June 27, 2017 18:25 — forked from afeld/README.md
Twitter bio search
*.yaml
// Node.js CheatSheet.
// Download the Node.js source code or a pre-built installer for your platform, and start developing today.
// Download: http://nodejs.org/download/
// More: http://nodejs.org/api/all.html
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
@almereyda
almereyda / jargon.md
Created August 12, 2016 20:44 — forked from tmcw/jargon.md
Startup English
This team is growing We're hiring lots of people
"Hunger" Enthusiasm
"Fire" Enthusiasm
"Spark" Enthusiasm
Commander's intent Goals
Onboarding Training
The best Pretty good
Burn Money-losing
#!/bin/bash
# Auto suspend and wake-up script
#
# Puts the computer to sleep and automatically wakes it up at specified time
#
# Written by Romke van der Meulen <romke.vd.meulen@gmail.com>
#
# Takes a 24-hour time HH:MM as its argument
# Example:

[Various details redacted.]

I'm currently about to start a Geography degree at the University of [Redacted] at [Redacted] with a focus in GIS, and I've been finding that I have an interest in working with imagery. Obviously I should take Remote Sensing and other similar classes, but I'm the type of person who likes to self learn as well. So my question is this: What recommendations would you give to a student who is interested in working with imagery? Are there any self study paths that you could recommend?

I learned on my own and on the job, and there are a lot of important topics in GIS that I don’t know anything about, so I can’t give comprehensive advice. I haven’t arrived anywhere; I’m just ten minutes ahead in the convoy we’re both in. Take these recommendations critically.

Find interesting people. You’ll learn a lot more from a great professor (or mentor, or friend, or tutorial) outside your specialty than you will from someone boring who’s working on exactly what you’re interested in. Don’t get i

@almereyda
almereyda / 0_reuse_code.js
Created July 2, 2014 03:29
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
*.py[co]
# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin