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
### Keybase proof | |
I hereby claim: | |
* I am iwittkau on github. | |
* I am ramgni (https://keybase.io/ramgni) on keybase. | |
* I have a public key ASD4N-n7NwLGt9-J50u_TYe1bXYauZBG4DX-F5GsOqeAywo | |
To claim this, I am signing this object: |
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
on run {input, parameters} | |
set output to "" | |
tell application "Safari" | |
--Count the number of Tabs | |
set numTabs to number of tabs in window 1 | |
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 | |
VERSION="1.0.1.linux-armv7" | |
wget https://github.com/prometheus/node_exporter/releases/download/v1.0.1/node_exporter-$VERSION.tar.gz | |
wget https://raw.githubusercontent.com/prometheus/node_exporter/master/examples/systemd/node_exporter.service | |
wget https://raw.githubusercontent.com/prometheus/node_exporter/master/examples/systemd/sysconfig.node_exporter | |
tar xvfz node_exporter-$VERSION.tar.gz |
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
# Quickly jumpstart a local go playground | |
# This is a function I keep in my .bashrc / .zshrc to open a local Go playground for quick prototyping or tests. | |
# If you use something other than macOS and Visual Studio Code you have to edit line 14. | |
# | |
# Example: | |
# | |
# $ goplay test | |
# | |
# This will create `~/go/src/playground/test` containing a `main.go` and runs `go mod init playground/tes` | |
# |
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
<style type="text/css"> | |
.photo, | |
.photo-link { | |
width: 255px; | |
height: 255px; | |
} | |
.photo { | |
background-size: cover; | |
background-position: center; |