Skip to content

Instantly share code, notes, and snippets.

@georgebohnisch
georgebohnisch / gist:ac2ffcca69dbe75a12e407b9a231d954
Created March 7, 2019 20:04
docker-bash: A terminal profile shortcut to jump into a /bin/bash session on a docker container
docker-bash(){
docker exec -it $1 bash -c "stty cols $COLUMNS rows $LINES && bash";
}
export -f docker-bash
@georgebohnisch
georgebohnisch / gist:cdb472e98e196f78dc589e1dd40563f4
Created January 31, 2019 23:04
ffmpeg-normalize compile errors
$ tsc --build tsconfig.json
src/normalizer.ts:49:7 - error TS7017: Element implicitly has an 'any' type because type 'Validator' has no index signature.
49 if (this[name])
~~~~~~~~~~
src/normalizer.ts:51:8 - error TS7017: Element implicitly has an 'any' type because type 'Validator' has no index signature.
51 if (this[name].isValid(Number(value)))
~~~~~~~~~~
<?php
return [
/*
|--------------------------------------------------------------------------
| PDO Fetch Style
|--------------------------------------------------------------------------
|
| By default, database results will be returned as instances of the PHP

Keybase proof

I hereby claim:

  • I am georgebohnisch on github.
  • I am georgebohnisch (https://keybase.io/georgebohnisch) on keybase.
  • I have a public key whose fingerprint is 3012 96C9 F348 86FB 49DE 2E98 8D8F 770D 6106 26F4

To claim this, I am signing this object: