Skip to content

Instantly share code, notes, and snippets.

View rafi's full-sized avatar

Rafael Bodill rafi

View GitHub Profile
@LeCoupa
LeCoupa / bash-cheatsheet.sh
Last active May 11, 2026 17:19
Bash CheatSheet for UNIX Systems --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
#!/bin/bash
#####################################################
# Name: Bash CheatSheet for Mac OSX
#
# A little overlook of the Bash basics
#
# Usage:
#
# Author: J. Le Coupanec
# Date: 2014/11/04
@romainl
romainl / deprecation.md
Last active September 8, 2025 16:21
Idiomatic vimrc
@shamil
shamil / mount_qcow2.md
Last active May 17, 2026 18:02
How to mount a qcow2 disk image

How to mount a qcow2 disk image

This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.

Step 1 - Enable NBD on the Host

modprobe nbd max_part=8
@abtrout
abtrout / pass.md
Created July 8, 2014 14:51
Using password-store with git repository synching

Password-store keeps your passwords (or any other sensitive information) saved in GnuPG encrypted files organized in ~/.password-store. For more information about GPG, consult the GNU Privacy Handbook.

Getting started

To get started, install pass and generate a keypair.

$ brew install pass
$ gpg --gen-key
$ gpg --list-keys
@staltz
staltz / introrx.md
Last active May 16, 2026 20:29
The introduction to Reactive Programming you've been missing
drwxr-xr-x 14 evan users 4.0K Apr 22 13:13 .cache/
drwx------ 34 evan users 4.0K Apr 16 10:10 .config/
drwxr-xr-x 6 evan users 4.0K Dec 16 00:25 .local/
drwx------ 3 evan users 4.0K Mar 21 06:49 .pki/
drwx------ 2 evan users 4.0K Apr 14 05:43 .ssh/
drwxr-xr-x 8 evan users 4.0K Apr 8 04:17 documents/
drwxr-xr-x 8 evan users 4.0K Mar 16 05:17 programming/
drwxr-xr-x 3 evan users 160 Apr 22 13:59 scratch/
lrwxrwxrwx 1 evan users 19 Jul 7 2013 .bashrc -> .config/bash/bashrc
lrwxrwxrwx 1 evan users 34 Jul 7 2013 .profile -> .config/bash/profiles/systemd-user
@pjobson
pjobson / remove_mcafee.md
Last active April 1, 2026 09:46
OSX McAfee Removal

Removal of McAfee from OSX

Note: This was written in 2015, it may be out of date now.

There are a lot of commands here which I use sudo if you don't know what you're doing with sudo, especially where I rm you can severely screw up your system.

There are many reasons which you would want to remove a piece of software such as McAfee, such as not wanting it to hammer your CPU during work hours which seems like primetime for a virus scan.

I intend this to be a living document, I have included suggestions from peoples' replies.

javascript:(function() {
var bookmarklet = {
init: function() {
this.parse();
},
parse: function() {
page = "";
$(".PlaylistPage:visible")
.find(".Track")
.children(".info")
var AnimationRegion = Backbone.Marionette.Region.extend({
innerRegionSelector: '.inner-page-region',
setLayout: function(layout, animationClass) {
this.regionAnimationClass = animationClass;
if (this.currentLayout) {
this.swap(layout);
} else {
@pascalpoitras
pascalpoitras / 1.md
Last active April 29, 2026 20:27
My WeeChat configuration

This configuration is no longer updated