I hereby claim:
- I am latenssi on github.
- I am laurijunkkari (https://keybase.io/laurijunkkari) on keybase.
- I have a public key ASA-JQHVrnZHuW7j8BoGR47j3luWLUvKepDIpu09KBk8ygo
To claim this, I am signing this object:
import random | |
import sys | |
no_balls = 39 | |
no_rows = 6 | |
row_length = 7 | |
fillers = (32, 39) | |
if no_balls > row_length * no_rows: | |
sys.exit('Too many balls!') |
import os,urllib | |
from random import choice | |
from django.conf import settings | |
TYPES = [ | |
'abstract', | |
'city', | |
'people', | |
'transport', | |
'animals', |
I hereby claim:
To claim this, I am signing this object:
const hyphencaseToCamelcase = s => s.replace(/(\-\w)/g, m => m[1].toUpperCase()); |
date --date='TZ="Europe/London" 12:00 tomorrow' +%s%N | cut -b1-13 |
rmate test.txt |
Clone the git repository https://github.com/awslabs/amazon-ecr-credential-helper.git
cd to the cloned folder "amazon-ecr-credential-helper"
Run the command on terminal "make docker" (it will create the binary "./bin/local/docker-credential-ecr-login")
Copy this binary to /usr/bin with the command " sudo cp ./bin/local/docker-credential-ecr-login /usr/bin/docker-credential-ecr-login
Create or modify the docker config.json file available at /.docker/config.json with the below content
const IPFS = require("ipfs"); | |
const OrbitDB = require("orbit-db"); | |
const ipfs = new IPFS({ | |
repo: "./ipfs", | |
EXPERIMENTAL: { | |
pubsub: true | |
} | |
}); |
from __future__ import print_function | |
import os | |
import json | |
try: | |
from urllib.request import Request, urlopen # Python 3 | |
except ImportError: | |
from urllib2 import Request, urlopen # Python 2 |
#!/bin/bash | |
SERVICE_NAME= | |
FAIL_URL= | |
OK_URL= | |
if [ -z `docker ps -q --no-trunc | grep $(docker-compose ps -q $SERVICE_NAME)` ]; | |
then curl -fsS --retry 3 $FAIL_URL; | |
else curl -fsS --retry 3 $OK_URL; | |
fi |