(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| // 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, |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
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"} },
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| 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 |
| # 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. |
| 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> { |