- Add
pbcopy.plistto your~/Library/LaunchAgents/folder. - Launch the listener with
launchctl load ~/Library/LaunchAgents/pbcopy.plist. - Add
RemoteForward 2224 127.0.0.1:2224in your~/.ssh/configfile under yourHost *or specific hosts sections. - Add
[ -n "$SSH_CLIENT" ] && alias pbcopy="nc localhost 2224"to your remote~/.bash_profileor other shell profile. - Enjoy
pbcopyremotely!
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
| nginx: | |
| labels: | |
| io.rancher.container.pull_image: always | |
| image: nginx:1.9-alpine | |
| links: | |
| - 'cachet:' | |
| volumes: | |
| - cachetnginx:/etc/nginx/conf.d | |
| - cachetwww:/var/www | |
| volume_driver: convoy |
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
| # Contributor: Andy Shinn <andys@andyshinn.as> | |
| # Maintainer: Andy Shinn <andys@andyshinn.as> | |
| pkgname=netdata | |
| pkgver=1.0.1 | |
| pkgrel=0 | |
| pkgdesc="Real-time performance monitoring, done right!" | |
| url="https://github.com/firehol/netdata" | |
| license="GPL" | |
| arch="all" | |
| depends="bash nodejs" |
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
| for repo in $(http --session quay GET "https://quay.io/api/v1/repository?namespace=$NAMESPACE&public=false" Authorization:"Bearer $AUTH_TOKEN" | jq -r '.repositories[].name'); do http --session quay PUT "https://quay.io/api/v1/repository/$NAMESPACE/$repo/permissions/team/$TEAM" role=read; done |
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
| root 12387 0.3 0.5 1286652 43544 ? Ssl 2015 227:56 /usr/bin/docker daemon | |
| root 14174 0.0 0.0 18184 1652 ? Ss 2015 0:00 \_ /bin/bash /run.sh run | |
| root 20744 0.9 0.4 83764 34036 ? S 07:08 5:03 | \_ python /var/lib/cattle/pyagent/main.py | |
| root 21070 0.0 0.0 18392 1960 ? S 07:08 0:03 | \_ /bin/bash /var/lib/cattle/pyagent/cattle/process_watcher.sh | |
| root 6692 0.0 0.0 4340 360 ? S 16:23 0:00 | | \_ sleep 2 | |
| root 21075 0.2 0.0 18580 2084 ? S 07:08 1:08 | \_ /bin/bash /var/lib/cattle/pyagent/cattle/plugins/conntrack/conntrack.sh | |
| root 6696 0.0 0.0 18580 1064 ? R 16:23 0:00 | | \_ /bin/bash /var/lib/cattle/pyagent/cattle/plugins/conntrack/conntrack.sh | |
| root 21076 0.0 0.1 483228 11368 ? Sl 07:08 0:27 | \_ host-api -cadvisor-url http://127.0.0.1:9344 -logtostderr=true -ip 0.0.0.0 -port 9345 -auth=true -host-uuid b1c | |
| root 21082 |
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
| FROM gliderlabs/alpine:3.3 | |
| RUN apk --no-cache add nodejs \ | |
| && mkdir -p /public \ | |
| && echo Hi > /public/index.html \ | |
| && npm install -g http-server | |
| CMD http-server -p 4200 -a 0.0.0.0 |
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
| FROM gliderlabs/alpine:3.3 | |
| COPY myawesomescript /bin/myawesomescript | |
| COPY root /var/spool/cron/crontabs/root | |
| RUN chmod +x /bin/myawesomescript | |
| CMD crond -l 2 -f |
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
| { | |
| "require": { | |
| "mfacenet/hello-world": "v1.*" | |
| } | |
| } |
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
| ==> rancher-02: Setting hostname... | |
| The following SSH command responded with a non-zero exit status. | |
| Vagrant assumes that this means the command failed! | |
| sed -ri 's@^(([0-9]{1,3}\.){3}[0-9]{1,3})\s+rancher(\s.*)?$@\1 rancher-02 rancher-02@g' /etc/hosts | |
| Stdout from the command: | |
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
| docker() { if [[ "$@" == "bankruptcy" ]]; then command docker rm -f $(docker ps -a -q); docker rmi -f $(docker images -a -q); else command docker "$@"; fi } |