Skip to content

Instantly share code, notes, and snippets.

IanColdwater / twittermute.txt
Last active March 10, 2023 18:28
Here are some terms to mute on Twitter to clean your timeline up a bit.
View twittermute.txt
Mute these words in your settings here:
xbb / README
Last active March 7, 2023 10:37
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.
mikhailov / gist:9639593
Last active February 28, 2023 09:02
Nginx S3 Proxy with caching
View gist:9639593
events {
worker_connections 1024;
http {
default_type text/html;
access_log /dev/stdout;
sendfile on;
keepalive_timeout 65;
briancline / ceph-grow-rbd-xfs
Last active September 16, 2020 13:42
Growing a Ceph RBD volume and an XFS filesystem contained within
View ceph-grow-rbd-xfs
# df -h /dev/rbd0
Filesystem Size Used Avail Use% Mounted on
/dev/rbd0 1.5T 1.5T 557M 100% /mnt/media
# rbd info media/media01
rbd image 'media01':
size 1536 GB in 393216 objects
order 22 (4096 kB objects)
block_name_prefix: rb.0.1098.74b0dc51
format: 1
kyledrake / password.rb
Created June 6, 2012 18:55
Geoloqi's Password Encryption Code
View password.rb
# Due to recent concerns regarding password safety, Geoloqi has decided to publicly release the code
# that we use to do password hashing. After consulting with the community, this code now uses BCrypt for hashing
# (, which is based on blowfish, uses an integrated
# salting mechanism, and makes brute forcing expensive for attackers. It is widely used in the industry for
# production environments.
# Improvement suggestions are always welcome. Geoloqi takes security very seriously, and designs our systems to
# be as security-oriented as practically possible. We also believe in security transparency, because it leads to
# better security than obscurity, and is a more honest interaction with our customers.