I hereby claim:
- I am gilgamez on github.
- I am gilgamesh (https://keybase.io/gilgamesh) on keybase.
- I have a public key ASAhEF_oRwZ44BBiUYItOZi2UVMfiy_bJOSiIPwZ0EXWBwo
To claim this, I am signing this object:
| launchctl remove com.snap.AssistantService | |
| sudo rm -f ~/Library/LaunchAgents/com.snap.AssistantService.plist | |
| rm -r ~/Library/Caches/Snap/Snap\ Camera | |
| rm -r ~/Library/Preferences/Snap/Snap\ Camera | |
| osascript -e 'do shell script "launchctl remove com.snap.SnapCameraRemover; rm /Library/LaunchDaemons/com.snap.SnapCameraRemover.plist; rm -r /Library/CoreMediaIO/Plug-Ins/DAL/SnapCamera.plugin; exit 0" with administrator privileges' |
| name: Snippet UI | |
| layerType: interactie | |
| locatedAt: Hoorn | |
| description: Vulputate Cursus Ligula Vestibulum Ipsum | |
| status: gewenst | |
| technologyStack: yaml | |
| repositoryURL: https://gist.github.com/gilgamez | |
| dockerImage: scratch | |
| organisationName: Example | |
| contact: [email protected] |
I hereby claim:
To claim this, I am signing this object:
| #!java --source 11 | |
| import java.util.function.Supplier; | |
| import java.util.List; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import java.nio.file.Files; | |
| import java.util.stream.Stream; | |
| public class LogWithSuplier { |
| #!/bin/bash | |
| set -o errexit | |
| echo "Removing exited docker containers..." | |
| docker ps -a -f status=exited -q | xargs -r docker rm -v | |
| echo "Removing dangling images..." | |
| docker images --no-trunc -q -f dangling=true | xargs -r docker rmi |
| const rejectIfUndefined = (value, E = Error, message = '') => new Promise((resolve, reject) => { | |
| if (value) { | |
| resolve(value); | |
| } else { | |
| reject(new E(message)); | |
| } | |
| }); |
| #!/bin/bash | |
| usage () | |
| { | |
| cat <<UsageHERE | |
| boot2docker-fwd -- Helper function to quickly manage port forwards between the boot2docker-vm and the host | |
| Usage: boot2docker-fwd [ -n RULE_NAME ] [ -h HOST_PORT ] [ -p {tcp|udp} ] [ -i HOST_IP ] GUEST_PORT | |
| or boot2docker-fwd -d RULE_NAME | |
| or boot2docker-fwd -l | |
| or boot2docker-fwd -A |
docker-machine create --driver virtualbox default (this is the default with Docker toolkit).The git.io URL (https://git.io/v2tb5) is a shortened form of the raw url of the plist.
| #!/bin/sh | |
| IN=${1:--} | |
| OUT=${2:-/dev/tty} | |
| # see http://stackoverflow.com/questions/11532157/unix-removing-duplicate-lines-without-sorting#11532197 | |
| awk '!x[$0]++' $IN >$OUT |
| #!/bin/bash | |
| SSH_SERVER=<some host config ssh understands> | |
| VERBOSITY=-v | |
| cat <<-EOF | | |
| # My Project | |
| 172.16.103.183/29 # buildserver | |
| 172.16.228.219/28 # issuetracker | |
| 172.16.228.246/26 # test |