This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[local|localrc]] | |
# Credentials | |
DATABASE_PASSWORD=devstack | |
ADMIN_PASSWORD=devstack | |
SERVICE_PASSWORD=devstack | |
SERVICE_TOKEN=devstack | |
RABBIT_PASSWORD=devstack | |
# Services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function getFileAndSave (filename, url) { | |
var file_obj = { | |
file: filename, | |
url: url, | |
path: null | |
}; | |
var testFile = Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory); | |
var privateDocFolder = testFile.nativePath.replace('Documents/', ''); | |
privateDocFolder += 'Library/Private%20Documents/'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require.config({ | |
paths: { | |
underscore: '../underscore-min' | |
}, | |
shim: { | |
underscore: { | |
exports: function() { | |
return _.noConflict(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -g node-inspector | |
/path/to/.titanium/mobilesdk/linux/3.1.0.GA/android/builder.py simulator projectname /path/to/android-sdk-linux /path/to/project com.your.project 16 WVGA800 127.0.0.1:5858 | |
node-inspector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<ti:app xmlns:ti="http://ti.appcelerator.org"> | |
<id>de.appwerft.cm</id> | |
<name>CriticalMass</name> | |
<version>1.0.0</version> | |
<publisher>rainerschleevoigt</publisher> | |
<url>http://</url> | |
<description>not specified</description> | |
<copyright>2014 by rainerschleevoigt</copyright> | |
<icon>appicon.png</icon> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) have the couchdb source available, geocouch needs some headerfiles | |
2) get and unpack the appropriate branch of geocouch suited for your couchdb version - | |
I have 1.3.0 so I got | |
https://github.com/couchbase/geocouch/tree/couchdb1.3.x | |
3) set environment: | |
export COUCH_SRC=/WHEREVER/apache-couchdb-1.3.0/src/couchdb/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
This assumes that your bower_components folder is /assets. I renamed it in .bower.json for sanities sake. | |
I use baseUrl = '/js' as this is where all my custom javascript is and requirejs can't navigate | |
bower's folder structure anyway. | |
*/ | |
requirejs.config({ | |
paths: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[local|localrc]] | |
# Credentials | |
DATABASE_PASSWORD=devstack | |
ADMIN_PASSWORD=devstack | |
SERVICE_PASSWORD=devstack | |
SERVICE_TOKEN=devstack | |
RABBIT_PASSWORD=devstack | |
# Services |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$block_id = 2; | |
$block = block_block_view($block_id); | |
$block['content'] = i18n_string(array('blocks', 'block', $block_id, 'body'), $block['content']); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
key = /etc/certs/server.key | |
cert = /etc/certs/server.crt | |
CApath = /etc/ssl/certs | |
socket = l:TCP_NODELAY=1 | |
socket = r:TCP_NODELAY=1 | |
setuid = stunnel4 | |
setgid = stunnel4 | |
pid = /var/run/stunnel4/websocket.pid |
OlderNewer