Skip to content

Instantly share code, notes, and snippets.

@fscz
fscz / gist:8cbd8ec70bce5088443e
Created February 25, 2015 23:53
kivy label fail
[size=23]mirë dita[\size] [size=30]guàtertag[\size] [size=21]dana esteline[\size] [size=27]صباح الخير[\size] [size=24]chlomo[\size] [size=29]barev[\size] [size=17]grüß gott[\size] [size=24]salam[\size] [size=29]ani sogomen[\size] [size=29]me sha'she[\size] [size=17]n'dja arè[\size] [size=17]egunon[\size] [size=23]menyéga[\size] [size=29]vitaju[\size] [size=17]Прывiтанне[\size] [size=16]namaskar[\size] [size=21]ass-iyessbhène[\size] [size=20]inda wadou[\size] [size=15]ayo[\size] [size=25]ka tiana[\size] [size=22]dobardan[\size] [size=22]demat[\size] [size=17]добър ден[\size] [size=23]mingalaba[\size] [size=20]bon dia[\size] [size=27]hafa adai[\size] [size=24]osiyo[\size] [size=16]你好[\size] [size=28]de da[\size] [size=28]bonghjornu[\size] [size=16]bok[\size] [size=28]dobrý den[\size] [size=29]goddag[\size] [size=23]salâm[\size] [size=29]mat ni kani[\size] [size=30]anissoroma[\size] [size=27]alapiale[\size] [size=27]goede morgen[\size] [size=30]ékooni[\size] [size=19]hello[\size] [size=16]bonan tagon[\size] [siz
@fscz
fscz / gist:5860022
Created June 25, 2013 16:37
documentation for blender light export
lights export from blender:
- blender sunlamp <-> threejs ambientlight
color <-> color (light intensity via color brightness)
- blender pointlamp <-> threejs pointlight
location <-> position
distance <-> distance
color <-> color
energy <-> intensity
- blender spotlamp <-> threejs spotlight
location <-> position
@fscz
fscz / ProcessAttachments.java
Created April 26, 2013 08:01
TouchDB-Android Multipart AttachmentProcessing
while (atts != null && atts.nextInputStream()) {
ArrayList<String> headers = new ArrayList<String>();
BufferedReader reader = new BufferedReader(new InputStreamReader(atts));
String line = null;
while (!"".equals((line=reader.readLine()))) {
headers.add(line);
Log.i("HEADERS", line);
}
String tmp = headers.get(0).split("filename=")[1];
define(
function() {
function mixin() {
var __config__ = {};
this.setConfig = function(cfg) {
__config__ = cfg;
}
}
return mixin;
@fscz
fscz / withMemDB.js
Created March 2, 2013 15:27
mixin dependencies
"use strict";
define(
function() {
function withMemDB() {
var __memdb__ = {};
var IDLEN = 10;
function cid()
@fscz
fscz / template.xml
Last active December 14, 2015 09:39
withTemplate flight mixin
<root>
<template id="main">
<style type="text/css">
@font-face {
font-family: "Inconsolata";
font-style: normal;
font-weight: normal;
src: local("Inconsolata"), url("Inconsolata.woff") format("woff");
}
.terminal {