Skip to content

Instantly share code, notes, and snippets.

@ptmt
ptmt / ci-configure.yml
Last active Aug 29, 2015
Ansible playbook for install jenkins + mongo on docker
View ci-configure.yml
- hosts: ci
sudo: yes
tasks:
- name: Install Docker on Ubuntu
apt: pkg=docker.io state=present
- name: Rename docker.io to docker
shell: ln -sf /usr/bin/docker.io /usr/local/bin/docker
@ptmt
ptmt / packages.config
Last active May 21, 2017
owin self-hosted blank project in F#
View packages.config
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Microsoft.Owin" version="1.1.0-beta2" targetFramework="net45" />
<package id="Microsoft.Owin.Hosting" version="1.1.0-beta2" targetFramework="net45" />
<package id="Owin" version="1.0" targetFramework="net45" />
<package id="Owin.Extensions" version="0.8.5" targetFramework="net45" />
<package id="Owin.Types" version="0.8.5" targetFramework="net45" />
</packages>
@ptmt
ptmt / flamp.fix.user.js
Created May 10, 2012
flamp.fix.user.js
View flamp.fix.user.js
// ==UserScript==
// @name flamp_fix
// @description save entire textarea in localStorage
// @version 0.1.0
// @namespace http://potomushto.com
// @include http://*.flamp.ru/*
// @match http://*.flamp.ru/*
// ==/UserScript==
// http://userscripts.org/scripts/show/89824
@ptmt
ptmt / tokenizer_tests.fs
Created Apr 3, 2012
simple fsharp tests
View tokenizer_tests.fs
module totify.tests
open NUnit.Framework
open FsUnit
open TinyNLP
let shouldBeTrue a =
Assert.AreEqual(a, true)
[<Test>]