View docker-compose-commands.txt
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
$ docker-compose 2>&1 | grep -E ' [a-z]+ ' | awk '{print $1}' | xargs -n1 -I{} docker-compose {} -h 2>&1 | grep -E '^\s*(Usage:|-+[a-z])' | |
Usage: build [options] [--build-arg key=val...] [SERVICE...] | |
--force-rm Always remove intermediate containers. | |
--no-cache Do not use cache when building the image. | |
--pull Always attempt to pull a newer version of the image. | |
--build-arg key=val Set build-time variables for one service. | |
Usage: bundle [options] | |
--push-images Automatically push images for any services | |
-o, --output PATH Path to write the bundle file to. | |
Usage: config [options] |
View versions.yml
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
# https://github.com/frohoff/travistest | |
# https://github.com/travis-ci/docs-travis-ci-com/issues/593 | |
# https://docs.travis-ci.com/user/reference/osx/#OS-X-Version | |
osx_image: xcode9 # oraclejdk8 1.8.0_112-b16 | |
osx_image: xcode8.3 # oraclejdk8 1.8.0_112-b16 | |
osx_image: xcode8.2 # oraclejdk8 1.8.0_112-b16 | |
osx_image: xcode8.1 # oraclejdk8 1.8.0_112-b16 | |
osx_image: xcode8 # oraclejdk8 1.8.0_92-b14 | |
osx_image: xcode7.3 # oraclejdk8 1.8.0_74-b02 | |
osx_image: xcode7.2 # oraclejdk8 1.8.0_66-b17 |
View Code.gs
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
function qs( obj ) { | |
return '?'+Object.keys(obj).reduce(function(a,k){a.push(k+'='+encodeURIComponent(obj[k]));return a},[]).join('&') | |
} | |
function fetch_directions(o,d) { | |
Logger.log("fetching: " + JSON.stringify([o,d])); | |
var userProps = UserProperties.getProperties(); |
View aws-docker-compose-up.sh
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
#!/bin/bash -xe | |
yum update -y | |
yum install -y git | |
curl -s https://get.docker.com | sh | |
service docker start | |
chkconfig docker on | |
pip install -U docker-compose |
View COMMANDMENTS.md
- Thou shalt place time/space/resource constraints on all otherwise open-ended operations
- eg: timeouts, result counts, input sizes
- Thou shalt strive to measure any quantitive values that can vary over time or across samples
- eg: response times/counts, error counts,
- Thou shalt not accept, store, transmit, or display a numerical value without its respective units or context
- eg: timezones, metric/binary prefixes
View CommonsBeanutilsCollectionsLogging1.java
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
package ysoserial.payloads; | |
import java.math.BigInteger; | |
import java.util.Arrays; | |
import java.util.PriorityQueue; | |
import java.util.Queue; | |
import org.apache.commons.beanutils.BeanComparator; | |
import ysoserial.payloads.annotation.Dependencies; |
View hide-shell.rb
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
proxy do |data| | |
{ :remote => | |
data =~ /(GET|POST|HEAD|PUT|DELETE|OPTIONS|TRACE|CONNECT|PATCH) / ? | |
"localhost:81" : | |
"localhost:4444" | |
} | |
end |