Skip to content

Instantly share code, notes, and snippets.

kalbasit / makefile.patch
Created May 26, 2014
Adding an extra env to inject liz.a
View makefile.patch
diff --git a/Library/Formula/notmuch.rb b/Library/Formula/notmuch.rb
index 4840475..019ce2a 100644
--- a/Library/Formula/notmuch.rb
+++ b/Library/Formula/notmuch.rb
@@ -12,9 +12,10 @@ class Notmuch < Formula
depends_on "gmime"
depends_on "zlib"
+ patch :DATA
# This script will setup Evm and Cask on Travis to use for Emacs Lisp testing.
# In .travis.yml, add Evm and Cask to PATH.
# - export PATH="/home/travis/.evm/bin:$PATH"
sudo mkdir /usr/local/evm
sudo chown travis:travis /usr/local/evm
View *scratch*.el
;; 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 / test_output.log
Created Aug 17, 2014 test result
View test_output.log
$ make test
goapp test
? [no test files]
? [no test files]
? [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 / go1.3-build.log
Created Nov 3, 2014
build -x with go1.3 vs go1.4
View go1.3-build.log
wmn@gaea ~/code/src/ [master] ± % go version
go version go1.3 linux/amd64
wmn@gaea ~/code/src/ [master] ± % time go build -x ./...
mkdir -p $WORK/
mkdir -p $WORK/
cd /usr/local/google/home/wmn/code/src/
/usr/lib/google-golang/pkg/tool/linux_amd64/6g -o $WORK/ -trimpath $WORK -p -complete -D _/usr/local/google/home/wmn/code/src/ -I $WORK -pack ./card.go
mkdir -p $WORK/
cd /usr/local/google/home/wmn/code/src/
kalbasit / Makefile.patch
Created Mar 5, 2015
Installing notmuch with Ruby binding on OSX
View Makefile.patch
diff --git a/bindings/ruby/Makefile b/bindings/ruby/Makefile
index c0070b7..f456523 100644
--- a/bindings/ruby/Makefile
+++ b/bindings/ruby/Makefile
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
View problem.go
package main
import (
const data = `
<?xml version="1.0" encoding="UTF-8"?>
<liverailapi requested="/order/line/list" api_version="4.11.1">
kalbasit / GoBaseTestEngine.php
Created Apr 24, 2015
Phabricator Go Testing.
View GoBaseTestEngine.php
* Go test Wrapper
abstract class GoBaseTestEngine extends ArcanistUnitTestEngine {
public function run() {
$this->affectedTests = array();
foreach ($this->getPaths() as $path) {
kalbasit /
Created May 5, 2015
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`.