Skip to content

Instantly share code, notes, and snippets.

😅
talk is cheap, show me the code

deanetdavid deanet

😅
talk is cheap, show me the code
Block or report user

Report or block deanet

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@deanet
deanet / ceph.conf
Created Jul 17, 2019
ceph openstack rocky
View ceph.conf
[global]
fsid = ac9b148c-e413-48ae-8adc-93a5cca6e88a
mon_initial_members = ceph1
mon_host = 10.10.2.205
auth_cluster_required = cephx
auth_service_required = cephx
auth_client_required = cephx
osd pool default size = 2
osd pool default min size = 1
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
@deanet
deanet / kickstart-for-pxeboot-coreos
Created Jan 16, 2018 — forked from uzyexe/kickstart-for-pxeboot-coreos
Kickstart default PXElinux for coreos
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
@deanet
deanet / docker-ssl-deployment.sh
Created Oct 17, 2017 — forked from jshimko/docker-ssl-deployment.sh
Deploy Reaction Commerce on Digital Ocean with Nginx and a Let's Encrypt SSL certificate
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
@deanet
deanet / How to configure multiple modem PlaySMS Gammu
Created Sep 15, 2016
How to configure multiple modem PlaySMS Gammu
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.
@deanet
deanet / Install dan Configure PlaySMS Web Interface Gammu
Created Sep 15, 2016
Install dan Configure PlaySMS Web Interface Gammu
View Install dan Configure PlaySMS Web Interface Gammu
Install dan Configure PlaySMS Web Interface Gammu
@deanet
deanet / Install Gammu SMS Server Gateway Ubuntu 14.04.4 LTS
Last active Sep 15, 2016
Install Gammu SMS Server Gateway Ubuntu 14.04.4 LTS
View Install Gammu SMS Server Gateway Ubuntu 14.04.4 LTS
Install Gammu SMS Server Gateway Ubuntu 14.04.4 LTS
You can’t perform that action at this time.