Skip to content

Instantly share code, notes, and snippets.

A/B Testing

Optimizely

click goals
measures how often visitors click an element

url targeting

@jucke
jucke / medium-scrum-quick-reference.csv
Last active August 2, 2020 13:43
Scrum Events Quick Reference
Event Inspection Adaptation Who Attends Time-box for 1 Month
Sprint Planning Product Backlog Sprint Goal, Forecast, Sprint Backlog Scrum Team 8 hours
Daily Scrum Progress toward Sprint Goal Sprint Backlog Development Team 15-minutes (always)
Sprint Review Increment, Sprint, Product Backlog Product Backlog Scrum Team, Stakeholders 4 hours
Sprint Retrospective Sprint Actionable and committed improvements Scrum Team 3 hours
// Base64 encode
val text = "This is plaintext."
val bytesEncoded = java.util.Base64.getEncoder.encode(text.getBytes())
// Base64 decode
val textDecoded = new String(java.util.Base64.getDecoder.decode(bytesEncoded))
println(textDecoded)
@jucke
jucke / diff_list_parser
Created April 21, 2020 22:06
Diff transformer
Let's say you have a diff:
```
838a839
> p088x0zn|
841a843
> p088x0zt|
1167a1170
> p088z03m|
etc.
@jucke
jucke / fix_virtualenv
Created January 24, 2020 11:35 — forked from tevino/fix_virtualenv
Fix python virtualenv after python update
#!/usr/bin/env bash
ENV_PATH="$(dirname "$(dirname "$(which pip)")")"
SYSTEM_VIRTUALENV="$(which -a virtualenv|tail -1)"
BAD_ENV_PATHS="/usr/local"
echo "Ensure the root of the broken virtualenv:"
echo " $ENV_PATH"
@jucke
jucke / PULL_REQUEST_TEMPLATE.md
Created December 31, 2019 15:34
Best PR template ever

Ticket

https:///browse/TICKET-NUMBER

Changes

  • Details of changes go here, feel free to put any extra info here - we don't mind.

The PR fulfils these requirements:

@jucke
jucke / get_ssm_parameters.js
Created March 24, 2019 15:18 — forked from sonodar/get_ssm_parameters.js
Get secret parameters from Amazon EC2 Parameter Store
if (process.argv.length < 3) {
throw `Usage: ${process.argv[1]} path_prefix`
}
const PATH_PREFIX = process.argv[2]
const path = require('path')
const AWS = require('aws-sdk')
const ssm = new AWS.SSM()
function getParametersByPath(nextToken, callback) {
@jucke
jucke / README.md
Created March 29, 2018 13:30 — forked from magnetikonline/README.md
Install VirtualBox 5.1/5.2 guest additions on Ubuntu server guest.

Install VirtualBox guest additions onto Ubuntu server guests

Have tested these instructions successfully under an Ubuntu 16.04LTS guest with a VirtualBox 5.1 and 5.2 host.

Install steps

  • Create Ubuntu server instance under VirtualBox (obviously).
  • Start VM, goto Devices - Insert Guest Additions CD image to mount the ISO image.
@jucke
jucke / keybase.md
Created March 29, 2018 11:44
keybase

Keybase proof

I hereby claim:

  • I am jucke on github.
  • I am jucke (https://keybase.io/jucke) on keybase.
  • I have a public key whose fingerprint is 31E2 B8F0 0C58 CED3 6468 2888 EE56 9782 C74F 076F

To claim this, I am signing this object:

@jucke
jucke / data-sets.md
Created December 24, 2017 00:09 — forked from campeterson/data-sets.md
Data sets