Skip to content

Instantly share code, notes, and snippets.

View akaspin's full-sized avatar

Aleksandr Dorofeev akaspin

  • Remerge
  • Germany
View GitHub Profile

Keybase proof

I hereby claim:

  • I am akaspin on github.
  • I am akaspin (https://keybase.io/akaspin) on keybase.
  • I have a public key ASANFrp3XZ9oHrPuLDO9rgDroJWJt3c_yD0pZDbBrLtyqgo

To claim this, I am signing this object:

@akaspin
akaspin / idea.log
Created May 26, 2015 19:28
InteliJ IDEA Golang plugin freezes
2015-05-26 23:06:59,513 [23994256] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mgutz/ansi/.git
2015-05-26 23:06:59,512 [23994255] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mgutz/dat/.git
2015-05-26 23:06:59,513 [23994256] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mgutz/str/.git
2015-05-26 23:06:59,512 [23994255] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mgutz/ansi/.git
2015-05-26 23:06:59,513 [23994256] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mgutz/logxi/.git
2015-05-26 23:06:59,512 [23994255] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/apache/thrift/.git
2015-05-26 23:06:59,512 [23994255] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/
@akaspin
akaspin / idea.log
Created May 14, 2015 11:28
Golang freezes
2015-05-14 15:02:01,801 [4557519] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/blang/semver/.git
2015-05-14 15:02:01,801 [4557519] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mattn/go-sqlite3/_example
2015-05-14 15:02:01,803 [4557521] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mattn/go-colorable/.git
2015-05-14 15:02:01,801 [4557519] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/libgit2/git2go/.git
2015-05-14 15:02:01,803 [4557521] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mattn/go-colorable/_example
2015-05-14 15:02:01,803 [4557521] INFO - t.GoModuleLibrariesInitializer - Excluding part of GOPATH: /Users/spin/go/src/github.com/mattn/go-isatty/.git
2015-05-14 15:02:01,803 [4557521] INFO - t.GoModuleLibrariesInitializer - Excluding par
@akaspin
akaspin / gist:4078448
Created November 15, 2012 12:43
Markdown eclipse nuke

Calcium

Calcium is another Javascript/MVC bicycle. It heavily inspired by Backbone.js but, in contrast, has the following objectives:

  • Avoid overbloated "god" objects.
  • Minimal memory usage. Using RISK-like architecture.
  • Completely predictable behavior.
  • Browser-first. Support for node.js only if it does not interfere.
@akaspin
akaspin / Stack.hs
Created January 10, 2012 05:06
ResourceT inside StateT
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE FlexibleInstances #-}
module Database.CouchDB.Conduit.Mock.Stack (tests) where
import Test.Framework (testGroup, mutuallyExclusive, Test)
import Test.Framework.Providers.HUnit (testCase)
import Test.HUnit (Assertion, (@=?))
import Control.Monad.Trans.State
../src/./mysql_bindings_connection.h:137: error: expected initializer before ‘<’ token
../src/./mysql_bindings_connection.h:139: error: ‘node’ has not been declared
../src/./mysql_bindings_connection.h:139: error: expected ‘{’ before ‘EventEmitter’
../src/./mysql_bindings_connection.h:139: error: invalid type in declaration before ‘{’ token
../src/./mysql_bindings_connection.h:139: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
../src/./mysql_bindings_connection.h:140: error: expected primary-expression before ‘public’
../src/./mysql_bindings_connection.h:140: error: expected ‘}’ before ‘public’
../src/./mysql_bindings_connection.h:140: error: expected ‘,’ or ‘;’ before ‘public’
../src/./mysql_bindings_connection.h:143: error: variable or field ‘Init’ declared void
../src/./mysql_bindings_connection.h:143: error: ‘Handle’ was not declared in this scope
var sys = require("sys");
var fs = require("fs");
var decode = function (utftext) {
var string = "";
var i = 0;
var c = c1 = c2 = 0;
while ( i < utftext.length ) {
c = utftext.charCodeAt(i);
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Календарь удачных покупок</title>
<link rel="stylesheet" href="/common.css" type="text/css" />
</head>
<body>
/* ares_build.h. Generated from ares_build.h.in by configure. */
#ifndef __CARES_BUILD_H
#define __CARES_BUILD_H
/* $Id$ */
/* Copyright (C) 2009 by Daniel Stenberg et al
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided