Skip to content

Instantly share code, notes, and snippets.

@DrMoriarty
DrMoriarty / thrift-mode.el
Created April 23, 2012 13:24 — forked from bakkdoor/thrift-mode.el
Simple thrift mode (taken from https://github.com/kragen/stevej-emacs/blob/master/thrift-mode/thrift.el) and adjusted to highlight self-defined types, unions & namespaces nicely. (fixed comments)
(require 'font-lock)
(defvar thrift-mode-hook nil)
(add-to-list 'auto-mode-alist '("\\.thrift\\'" . thrift-mode))
(defvar thrift-indent-level 2
"Defines 2 spaces for thrift indentation.")
;; syntax coloring
@DrMoriarty
DrMoriarty / first_request.log
Last active August 29, 2015 13:57
Status 304 & Safari
{ _readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: false,
reading: false,
var keystone = require('keystone'),
Types = keystone.Field.Types;
var SingleMail = new keystone.List('SingleMail', {
map: { name: 'title' },
autokey: {path: 'key', from: 'title' },
defaultSort: '-sendAt'
});
SingleMail.add({
@DrMoriarty
DrMoriarty / buildozer log file
Last active August 29, 2015 14:10
Buildozer log file (can't verify SSL certificate for python.org)
bash-3.2$ LANG=C; buildozer -v android release
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
/bin/sh: dpkg: command not found
# Search for Git (git)
@DrMoriarty
DrMoriarty / build log (gcc 4.9.2)
Created December 8, 2014 14:24
Buildozer compile log (gcc 4.9.2)
/bin/sh: dpkg: command not found
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
# Search for Git (git)
# -> found at /opt/local/bin/git
@DrMoriarty
DrMoriarty / buildozer log (gcc 4.2.1)
Created December 8, 2014 14:28
Buildozer log (gcc 4.2.1)
/bin/sh: dpkg: command not found
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
# Search for Git (git)
# -> found at /opt/local/bin/git
@DrMoriarty
DrMoriarty / log.txt
Created December 11, 2014 12:08
Python for android compilation log (osx 10.10)
bash-3.2$ ./distribute.sh -m "kivy"
./distribute.sh: line 299: lsb_release: command not found
Check build dependencies for
Avoid check build dependencies, unknow platform
Check enviromnent
SDK located at /opt/android-sdk/
NDK located at /opt/android-ndk/
NDK version is r10c
API level set to 14
Check mandatory tools
@DrMoriarty
DrMoriarty / build.log
Created December 11, 2014 12:10
Python for android build log (osx 10.10)
bash-3.2$ ./distribute.sh -m "kivy"
./distribute.sh: line 299: lsb_release: command not found
Check build dependencies for
Avoid check build dependencies, unknow platform
Check enviromnent
SDK located at /opt/android-sdk/
NDK located at /opt/android-ndk/
NDK version is r10c
API level set to 14
Check mandatory tools
2017-04-25 21:44:34.834 flights[4715:995615] Loaded 1806 flying objects
2017-04-25 21:44:41.252 flights[4715:995615] Select object: <MaplyScreenMarker: 0x610000cee300>
2017-04-25 21:44:41.252 flights[4715:995615] Select flying object: <FlyObject: d2f0e38 A320>
2017-04-25 21:44:41.548 flights[4715:995918] history points: (
"<FlyHistory: 47.366600, 8.443800, 36975, 473>",
"<FlyHistory: 47.361599, 8.453200, 36975, 474>",
"<FlyHistory: 47.358200, 8.459400, 36975, 474>",
"<FlyHistory: 47.345402, 8.483200, 36975, 474>",
"<FlyHistory: 47.341000, 8.491300, 36975, 475>",
"<FlyHistory: 47.333500, 8.505200, 36975, 475>",
bash-3.2$ nake build-android
Warning: Package 'stub' has an incorrect structure. The top level of the package source directory should contain at most one module, named 'stub.nim', but a file named 'fpscounter.nim' was found. This will be an error in the future.
Hint: If this is the primary source file in the package, rename it to 'stub.nim'. If it's a source file required by the main module, or if it is one of several modules exposed by 'stub', then move it into a 'stub/' subdirectory. If it's a test file or otherwise not required to build the the package 'stub.nim', prevent its installation by adding `skipFiles = @["fpscounter.nim"]` to the .nimble file. See https://github.com/nim-lang/nimble#libraries for more info.
Verifying dependencies for stub@0.1.0
Info: Dependency on godot@>= 0.7.11 & < 0.8.0 already satisfied
Verifying dependencies for godot@0.7.14
Info: Dependency on compiler@>= 0.17.3 already satisfied
Verifying dependencies for compiler@0.18.0
Compiling ../src/stub.nim