Skip to content

Instantly share code, notes, and snippets.

View manpages's full-sized avatar

Jonn Mostovoy manpages

View GitHub Profile
@manpages
manpages / anonymous.org
Created April 28, 2012 06:06
Anonymous gist sharing test

Blog with gist/Org-Mode!

The posts people write in blogs can be classified in two groups: -�� those that are going to be (or should be) mainatined, expressing the real time information, -�� those that express the momentary thoughts of a writer on an event or activity.

While first ones can be managed using standart blog engines (livejournal, blogger, etc) via «Edit post» option, that’s hardly efficient. What I found to be useful is the following —�� using gist (http://gist.github.org) as a great blogging engine. Indeed, you have

@manpages
manpages / i.ex
Created January 20, 2013 21:47
Let's talk about Elixir
iex(14)> f = function do
...(14)> (do: anything) -> anything
...(14)> (_) -> :nothing
...(14)> end
#Fun<erl_eval.6.82930912>
iex(15)> f.(do: 42)
42
iex(16)> f.(do
...(16)> answer = 42
...(16)> answer
@manpages
manpages / the-case-for-gist-blogging.org
Created April 28, 2012 06:16
Why do I love to use gist as a blog engine?

The case for Gist blogging

Why to bother?

The posts people write in blogs can be classified in two groups:

  • those that are going to be (or should be) maintained, expressing the real time information (like books one reads or read, todo lists, lecture notes, etc),
  • those that express the momentary thoughts of a writer on an event or activity.

Maintaining the post

While first ones can be managed using standart blog engines (livejournal, blogger, etc) via «Edit post» option, that’s hardly

@manpages
manpages / books.org
Created April 28, 2012 04:26
Reading experience

DESCRIPTION

The contents of this file pretty much copy the data that can be obtained from http://goodreads.com/manpages Though I’ll certainly post some reviews here that I won’t post to the goodreads, so feel free to follow this gist if you are interested in the aggregated information on what I read. I have started that log at April 20th and plan to continue writing it for as long as I read books. No spoilers.

@manpages
manpages / web-bookmarks.org
Created April 28, 2012 23:18
Notes about things to read and watch on the Web
@manpages
manpages / config
Created August 23, 2012 12:52
Configuration for distributed usage of mpd with last.fm scrobbling
# ~/.mpd/config
# MPD configuration that enables you to run the server from the userspace
# And to stream music over HTTP so that you could listen it in a distributed fashion (from the office/school)
# Uncomment the commented lines to stream music to the local audio output
# Note that you can have more than one audio outputs enabled!
# Where is my music?
music_directory "/home/mpdaemon/Music"
playlist_directory "/home/mpdaemon/.mpd/playlists"
@manpages
manpages / kci.txt
Last active July 1, 2018 23:01
KCI Rules
601.2g. If the total cost includes a mana payment, the player then has a
chance to activate mana abilities (see rule 605, "Mana Abilities"). Mana
abilities must be activated before costs are paid.
601.2h. The player pays the total cost in any order. Partial payments
are not allowed. Unpayable costs can't be paid.
605.3. Activating an activated mana ability follows the rules for
activating any other activated ability (see rule 602.2), with the
following exceptions:
@manpages
manpages / Merkle.bib
Created March 7, 2018 00:01
LHS even the tiny things during R&D!
@online{certitrans,
author = "Certificate Transparency Team",
title = "How Log Proofs Work",
url = "https://www.certificate-transparency.org/log-proofs-work",
keywords = "security,authenticated data structures,tls"
}
@paper{algorand,
author = "Silvio Micali",
title = "ALGORAND The Efficient Public Ledger",
keywords = "cryptocurrency,non-pow,decentralized,distributed",
@manpages
manpages / bootable-win-from-linux.txt
Created December 12, 2014 14:57
How to make bootable Windows USB from Linux
Install ms-sys
You will need ms-sys to write a Master Boot Record (MBR) to the USB drive.
Make sure you have installed the gcc, make, and gettext repository packages in order to compile the source code.
Download the latest source code from http://ms-sys.sourceforge.net/#Download.
Un-tar the source code and change into the source code directory:
tar xvzf ms-sys-2.3.0.tar.gz
@manpages
manpages / elixir-newbie-digest-001.md
Last active March 13, 2016 17:47
Elixir Newbie Digest, Issue #1

Intro

I have finally decided to start "Elixir newbie digest" and put here stuff that would be nice for me to understand before I have started my first Elixir production project.

Some of those will be hints, some of those will be in depth analysis of how Elixir language deals with stuff, but I plan to focus on the very basic things and keep those digests as much practical as possible.

Don't know whether those digests will be periodic, but I sincerely hope so.

Dotted function invocation