Skip to content

Instantly share code, notes, and snippets.

View sudodoki's full-sized avatar

Джон, просто Джон sudodoki

View GitHub Profile

Жили в одном городе семья. А была у них девочка, звали ее Ия-Ия. Мама все время ей говорила, чтобы она не ходила на кладбище и никогда там не оставалась одна. А мама всегда ей говорит: — Хорошо, я тебе скажу, куда идти ночью ходить! Дети пошли с мамой к одному парню, где жил один мужик, а с ним жил его сын, они часто гуляли вместе по ночам и всегда приносили ему поесть и напивались до бесчувствия. Однажды они собрались идти к этому мужику, когда увидели страшный красный огонь в небе. Мама сказала детям спать и спрятала их под кроватью. Ночью эта компания услышала шорох за стенкой и девочки испугались. Они выбежали из дома и увидали, что на месте их домика возвышается огромная каменная башня, но когда эти маленькие дети подумали о том, что это может быть, им стало страшно еще больше. Вдруг снова раздался тот же самый звук, только другой голос: — Кто там? — спросили девочку те взрослые, которые были возле того места. Девочка посмотрела наверх и увидела большую черную фигуру, которая подошла к тому месту и стала

@sudodoki
sudodoki / visualizing_topic_models.py
Created December 24, 2017 20:23 — forked from tokestermw/visualizing_topic_models.py
visualization topic models in four different ways
import json
import urlparse
from itertools import chain
flatten = chain.from_iterable
from nltk import word_tokenize
from gensim.corpora import Dictionary
from gensim.models.ldamodel import LdaModel
from gensim.models.tfidfmodel import TfidfModel
@sudodoki
sudodoki / springer-free-maths-books.md
Created September 9, 2017 14:47 — forked from bishboria/springer-free-maths-books.md
Springer made a bunch of books available for free, these were the direct links
@sudodoki
sudodoki / Stream-examples.lisp
Created August 11, 2017 12:36 — forked from danlentz/Stream-examples.lisp
Sbcl stream exqmples
(defclass wrapped-stream (fundamental-stream)
((stream :initarg :stream :reader stream-of)))
(defmethod stream-element-type ((stream wrapped-stream))
(stream-element-type (stream-of stream)))
(defmethod close ((stream wrapped-stream) &key abort)
(close (stream-of stream) :abort abort))
(defclass wrapped-character-input-stream
@sudodoki
sudodoki / atom_clojure_setup.md
Created November 5, 2016 17:49 — forked from jasongilman/atom_clojure_setup.md
This describes how I setup Atom for Clojure Development.

Atom Clojure Setup

This describes how I setup Atom for an ideal Clojure development workflow. This fixes indentation on newlines, handles parentheses, etc. The keybinding settings for enter (in keymap.cson) are important to get proper newlines with indentation at the right level. There are other helpers in init.coffee and keymap.cson that are useful for cutting, copying, pasting, deleting, and indenting Lisp expressions.

Install Atom

Download Atom

The Atom documentation is excellent. It's highly worth reading the flight manual.

@sudodoki
sudodoki / styles.css
Created August 23, 2016 16:23 — forked from kentcdodds/styles.css
Editor adjustments for workshops/talks
/* workshop/talk adjustments */
.list-group .icon::before,
.list-tree .icon::before,
.list-tree.has-collapsable-children .list-nested-item.collapsed > .list-item::before,
.list-tree.has-collapsable-children .list-nested-item > .list-item::before,
.tree-view {
font-size: 21px;
min-width: 21px;
}
@sudodoki
sudodoki / latency.txt
Created October 26, 2015 03:39 — forked from jboner/latency.txt
Latency Numbers Every Programmer Should Know
Latency Comparison Numbers
--------------------------
L1 cache reference 0.5 ns
Branch mispredict 5 ns
L2 cache reference 7 ns 14x L1 cache
Mutex lock/unlock 25 ns
Main memory reference 100 ns 20x L2 cache, 200x L1 cache
Compress 1K bytes with Zippy 3,000 ns
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms
Read 4K randomly from SSD* 150,000 ns 0.15 ms
@sudodoki
sudodoki / poznan.md
Last active August 29, 2015 14:24 — forked from mmalecki/poznan.md

Food

  • Racja Mięsa - if you like meat, that's your place. Amazing tartars.
  • Święta Krowa - a decent burger place
  • Pizza a Pezzi - great pizza
  • Ptasie radio - various food, has has some Italian stuff
  • Manekin - pancakes
  • Sofa - good for lunch

Drinks

  • Lot Chmiela - lots of craft beers
var google_conversion_id = 1234567890;
var google_custom_params = window.google_tag_params;
var google_remarketing_only = true;
window.onload = function(){
// save old document.write
var dw = document.write;
// change document.write temporary
document.write = function(node){

Typography

Headings

Headings from h1 through h6 are constructed with a # for each level:

# h1 Heading
## h2 Heading
### h3 Heading