Skip to content

Instantly share code, notes, and snippets.

@JakubOboza
JakubOboza / private-docker-regs-with-free-tiers.markdown
Created May 30, 2019 07:15
Private Docker registry with free tiers for Developers.

List of sites with free tier limits

  • Docker Hub - One private repo/image spot for free
  • Three Scale - Very generous free tier 50GB of space, 500 Pulls a month etc..
  • Canister - 20 private repos with almost no limits on free tier
  • Code Fresh - Free tier for developers

Setup your own private registry

@JakubOboza
JakubOboza / gist:1780601
Created February 9, 2012 15:11
gravatar link generator
#!/usr/bin/env node
var email = process.argv[2];
var crypto = require('crypto');
function trim (str) {
var str = str.replace(/^\s\s*/, ''),
ws = /\s/,
i = str.length;
while (ws.test(str.charAt(--i)));
@JakubOboza
JakubOboza / gist:1454977
Created December 10, 2011 11:48
Node.js File Upload
// from : http://www.componentix.com/blog/9/file-uploads-using-nodejs-now-for-real
var http = require("http");
var url = require("url");
var multipart = require("multipart");
var sys = require("sys");
var events = require("events");
var posix = require("posix");
var server = http.createServer(function(req, res) {

Books about Project Managment and Agile development I found useful.

  • "Agile and iterative development" - Craig Larman
  • "Agile Project Management for Dummies" - Mark C. Layton
  • "Kanban: Successful Evolutionary Change for Your Technology Business" - David J. Anderson, Donald G. Reinertsen

"Agile and iterative development"

If I would to recommend one buy to read on project managmnet it would be this. It talks about key aspects of Scrum, XP, RUP and Evo. This gives you not only foundation about different approaches, but guide how to implemnet them.

Date Confirmed Deaths Recovered
2020-01-31 2
2020-02-01 2 0 0
2020-02-02 2 0 0
2020-02-03 2 0 0
2020-02-04 2 0 0
2020-02-05 2 0 0
2020-02-06 2 0 0
2020-02-07 3 0 0
2020-02-08 3 0 0
require 'date'
require "open-uri"
class Covid19Data
attr_reader :date, :month, :year, :day
def initialize(date)
@date = date
@month = Covid19Data.padded(date.month)
class Animal
constructor: (@name) ->
move: (meters) ->
alert @name + " moved #{meters}m."
class Snake extends Animal
move: ->
alert "Slithering..."
super 5
@JakubOboza
JakubOboza / gist:68b64230e9270403526828d82ff2461e
Created June 30, 2017 15:55 — forked from davidkellis/gist:909449e13905d8bfbd49c30d20f7fbca
Install Ruby 1.8.7 on macOS Sierra (10.12) with rbenv
brew install apple-gcc42 openssl libyaml libffi
xcode-select --install
export CC=/usr/local/bin/gcc-4.2
export CFLAGS='-g -O2'
export RUBY_CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl`
export CONFIGURE_OPTS=--with-openssl-dir=`brew --prefix openssl`
# I had to edit the svn repo URL in /usr/local/Cellar/ruby-build/20160913/share/ruby-build/1.8.7-p375 and change the URL from http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7 to https://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_7
rbenv install 1.8.7-p375