Skip to content

Instantly share code, notes, and snippets.

View niquola's full-sized avatar

Nikolai Ryzhikov niquola

View GitHub Profile
@tpope
tpope / css.vim
Created January 2, 2011 05:42
Nikolai's fix to nested closing curly brace indenting
" Vim indent file
" Language: CSS
" Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2010-12-22
if exists("b:did_indent")
finish
endif
let b:did_indent = 1
@jmandel
jmandel / diagnostic-report.ttl
Last active December 18, 2015 01:29
FHIR RDF proposals / examples
@prefix : <http://hl7/org/fhir/DiagnosticReport#> .
@prefix fhir: <http://hl7/org/fhir/> .
@prefix Narrative: <http://hl7/org/fhir/Narrative#> .
@prefix Observation: <http://hl7/org/fhir/Observation#> .
@prefix Quantity: <http://hl7/org/fhir/Quantity#> .
@prefix Resource: <http://hl7/org/fhir/Resource#> .
@prefix Reference: <http://hl7/org/fhir/Reference#> .
@prefix Range: <http://hl7/org/fhir/Range#> .
@prefix Codeable: <http://hl7/org/fhir/Codeable#> .
@prefix Coding: <http://hl7/org/fhir/Coding#> .
@honza
honza / gist.md
Created June 30, 2013 23:03
Clojure vs Haskell

Haskell vs Clojure

The JSON data is in the following format

{
    "Genesis": {
        "1": {
            "1": "In the beginning..." ,
            "2": "..."
@niquola
niquola / list.md
Last active May 20, 2018 04:52
Must Read from Ravil Bayramgalin (https://github.com/brainopia) + my small adds :)

Books

Concepts-Techniques-Models-Computer-Programming CMT это известная книжка CMT, за которой слава закрепилась не хуже чем у SICP

это из этой книжки классификация различных парадигм Если присмотришься, то увидишь, что Oz поддерживает большинство вариаций (с этой целью его и конструировали, чтобы можно было наглядно продемонстрировать различные подходы в одном языке)

> Gives more than one object an opportunity
> to handle a request by linking receiving objects together.
//Handler
public interface EmailHandler
{
//reference to the next handler in the chain
public void setNext(EmailHandler handler);
@Bazai
Bazai / travis_bower_build_automation.md
Last active March 17, 2016 12:35
Автоматизация сборки bower пакета в эпоху Continuous Integration и Continuous Delivery

Автоматизация сборки bower пакета в эпоху Continuous Integration и Continuous Delivery

В чем проблема?

###Package Managers

Для любой потенциально полезной библиотеки, если она действительно полезна, наступает момент, когда хочется ее использовать чуть ли не в каждом проекте. Резонно возникает вопрос: "Как быстро подключить эту библиотеку в другом проекте?" А если другой проект находится на другой машине? А если проектов десяток? Об этом умные люди задумывались уже давно и нашли решение в создании системы управления пакетами. Существует множество таких систем для любых языков программирования: Bundler, npm, Bower и так далее.

Системы управления пакетами прекрасно решают вопрос быстрого подключения библиотеки. То есть, решают проблему со стороны конечного пользователя - клиента. Но дают ли они вспомогательные средства для другой стороны - автора библиотеки?

Form builder (ala rails & simple form)

I'm going to open a cycle of small gist-posts - clojure one-filers - with implementations in clojure some ideas & API's from another realms, which occupy there usually a whole library, but in clojure could be just curled into project.

In this example we implement half of Rails form builder and simple_form library - nifty helpers for html forms:

@kzar
kzar / Instructions.md
Last active December 2, 2021 03:39
My Thinkpad T450 Ubuntu set up

Ubuntu 15.04 (Vivid) has now been released and it fixes mostly all of the issues I had with my Thinkpad T450. I recommend doing a clean install of Ubuntu 15.04 and mostly avoiding all of the steps bellow!

My process for getting Ubuntu running really nicely on a Thinkpad T450 with all the hardware working. (I have my track pad disabled in the bios and only want to use the track point.)

Basic steps to get Ubuntu running nicely on the Thinkpad T450:

@niquola
niquola / fprog.md
Last active August 29, 2015 14:21
ITGMT fprog

Игнат Толчанов

Про формализмы, описывающие взаимодействия процессов, с примерами на Erlang + еще чем-нибудь (Cloud Haskell, Scala).

Ilshad Khabibullin

Опыт разработки в Clojure: генерация компонент и пользовательские интерфейсы на паттерн-матчинге

Максим Велесюк

Разработка в Common Lisp с SLIME.