This file contains hidden or 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
| version: "3.7" | |
| #https://github.com/compose-spec/compose-spec/blob/master/spec.md#using-extensions-as-fragments | |
| x-logging: &default-logging | |
| options: | |
| max-size: "100m" | |
| max-file: "5" | |
| driver: json-file | |
| services: | |
| # hook in case we need to add init behavior | |
| # every root service (no depends_on) should depend on init |
This file contains hidden or 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
| { | |
| "items": [{ | |
| "application": "00002bbe-0802-4b47-97d8-dd7c0c3f5ea2", | |
| "application_status": "ACTIVATED", | |
| "email": "testuser@email.com", | |
| "activated_at": 1596184655, | |
| "cancel_at": 1596184655, | |
| "financed_amount": 3246, | |
| "financed_apr": 14.9, | |
| "financed_term_months": 12, |
This file contains hidden or 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
| /usr/bin/docker run --rm --name mesos_slave | |
| --net=host | |
| --privileged | |
| -p 5051:5051 | |
| -v /sys:/sys | |
| -v /proc:/host/proc:ro | |
| -v /usr/bin/docker:/usr/bin/docker:ro | |
| -v /var/run/docker.sock:/var/run/docker.sock | |
| -v /lib64/libdevmapper.so.1.02:/lib/libdevmapper.so.1.02:ro | |
| -e "MESOS_MASTER=zk://172.31.1.11:2181,172.31.1.12:2181,172.31.1.13:2181/mesos" |
This file contains hidden or 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 | |
| # works with a file called VERSION in the current directory, | |
| # the contents of which should be a semantic version number | |
| # such as "1.2.3" | |
| # this script will display the current version, automatically | |
| # suggest a "minor" version update, and ask for input to use | |
| # the suggestion, or a newly entered value. |
This file contains hidden or 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
| fpm -s pear -t rpm --pear-channel pear.phing.info phing |
This file contains hidden or 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
| ControlMaster auto | |
| ControlPath /tmp/%h_%p_%r | |
| ControlPersist 1800 | |
| # Check that the connection is still available every 15 seconds. If three | |
| # consecutive attempts fail drop the connection. | |
| # This is useful to automatically drop closed connections which is especially | |
| # useful when using tools such as autossh. While they tend to have their own | |
| # heartbeats (ping tunnels and echo services) they tend to be very fragile. | |
| ServerAliveInterval 15 |