Skip to content

Instantly share code, notes, and snippets.

More open source for 2019!

Damien Laureaux timoa

More open source for 2019!
Block or report user

Report or block timoa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
timoa / 1. Install "code" in your PATH
Last active Aug 29, 2018
Export VisualStudio Code extensions list
View 1. Install "code" in your PATH
timoa / custom_theme.xml
Created Jul 10, 2015
Titanium - Android Material Design
View custom_theme.xml
<!-- /platform/android/res/values/custom_theme.xml -->
<?xml version="1.0" encoding="utf-8"?>
<style name="MyCustomTheme" parent="@style/Theme.AppCompat">
<item name="colorPrimary">#86569A</item>
<item name="colorAccent">#FFFFFF</item>
<item name="android:statusBarColor">#86569A</item>
<item name="android:navigationBarColor">#86569A</item>
timoa / strings.xml
Last active Dec 31, 2015
Add i18n support to Titanium Mobile app (/i18n/fr/strings.xml)
View strings.xml
<?xml version="1.0" encoding="UTF-8"?>
<string name="win1_title">Tab 1</string>
<string name="win1_text">Je suis la fenêtre 1</string>
<string name="win2_title">Tab 2</string>
<string name="win2_text">Je suis la fenêtre 2</string>
timoa / .bash_profile
Last active Dec 31, 2015
Add Android SDK in PATH (Mac & Linux). Edit ~/.bash_profile
View .bash_profile
export PATH=${PATH}:~/Documents/SDK/android-sdk/tools
View entypo-map.js
// parsed from
"name": "note",
"code": "0x266a",
"search": [
timoa / tiApp.xml
Created Sep 16, 2012
Appcelerator Titanium Mobile: move Android application on SD card (
View tiApp.xml
<android xmlns:android="">
<manifest android:installLocation="preferExternal">
<uses-sdk android:minSdkVersion="7" />
timoa / var_dump.js
Created Sep 16, 2012
Similar "var_dump()" PHP function with Appcelerator Titanium Mobile (
View var_dump.js
* Debug : var_dump
* @var: Var
* @level: Level max
function var_dump(_var, _level) {
var dumped_text = "";
if(!_level) _level = 0;
timoa / save_file.js
Created Sep 16, 2012
Save file iOS and Android with Appcelerator Titanium Mobile SDK (
View save_file.js
// OS
if(Ti.Platform.osname === 'iPhone' || Ti.Platform.osname === 'iPad') {
var ios = true;
* Save file function
* @file: Binary file (Blob)
* @filename: Name of file (String)
You can’t perform that action at this time.