This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
beforeAll(function (done) { | |
console.log('BEFORE ALL'); | |
Ext.Ajax.request({ | |
url: AN_URL, | |
method: 'GET', | |
// the http request is going well, so let's skip the failure fn definition | |
success: function () { | |
console.log('starting'); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: node-backend | |
spec: | |
replicas: 2 | |
template: | |
metadata: | |
labels: | |
app: node-backend |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Telegraf Configuration | |
# | |
# Telegraf is entirely plugin driven. All metrics are gathered from the | |
# declared inputs, and sent to the declared outputs. | |
# | |
# Plugins must be declared in here to be active. | |
# To deactivate a plugin, comment out the name and any variables. | |
# | |
# Use 'telegraf -config telegraf.conf -test' to see what metrics a config | |
# file would generate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compileOnSave": true, | |
"compilerOptions": { | |
"module": "commonjs", | |
"target": "es6", | |
"sourceMap": true, | |
"experimentalDecorators": true, | |
"emitDecoratorMetadata": true, | |
"lib": [ | |
"es5", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "tslint:latest", | |
"rules": { | |
"semicolon": false, | |
"no-console": false, | |
"quotemark": false, | |
"eofline": false, | |
"no-trailing-whitespace": false, | |
"variable-name": false | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//lsauer.com , lo sauer 2013 | |
//JavaScript List of selected MIME types | |
//A comprehensive MIME List is available here: https://gist.github.com/lsauer/2838503 | |
var mimeTypes = | |
{ | |
'a' : 'application/octet-stream', | |
'ai' : 'application/postscript', | |
'aif' : 'audio/x-aiff', | |
'aifc' : 'audio/x-aiff', | |
'aiff' : 'audio/x-aiff', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Race | |
Add competitors | |
``` | |
commit @race | |
[#competitor id: 0 name: "foo" score: 0] | |
[#competitor id: 1 name: "bar" score: 0] | |
[#competitor id: 2 name: "meh" score: 0] | |
[#competitor id: 3 name: "lel" score: 0] | |
[#competitor id: 4 name: "ghgh" score: 0] | |
[#competitor id: 5 name: "wat" score: 0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myVar = 10 | |
str = "hello world" | |
myVar += 10 | |
print(myVar, str) | |
str += " wilk" | |
print(str) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const SIZE = 100, MAX = 100 | |
Array.apply(null, {length: SIZE}).map(_ => Math.floor(Math.random() * MAX)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# remove dangling volumes | |
docker volume rm $(docker volume ls -qf dangling=true) | |
# nuke cleaning | |
# docker system prune -a -f |