Skip to content

Instantly share code, notes, and snippets.

Erik van Eykelen evaneykelen

Block or report user

Report or block evaneykelen

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@evaneykelen
evaneykelen / testcases.rb
Created May 25, 2019
Title casing test cases
View testcases.rb
TEST_CASES = [
[
"For step-by-step directions email someone@gmail.com",
"For Step-by-Step Directions Email someone@gmail.com"],
[
"2lmc Spool: 'Gruber on OmniFocus and Vapo(u)rware'",
"2lmc Spool: 'Gruber on OmniFocus and Vapo(u)rware'"],
[
"Have you read “The Lottery”?",
"Have You Read “The Lottery”?"],
View s3-policy.json
{
"Version": "2012-10-17",
"Id": "Policy154...",
"Statement": [
{
"Sid": "Stmt1542...",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::744...556:user/s3-user"
},
View sqs-policy.json
{
"Version": "2012-10-17",
"Id": "Policy154...",
"Statement": [
{
"Sid": "Stmt15420...",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::744...556:user/s3-user"
},
View sqs.rb
require 'open3'
class Sqs
def self.process_messages
sqs = Aws::SQS::Client.new(region: ENV.fetch("AWS_REGION"),
access_key_id: ENV.fetch("AWS_ACCESS_KEY_ID"),
secret_access_key: ENV.fetch("AWS_SECRET_ACCESS_KEY"))
queue_url = sqs.get_queue_url(queue_name: ENV.fetch("AWS_SQS_QUEUE_NAME")).queue_url
poller = Aws::SQS::QueuePoller.new(queue_url, { client: sqs })
View markdown-examples.md

It's very easy to make some words bold and other words italic with Markdown. You can even link to Google!

Sometimes you want numbered lists:

  1. One
  2. Two
  3. Three

Sometimes you want bullet points:

@evaneykelen
evaneykelen / On remote software development.md
Last active Mar 30, 2019
On remote software development
View On remote software development.md

unadjustednonraw_thumb_29

Around 2006 I started working with remote software development teams. In all but one case it has always been enjoyable, and successful from a business perspective.

I've worked with folks from Bolivia, Bulgaria, Costa Rica, Croatia, Estonia, France, Germany, Hong Kong, Hungary, Lithuania, Poland, Portugal, Spain, The Netherlands, UK, and US. The working language has been English in all cases.

To make remote working successful the first step is to hire relatively senior people. I don't mean senior in age per se, but in working experience, level of confidence in their abilities as a developer, experience in remote working, and grounded in terms of having settled in a city for a couple of years. It's OK if you don't tick all the boxes, but ticking just one is a sign you've perhaps not reached the necessary state of "balance" required to take on the responsibilities as a remote engine

@evaneykelen
evaneykelen / crr.md
Last active Jun 19, 2019
Colorize `rails routes` output and insert line breaks between controllers
View crr.md
View group-policy.json
{
"Statement": [
{
"Effect": "Allow",
"Action": [
"s3:ListAllMyBuckets",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::*"
},
@evaneykelen
evaneykelen / post.md
Last active Oct 7, 2018
Amazon: Grid Storage Web Service Launches
View post.md

Published 2006-03-15, https://web.archive.org/web/20061127141948/http://www.bitgain.com:80/

Techcrunch has an interesting post on a new service from Amazon called S3 (Simple Storage Service). According to Techcrunch "[..] it is a storage service backend for developers that offers a highly scalable, reliable, and low-latency data storage infrastructure at very low costs?.

Interesting twist: Amazon is not going to push S3 to end-users. Instead it is a service geared towards the developer community. This is a very, very interesting development. Just like Google, Amazon has a massive grid computing platform on which its main service runs. For Google it's search, for Amazon it's selling goods. Both companies are discovering they can do much more with this platform. Google is pushing out new services like crazy (mail, maps, calendar, etc) and now Amazon is following suit (and where is eBay? Still counting how much money they have left in the bank after their $4B "VoIP development project"?).

To me the introducti

View An Open Source TomTom.md

[Published March 16th 2006, https://web.archive.org/web/20061127141948/http://www.bitgain.com:80/blog/show/5]

While driving from my home town (Hoorn, The Netherlands) to Amsterdam, I saw a lot of cars with the small TomTom device mounted (with Velcro, mind you) on top of the dashboard. Although it looks a bit amateurish, many people really seem to like the driving directions it gives.

I wonder whether companies like TomTom, or its rival Garmin, can uphold the outrageous pricing level of their products. The avarage TomTom device costs a whopping EUR 600 and for what? The components inside the device cost no more than $80 I guess. And of course TomTom must license the map data from Navteq or TeleAtlas, and they have to finance expensive marketing campaigns (also in the US since a few months).

I'm always a sucker for scenarios in which a whole vertical market gets beaten by a killer app. I think the GPS device market runs such a risk. Bear with me for a moment:

  • The TomTom software adds no spectacular value
You can’t perform that action at this time.