Skip to content

Instantly share code, notes, and snippets.

View wolfiestyle's full-sized avatar

wolfiestyle

  • Chile
View GitHub Profile
@seriallos
seriallos / shrouded-buffs.simc
Last active October 13, 2022 08:49
WoW M+ Shrouded Buff Sim Input
# PASTE IN YOUR /SIMC INPUT AFTER THIS LINE
# Run this in Raidbots Advanced mode: https://www.raidbots.com/simbot/advanced
#
# Or using a recent nightly build of SimC: https://www.simulationcraft.org/download.html
#
# The lines below test out 5, 10, 15, and 20 stacks of each Bounty buff to give a sense of what
# will provide the most DPS.
@gorkawien
gorkawien / gist:95418da089f9f0d2d48b075bc04d5afc
Created September 1, 2020 09:54
How To Virt Manager in Gentoo
Help to install Virt-manager on Funtoo and Gentoo
Installing virt-manager
First we need to add some information to build virt-manager and qemu correctly:
# echo "app-emulation/virt-manager gtk policykit" >> /etc/portage/package.use
# echo "app-emulation/qemu spice" >> /etc/portage/package.use
# vim /etc/portage/make.conf ## and add
@ihor-lev
ihor-lev / sublime_fix_home_end_keys.md
Last active June 9, 2025 23:08
Fix Sublime Text Home and End key usage on Mac OSX

Sublime Text Home/End keys default functionality jumps to the beginning and end of the file.

Fix Home and End keys to move the cursor to the beginning and end of lines.

Preferences > Key Bindings - User

Adding the following to the array:

{ "keys": ["home"], "command": "move_to", "args": {"to": "bol"} },
{ "keys": ["end"], "command": "move_to", "args": {"to": "eol"} },
@badboy
badboy / hkt.rs
Created March 26, 2016 11:33 — forked from 14427/hkt.rs
Higher-kinded type trait
use std::rc::Rc;
pub trait HKT<U> {
type C; // Current type
type T; // Type with C swapped with U
}
macro_rules! derive_hkt {
($t:ident) => {
impl<T, U> HKT<U> for $t<T> {
@0
0 / bluetooth_serial.md
Last active March 16, 2025 19:32
Connecting a Bluetooth device for serial communication on Arch Linux.

The following are instructions for connecting a Bluetooth device for serial communication on Arch Linux using BlueZ 5.31.

Prerequisites

The following packages are required:

  • bluez: bluetoothd
  • bluez-utils: bluetoothctl, rfcomm
@staltz
staltz / introrx.md
Last active June 15, 2025 15:49
The introduction to Reactive Programming you've been missing
@aras-p
aras-p / preprocessor_fun.h
Last active June 10, 2025 23:37
Things to commit just before leaving your job
// Just before switching jobs:
// Add one of these.
// Preferably into the same commit where you do a large merge.
//
// This started as a tweet with a joke of "C++ pro-tip: #define private public",
// and then it quickly escalated into more and more evil suggestions.
// I've tried to capture interesting suggestions here.
//
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_,
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant,
@noprompt
noprompt / word-re.txt
Last active May 2, 2016 15:30
Regular expression for matching any word in `/usr/share/dict/words`.
This file has been truncated, but you can view the full file.
@xtetsuji
xtetsuji / data-section-emulate.pl
Created October 3, 2012 09:16
Emulate __DATA__ section for mod_perl Registry/PerlRun script, and so on.
#!/usr/bin/perl
# Emulate __DATA__ section for mod_perl Registry/PerlRun script, and so on.
use strict;
use warnings;
### In tail of this file, its "data" exists and defines inside BEGIN { ... } block.
my $DATA;
open \*DATA, '<', \$DATA;