Skip to content

Instantly share code, notes, and snippets.

View Tobishua's full-sized avatar

Roman Grossi Tobishua

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="alice" language="en-US">
Hello! I am, Scalable monitoring system!
Something bad happend! Check monitoring!
Hello! I am, Scalable monitoring system!
Something bad happend! Check monitoring!
Hello! I am, Scalable monitoring system!
Something bad happend! Check monitoring!
Hello! I am, Scalable monitoring system!
<?xml version="1.0" encoding="UTF-8"?>
<Response>
<Say voice="Polly.Salli" language="en-US">
Hello! I'm, Improvy monitoring system! This is a critical alert.
</Say>
</Response>
#!/usr/bin/env sh
#
which_cmd() {
which "${1}" 2>/dev/null || \
command -v "${1}" 2>/dev/null
}
check_cmd() {
which_cmd "${1}" >/dev/null 2>&1 && return 0
//source: https://blog.dcpos.ch/how-to-make-your-electron-app-sexy
var notif = new window.Notification('Album loaded!', {
body: obj.info.title,
silent: true // We'll play our own sound
})
// If the user clicks in the Notifications Center, show the app
notif.onclick = function () {
ipcRenderer.send('focusWindow', 'main')

Keybase proof

I hereby claim:

  • I am Tobishua on github.
  • I am tobishua (https://keybase.io/tobishua) on keybase.
  • I have a public key whose fingerprint is 73D8 EAC3 29A8 CE3E 5A11 A393 B4C5 339D FFCF 3626

To claim this, I am signing this object: