I hereby claim:
- I am fvosberg on github.
- I am fvosberg (https://keybase.io/fvosberg) on keybase.
- I have a public key ASD1sn8Pv6Nl9lpnTNk55yslv8Jrnud-BTBzHURnKpNHlgo
To claim this, I am signing this object:
# Go build | |
FROM golang:1.14 as build-go | |
ARG BUILD_TAG | |
ARG BUILD_DATE | |
ENV CGO_ENABLED=0 | |
ENV GO111MODULE=on | |
ENV GOOS=linux | |
ENV GOPATH=/ |
variables: | |
GIT_SUBMODULE_STRATEGY: recursive | |
check_submodule_updates: | |
stage: test | |
# a warning is sufficient for this check, it should not prevent a deployment | |
allow_failure: true | |
script: | |
- cd path-to-submodule | |
- git fetch origin |
I hereby claim:
To claim this, I am signing this object:
#!/usr/local/bin/python3.6 | |
import random | |
random.seed() | |
l = [x + 1 for x in range(random.randint(3,8))] | |
nParams = random.randint(1,3) | |
print("l = ", l) |
#!/usr/local/bin/python3.6 | |
def init_hr(): | |
number = 0 | |
def inner(): | |
nonlocal number | |
number += 1 | |
print("============================================================================") | |
print("============================== UEBUNG ", number, "===================================") | |
print("============================================================================") |
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer |
eval `ssh-agent` # or | |
exec ssh-agent bash | |
ssh-add |
function executeWithJquery(callback) { | |
(function($){ | |
if(!$) { | |
if(typeof console === 'object') { | |
console.log('This plugin requires jQuery.'); | |
} | |
return; | |
} | |
callback(); | |
})((typeof jQuery !== "undefined" ? jQuery : null)); |
var gulp = require('gulp'); | |
var exec = require('child_process').exec; | |
var path = require('path'); | |
var fs = require('fs'); | |
gulp.task('phpunit', function() { | |
var class_file_to_test_file = function(class_path) { | |
var test_file = class_path.replace(/\/Classes\//g, '/Tests/Unit/'); | |
return test_file.slice(0, -4) + 'Test.php'; | |
}; |
$size = memory_get_usage(TRUE); | |
$unit = array('b','kb','mb','gb','tb','pb'); | |
$mem = @round($size/pow(1024,($i=floor(log($size,1024)))),2).' '.$unit[$i]; |