Skip to content

Instantly share code, notes, and snippets.

;; This buffer is for notes you don't want to save, and for Lisp evaluation.
;; If you want to create a file, visit that file with C-x C-f,
@kalbasit
kalbasit / test_output.log
Created August 17, 2014 08:07
github.com/eMxyzptlk/beegae-example test result
$ make test
goapp test github.com/eMxyzptlk/beegae-example/...
? github.com/eMxyzptlk/beegae-example/appengine [no test files]
? github.com/eMxyzptlk/beegae-example/controllers [no test files]
? github.com/eMxyzptlk/beegae-example/routers [no test files]
2014/08/17 01:05:15 appengine: not running under devappserver2; using some default configuration
2014/08/17 01:05:15 appengine: NewContext passed an unknown http.Request
2014/08/17 01:05:15 [C] the request url is /
2014/08/17 01:05:15 [C] Handler crashed with error appengine: NewContext passed an unknown http.Request
2014/08/17 01:05:15 [C] /tmp/appengine/go_appengine/goroot/src/pkg/runtime/panic.c 248
@kalbasit
kalbasit / go1.3-build.log
Created November 3, 2014 20:55
build -x with go1.3 vs go1.4
wmn@gaea ~/code/src/github.com/eMxyzptlk/gopoker [master] ± % go version
go version go1.3 linux/amd64
wmn@gaea ~/code/src/github.com/eMxyzptlk/gopoker [master] ± % time go build -x ./...
WORK=/tmp/go-build178790999
mkdir -p $WORK/github.com/eMxyzptlk/gopoker/card/_obj/
mkdir -p $WORK/github.com/eMxyzptlk/gopoker/
cd /usr/local/google/home/wmn/code/src/github.com/eMxyzptlk/gopoker/card
/usr/lib/google-golang/pkg/tool/linux_amd64/6g -o $WORK/github.com/eMxyzptlk/gopoker/card.a -trimpath $WORK -p github.com/eMxyzptlk/gopoker/card -complete -D _/usr/local/google/home/wmn/code/src/github.com/eMxyzptlk/gopoker/card -I $WORK -pack ./card.go
mkdir -p $WORK/github.com/eMxyzptlk/gopoker/deck/_obj/
cd /usr/local/google/home/wmn/code/src/github.com/eMxyzptlk/gopoker/deck
@kalbasit
kalbasit / Makefile.patch
Created March 5, 2015 00:56
Installing notmuch with Ruby binding on OSX
diff --git a/bindings/ruby/Makefile b/bindings/ruby/Makefile
index c0070b7..f456523 100644
--- a/bindings/ruby/Makefile
+++ b/bindings/ruby/Makefile
@@ -85,7 +85,7 @@ CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REE
CXXFLAGS = $(CCDLFLAGS) $(ARCH_FLAG) -g -Os -pipe $(ARCH_FLAG)
ldflags = -L. -L/usr/local/lib -Wl
dldflags = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress
-ARCH_FLAG = -arch x86_64 -arch i386
+ARCH_FLAG = -arch x86_64
package main
import (
"encoding/xml"
"fmt"
)
const data = `
<?xml version="1.0" encoding="UTF-8"?>
<liverailapi requested="/order/line/list" api_version="4.11.1">
@kalbasit
kalbasit / GoBaseTestEngine.php
Created April 24, 2015 07:50
Phabricator Go Testing.
<?php
/**
* Go test Wrapper
*/
abstract class GoBaseTestEngine extends ArcanistUnitTestEngine {
public function run() {
$this->affectedTests = array();
foreach ($this->getPaths() as $path) {
@kalbasit
kalbasit / arc-unit.sh-session
Created May 5, 2015 17:06
Arc unit failing on master
$ git checkout master
$ git pull --rebase
$ arc unit --everything
PASS 58ms ArcanistLibraryTestCase::testMethodVisibility
PASS <1ms★ ArcanistLibraryTestCase::testEverythingImplemented
PASS 37ms★ ArcanistLibraryTestCase::testLibraryMap
PASS 18ms★ ArcanistChmodLinterTestCase::testLinter
SKIP ArcanistCSSLintLinterTestCase::testLinter
Unable to locate binary "csslint" to run linter ArcanistCSSLintLinter. You may need to install the binary, or adjust your linter configuration.
TO INSTALL: Install CSSLint using `npm install -g csslint`.

Keybase proof

I hereby claim:

  • I am kalbasit on github.
  • I am kalbasit (https://keybase.io/kalbasit) on keybase.
  • I have a public key whose fingerprint is 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2

To claim this, I am signing this object:

kalbasit@cratos ~ % mach -D create -d virtualbox -virtualbox-disk-size 50000 --virtualbox-memory 2048 dev
executing: /usr/local/bin/VBoxManage
STDOUT: Oracle VM VirtualBox Command Line Management Interface Version 4.3.28
(C) 2005-2015 Oracle Corporation
All rights reserved.
Usage:
VBoxManage [<general option>] <command>