Skip to content

Instantly share code, notes, and snippets.

View sshirokov's full-sized avatar
💭
I am a 🐈

Slava Shirokov sshirokov

💭
I am a 🐈
View GitHub Profile
@sshirokov
sshirokov / interface.txt
Created August 19, 2014 04:37
The Best DF Binds In The World
[BIND:SELECT:REPEAT_NOT]
[SYM:0:Enter]
[SYM:0:Numpad Enter]
[BIND:SEC_SELECT:REPEAT_NOT]
[SYM:1:Enter]
[SYM:1:Numpad Enter]
[BIND:DESELECT:REPEAT_NOT]
[KEY:z]
[BIND:SELECT_ALL:REPEAT_NOT]

Setup

  • Make a copy of the entire directory
  • In the copied directory, uninstall any tile packs (i.e. [Graphics]->ASCII Default, then Install and Update Saved Game in the LNP)

Configure DF

  • Install the new version of DF in a new directory
  • Copy $DF/data/sava/regionN from the copy made in the Setup above into the matching directory in the new install
  • Re-install the tileset for the new version of DF.
@sshirokov
sshirokov / ch15.md
Created May 13, 2014 23:17
The Definitive Guide To Everything - Chapter 15

I’m sure that over the years you have been told countless times that all the cool people do drugs. At the same time you may have experienced a fair amount of propaganda attempting to convince you to not take this point to heart. Many schools dedicate an amazing amount of time to trying to convince you that somehow in a conversation with someone that has drugs, and is by social definition much cooler than you it makes you somehow a better person to say no. It even sometimes encourage you not just to say no, but to suggest further that the drugs themselves are bad. All of these statements are false and selfish. As we will cover in detail below, there are perfectly reasonable explanations for why these lies and bad suggestions are fed to our children. But the reason of the explanations is definitively not in your favor. If you read nothing else from here on onwards, remember this: Do lots of drugs as often as possible.

There is hardly a reason to explain why it is that drugs are cool, but for the sake of comple

Early Life

Slava was born in 1986 in Moscow, Russia—a red commie bastard if there ever was one. Like all Russians, he was born to an alcoholic soldier father, and a mother who would have been a famous prima ballerina, had the Cossacks not sacked the family's potato farm, requiring her to abandon her dreams and return home to help support them. Violin music in a minor key played at all times during this period, which may or may not have actually been only visible to the human eye in shades of grey.

As the family grew destitute, it became necessary for Slava to be taken in by the state. Unfortunately, Slava came into being at the same time as a program intended to breed the perfect Communist: no passion, no desires, only cold, cruel logic. The infant was placed in an experiment that substituted a nurturing parent for a mechanized need-meeting device. The young Slava's physical needs never went unmet, but unfortunately the experiment was deemed a failure when it was determined that while the ensuing

@sshirokov
sshirokov / keybase.md
Created March 28, 2014 19:28
Verify it.

Keybase proof

I hereby claim:

  • I am sshirokov on github.
  • I am sshirokov (https://keybase.io/sshirokov) on keybase.
  • I have a public key whose fingerprint is E2F7 79FF 295F A8C6 6629 3B5D 122E 4EF3 FA9E 6F8C

To claim this, I am signing this object:

@sshirokov
sshirokov / markets.json
Created August 6, 2013 21:28
PHL Farmers Markets
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@sshirokov
sshirokov / dc.embassies.json
Created August 6, 2013 21:19
DC Embassies
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
intersection() {
import("/tmp/sphere.stl");
import("/tmp/sphere2.stl");
}