Skip to content

Instantly share code, notes, and snippets.

View faiberts's full-sized avatar
💭
I may be slow to respond.

Osvaldo Alvarado faiberts

💭
I may be slow to respond.
  • Usa
View GitHub Profile
### Keybase proof
I hereby claim:
* I am faiberts on github.
* I am faiberts (https://keybase.io/faiberts) on keybase.
* I have a public key ASC4AOjy41syVQETLtFFVvNsH0d7_wZud9I3u_CAAql54wo
To claim this, I am signing this object:
#!/bin/bash
# This is a script to send a notification from OTRS to Mattermost.
# Create a new Generic Agent and select "TicketCreate" under event based events.
# Finally, put in the path to the script into the command box.
# Of course you could use it for different notifications, but OTRS is only giving the ticket number and id to the script.
header="Content-Type: application/json"
ticketid=$2
request_body=$(< <(cat <<EOF
@faiberts
faiberts / 0_reuse_code.js
Last active August 29, 2015 14:22
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console