ueoaueoaueoa
ueoaueoau
ueo
// build/electron-publisher-custom.js | |
// | |
// This publisher copies files to publish/ folder, to be rsync/upload-ed to any generic HTTP(s) server. | |
// | |
// package.json: | |
// | |
// "publish": { | |
// "provider": "custom" | |
// } | |
// |
app: | |
image: swarmpit/swarmpit:1.9 | |
healthcheck: | |
test: | |
- CMD | |
- curl | |
- -f | |
- -H | |
- "Authorization: Bearer XXXXXXX" | |
- http://localhost:8080/api/services |
const resolve = require('resolve'); | |
const Path = require('path'); | |
// | |
// Play together with: | |
// | |
// * https://github.com/entwicklerstube/babel-plugin-root-import | |
// * https://github.com/benmosher/eslint-plugin-import | |
// | |
// API: https://github.com/benmosher/eslint-plugin-import/blob/master/resolvers/README.md | |
// |
# Usage: | |
# | |
# Paste these functions into your `.*shrc`, and re-open a new session. Then | |
# you can use `rails`, `rake`, `rspec` to launch their zeus equivalance. If you | |
# need to invoke a bash script contains those commands, you'll have to call it | |
# by `source xxxx.sh`. | |
# | |
# It works under rbenv. But not tested under rvm (rvm use shell functions, so it may | |
# not be compliant with these functions) |
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; |
ueoaueoaueoa
ueoaueoau
ueo
web: node server.js |
web: node server.js |
#!/usr/bin/env coffee | |
if process.argv.length!=5 | |
throw new Error 'Usage: ./getroutes.iced input.rsc RTNAME NEXTHOP' | |
fs = require 'fs' | |
{ | |
exec | |
} = require 'child_process' | |
for route in fs.readFileSync(process.argv[2], 'utf8').match /[\d]+\.[\d]+\.[\d]+\.[\d]+\/[\d]+/g |