Skip to content

Instantly share code, notes, and snippets.

View agilebooks.markdown

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.

View italy-covid.csv
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
View covid19data.rb
require 'date'
require "open-uri"
class Covid19Data
attr_reader :date, :month, :year, :day
def initialize(date)
@date = date
@month = Covid19Data.padded(date.month)
@JakubOboza
JakubOboza / private-docker-regs-with-free-tiers.markdown
Created May 30, 2019
Private Docker registry with free tiers for Developers.
View private-docker-regs-with-free-tiers.markdown

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

View lols.coffee
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 Jun 30, 2017 — forked from davidkellis/gist:909449e13905d8bfbd49c30d20f7fbca
Install Ruby 1.8.7 on macOS Sierra (10.12) with rbenv
View gist:68b64230e9270403526828d82ff2461e
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
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@JakubOboza
JakubOboza / say_to_file.markdown
Last active Mar 7, 2017
Speech 'say' on mac to mp3 file
View say_to_file.markdown

Create Aiff file from yout text input

You can do it like this say -f script.txt -o say_output.aiff with text file input or like this say "hello you cheeky scrublords" -o say_output.aiff

Converting to Mp3

Convert using lame like this lame -m m say_output.aiff final_speech.mp3

View Gateway.scala
// Simple bulk only Gateway
// url is for DR (Delivery Reports)
case class Service(name: String, url: String)
// Params your API gets in
case class HttpMessage(service: String, originator: String, msisdn: String, body: String)
// Handles MT's and MO's (maybe should contain service name for sake of simplicity)
case class MQMessage(guid: String, msisdn: String, originator: String, body: String)
// Types of DR's you could send