Instantly share code, notes, and snippets.

View transferring_linux.md

I did this to transfer an OpenSuSE (Leap 42.1) system but should basically work for others. Partly going off the instructions here but deliberately not modifying the drives' uuid because I disagree with that approach (you might want to continue using the old drive for something else for one thing).

Boot into rescue system/live cd with current/old disk and new one both in the system. I create a directory for the old system and mount whatever partition looks like the right one to it.

mkdir old
mount /dev/sdc2 old
View Coding Style for C++.md

Coding Style for C++

Just reminders mostly for myself and only for C++ (not C, not C#, not javascript, just C++). Work in progress.

The first rule is if you're mostly based on a third-party lib, using their build tools, mostly using their objects, especially if you're using their stuff to generate code, then use their style and forget these rules (except where there is ambiguity). If you really hate their style then don't and make auto-translaters, wrappers, etc. The important thing is to be consistent within the project and with respect to the industry at hand (except when the industry has godawful norms that need to be changed).

Brackets

View freebsd_proxy.md

Replace all caps stuff

/usr/local/etc/mpd/mpd.conf:

default:
    load pptp_server
    
pptp_server:
    
# Define dynamic IP address pool.
View gender_neutral_facilities.md

Gender Neutral Facilities Aren’t on the Table, but They Should Be

In a clever inversion reminiscent of how the pro-H8 campaign ran as a no campaign, professional transphobes have laundered their unprecedented anti-trans legislation as a protection of the status quo, painting their opponents as degenerates bent on bringing us gender-neutral bathrooms and other facilities. Even neutral and trans-sympathetic articles are misleadingly running with an image of a gender-neutral bathroom sign.

It’s important to fight the misinformation. It plays into the general lie that conservatives only ever go on the defense against societal changes and never go on the attack. It’s important that people get that trans people are being harassed in ways they weren’t in the past at the same time as making gains

View link_to_working.haml