Skip to content

Instantly share code, notes, and snippets.

View myururdurmaz's full-sized avatar

Muhammed YÜRÜRDURMAZ myururdurmaz

View GitHub Profile
@danriti
danriti / hipchat-v2.sh
Last active July 19, 2021 10:49
HipChat API v2 - Send a message to a room using cURL
#!/bin/bash
# Set the ROOM_ID & AUTH_TOKEN variables below.
# Further instructions at https://www.hipchat.com/docs/apiv2/auth
ROOM_ID=XXX
AUTH_TOKEN=XXX
MESSAGE="Hello world!"
curl -H "Content-Type: application/json" \
@lionelg3
lionelg3 / jboss-as
Created July 18, 2012 10:28
General configuration for the JBoss AS 7.1.1-Final init.d scripts for Debian (/etc/jboss-as/jboss-as.conf and /etc/init.d/jboss-as)
#!/bin/sh
# Load JBoss AS init.d configuration.
if [ -z "$JBOSS_CONF" ]; then
JBOSS_CONF="/etc/jboss-as/jboss-as.conf"
fi
[ -r "$JBOSS_CONF" ] && . "${JBOSS_CONF}"
if [ -z "$JBOSS_HOME" ]; then