Skip to content

Instantly share code, notes, and snippets.

On vacation


On vacation
  • The Netherlands
Block or report user

Report or block cbluth

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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2C9lly8vkPt0s+T1sfVDy9tWXXdPLnRrJZZ/r5u6oe1eZCDJArXr2OxQZFE5xMJrKnAIUkQ+2MxoJcGHBTTRgc5bWyARLZeyD+VlMDjqsi57JxAhTX3xnM8ZXDSEHK/xf9zqMG3UziI2AL/l862xz1PaMCJdX5Q9L8ob++1aOqo/9V5rupmbYo/kOm49w8hImCK0gBVEMHDfUpB7zvdUv+mXrR9Gpru5cgK+cKte8xZ7qnJPzN35npryJ0BncNXErYxo/XnIrTZrmARvLumrmDrRIW5ReGig1Mm+I7Fo9NfTwqZB3PpIRUgT2mr5JveFciS5HgSml2E4Djeoh8TM3 cbluth@dl7490
cbluth / attributes.rb
Created Apr 21, 2019 — forked from lizthegrey/attributes.rb
Hardening SSH with 2fa
View attributes.rb
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam'
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes'
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no'
cbluth /
Created Feb 28, 2019 — forked from talyguryn/
How to get a wildcard ssl certificate and set up Nginx.

How to get and install a wildcard SSL certificate

In this guide you can find how to resolve the following issues.

Feel free to ask any questions in the comments section below.

Created Feb 12, 2019 — forked from xbb/README
IDRAC6 Virtual Console Launcher
Use this as an example on how to start the virtual console without the need of Java Web Start or accessing it from the web interface.
You can use the user and password that you use for the web interface.
You need an old JRE... I used 1.7.0_80 from the Server JRE package, also I have tested successfully 1.7.0_79 with MacOS.
You don't need to install it, just extract it or copy the files in "jre" folder.
Open the viewer.jnlp file that you get by launching the virtual console from the web interface with a text editor.
Note the urls to the jar files. Download the main jar file avctKVM.jar and the libs for your operating system and architecture.
Extract the dlls (.so Linux, .jnilib MacOS) from the jar libs.
cbluth / imgur-example.html
Created Feb 11, 2019 — forked from homam/imgur-example.html
html2canvas example
View imgur-example.html
<script src=""></script>
<script src=""></script>
<form method="POST" enctype="multipart/form-data" action="" id="myForm">
<input type="hidden" name="img_val" id="img_val" value="" />
<div id="more">
<h1 style='color: red'> hello </h1>
<iframe src="">
View nginx-debian-rules.patch
--- rules 2019-01-24 17:12:07.955804027 +0100
+++ rules 2019-01-24 17:12:42.919835061 +0100
@@ -103,7 +103,8 @@
--add-dynamic-module=$(MODULESDIR)/http-dav-ext \
--add-dynamic-module=$(MODULESDIR)/http-echo \
--add-dynamic-module=$(MODULESDIR)/http-upstream-fair \
- --add-dynamic-module=$(MODULESDIR)/http-subs-filter
+ --add-dynamic-module=$(MODULESDIR)/http-subs-filter \
+ --add-dynamic-module=/usr/local/src/nginx-auth-ldap
cbluth / Cloud Storage Backup
Created Jan 16, 2019 — forked from briantkatch/Cloud Storage Backup
Tutorial for making an encrypted backup on cloud storage using rclone.
View Cloud Storage Backup

Amazon Cloud Drive Advisory

Over the past few days, a security issue came to light regarding an authentication service used by another tool, acd_cli. acd_cli had its authentication keys for Amazon Cloud Drive blocked after Amazon engineers reviewed their source code for their authentication service and found a security issue.

This morning, rclone's authentication keys were apparently blocked by Amazon. No reason has been brought forth at this time, and rclone does not use a cloud service to authenticate users - it uses a local web server. Theories include an influx of rclone users after acd_cli was blocked, people extracting the API authentication keys from rclone and using them with acd_cli, a combination of both, or Amazon wanting to clamp down on heavy users with several terabytes of data, and blocking the tools they use to do so.

The Amazon rep that I spoke with over the phone speculated that it "may be because of a recent event," but offered nothing more. I was offered a full refund, four month

View arango-backup.cronjob.yaml
apiVersion: batch/v1beta1
kind: CronJob
name: arangodb-storage-db-backup
schedule: "0 0 * * *"
View gist:48055456b84fac0358b79a142f1eb83d
package main
import (
const (
ldapServer = ""
View docker-apt-pinning.txt
sudo apt install\
sudo add-apt-repository \
"deb [arch=amd64] $(lsb_release -cs) stable"
curl -fsSL | sudo apt-key add -
You can’t perform that action at this time.