View gist:f85f10f6d30d5511da4b9eed33bcfe2f
# basic pfctl control
# ==
# Related: http://www.OpenBSD.org
# Last update: Tue Dec 28, 2004
# ==
# Note:
# this document is only provided as a basic overview
# for some common pfctl commands and is by no means
# a replacement for the pfctl and pf manual pages.
View greasemonkey.wa.js
// ==UserScript==
// @name Whatsapp
// @namespace graphen
// @version 2.0
// @description Add button and hotkey to hide contact names and avatars on web.whatsapp.com
// @author Graphen
// @match https://web.whatsapp.com/
// @icon https://i.imgur.com/LeZuNg7.png
// @grant none
// ==/UserScript==
View ar-raudhah.live.sh
#!/bin/bash
##auto detect live stream at youtube channel ar-raudhah
#*/5 * * * * /bin/bash -x /home/raudhah/bin/ar-raudhah.live.sh
currentid=`cat /tmp/currentid.txt`
newid=`/usr/bin/curl -vvv -L "https://www.youtube.com/user/arraudhahsolo" | grep "yt-badge-live" -B 10 | grep -A 5 "yt-lockup-title" | grep watch | sed -e 's/^.*\/watch?v=//g' | cut -d \" -f 1`
if [ "$newid" == "" ]; then
View kickstart-for-pxeboot-coreos
default coreos
prompt 1
timeout 15
display boot.msg
label coreos
menu default
kernel http://<your_server_name>/coreos_production_pxe.vmlinuz
append initrd=http://<your_server_name>/coreos_production_pxe_image.cpio.gz cloud-config-url=http://<your_server_name>/cloud-config.yml
View serverbear.sh
#!/bin/bash
# Copyright (C) 2012 Crowd9 Pty Ltd
usage ()
{
echo >&2 "usage: bash $0 'john@example.com' 'MyBox' 'MyProvider.com' [\\\$20/mth]"
}
if [ $# -lt 3 ]
then
View docker-ssl-deployment.sh
# start a server on Digital Ocean
# https://docs.docker.com/machine/drivers/digital-ocean/
docker-machine create \
--driver digitalocean \
--digitalocean-access-token <YOUR API KEY> \
--digitalocean-size 2gb \
reaction
# tell Docker to run commands on that server
View How to configure multiple modem PlaySMS Gammu
How to configure multiple modem PlaySMS Gammu. These are ways to works with outgoing sms (sent reports) and incoming sms (inbox reports) with multiple modem on PlaySMS.
View Install dan Configure PlaySMS Web Interface Gammu
Install dan Configure PlaySMS Web Interface Gammu
View Install Gammu SMS Server Gateway Ubuntu 14.04.4 LTS
Install Gammu SMS Server Gateway Ubuntu 14.04.4 LTS
View install-gcc48-linuxbrew-centos6.md

Installing gcc 4.8 and Linuxbrew on CentOS 6

The GCC distributed with CentOS 6 is 4.4.7, which is pretty outdated. I'd like to use gcc 4.8+. Also, when trying to install Linuxbrew you run into a dependency loop where Homebrew's gcc depends on zlib, which depends on gcc. Here's how I solved the problem.

Note: Requires sudo privileges.

Resources: