On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin
.
*.acn | |
*.acr | |
*.alg | |
*.aux | |
*.bak | |
*.bbl | |
*.bcf | |
*.blg | |
*.brf | |
*.bst |
// 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, |
On mac:
/usr/local/bin
.#!/bin/bash | |
# Load balance multiple internet connections. Requires iproute2, awk and grep. | |
# (C) 2016 Tobias Girstmair, isticktoit.net, GPLv2 | |
# Also useful: speedometer -l -r eth1 -t eth1 -m $(( 1024 * 1024 * 3 / 2 )) | |
# Not much user error checking is done - only pass working network connections | |
# script needs root to work and at least two interfaces to be useful | |
[ $EUID -eq 0 -a $# -ge 2 ] || { | |
echo "Usage (as root): $0 iface1[:weight1] iface2[:weight2] ..." >&2 |
/* | |
Credits to: | |
- https://linux.die.net/man/2/setcontext | |
- https://stackoverflow.com/questions/8456085/why-cant-i-ignore-sigsegv-signal | |
*/ | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <signal.h> |
#!/bin/bash | |
# This script takes your chat and posts it to a webserver. | |
# Finally a chat protocol everyone can use! | |
if [[ -z $1 ]]; then | |
echo "First parameter must be the host!" | |
exit 1 | |
fi |
function fh() {
command=$(fc -ln 0| # show history without line numbers
tail -r | # reverse the order
awk '!x[$0]++' | # drop duplicates (https://unix.stackexchange.com/a/193331)
fzf -e +s \
--color=light \
--height=20 \
--inline-info \
--border \
#include <iostream> | |
#define XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX | |
#define X ; | |
#define Y class | |
#define Z { | |
#define R : public A { | |
#define X十 public: | |
#define Xー private: | |
#define HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX }; |
Edit Feb 2023: this may also work for CoH3 (the paths are different of course). I haven't tested this for CoH 3 yet and hope either Proton / Relic will make this fix unnecessary. See also @sfxworks's comment.
Instructions for automatic fix with a script by TechT10n