ls -l --color | perl -npe 's/\x1b(\[.*?[@-~]|\].*?(\x07|\x1b\\))//g;'
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
[Desktop Entry] | |
Name=Minecraft Pi MCP | |
Comment=Fun with Blocks | |
# TryExec=minecraft-pi | |
Exec=/home/pi/mcp.sh | |
Icon=/usr/share/pixmaps/minecraft-pi.png | |
Terminal=false | |
Type=Application | |
Categories=Application;Game; | |
StartupNotify=true |
- Binary Builds
oc new-build --binary=true --name=ola2 --image-stream=redhat-openjdk18-openshift
oc start-build ola2 --from-file=./target/ola.jar --follow
oc new-app
- Turn off/on DC triggers to do a batch of changes without spam many deployments
If you have a Hue dimmer switch: press and hold the On and Off buttons for 10 secs while holding the switch close (< 15 cm) to the bulb.
- Reset Light (see above)
- Delete Light from Deconz Gui
- Open Network
- Register new light
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
<section data-background-transition='zoom' data-transition='concave' data-background='http://ryanjarvinen.com/presentations/shared/img/broadcast_reveal_dark.png' data-state='blackout'> | |
<h2>Gist-Powered</h2> | |
<h1>Reveal.js</h1> | |
<h2>Slideshow Presentations</h2> | |
<br/> | |
<h1 class='fragment grow'><a style='color:deepskyblue;' href='http://gist-reveal.it'>gist-reveal.it</a></h1> | |
</section> | |
<section data-background-transition='zoom' data-transition='linear' id='try-it'> | |
<h2>Try it out!</h2> | |
<p>Create your own deck by forking a copy of <a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>this github gist</a>: <br /><a href='https://gist.github.com/ryanj/af84d40e58c5c2a908dd'>https://gist.github.com/ryanj/af84d40e58c5c2a908dd</a></p> |
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
# INSTANCE_RAM examples | |
# INSTANCE_RAM=8G or INSTANCE_RAM=12m | |
regex='^([[:digit:]]+)([GgMm])$' | |
if [[ "${INSTANCE_RAM}" =~ $regex ]]; then | |
num=${BASH_REMATCH[1]} | |
unit=${BASH_REMATCH[2]} | |
if [[ $unit =~ [Gg] ]]; then | |
((num = num * 1024)) # enables math to work out for odd gigs | |
fi |
spec:
nodeSelector: {}
output: {}
postCommit: {}
resources: {}
runPolicy: Serial
strategy:
jenkinsPipelineStrategy:
env:
docker-machine rm default
docker-machine upgrade default
docker-machine create -d virtualbox --virtualbox-memory 8192 --virtualbox-cpu-count "2" --virtualbox-disk-size "30000" default
export TOKEN=yourtoken
ansible all -m setup --tree /tmp/dump_path
ansible-playbook -i PLBK/hosts PLBK/any.yml
https://docs.ansible.com/ansible/latest/playbooks_loops.html#loop-control