Skip to content

Instantly share code, notes, and snippets.

View janvennemann's full-sized avatar

Jan Vennemann janvennemann

View GitHub Profile
@janvennemann
janvennemann / Info.plist
Created April 22, 2020 09:34
Firebase Test Lab Hook for Titanium
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
@janvennemann
janvennemann / compile-storyboard.js
Created May 28, 2019 11:20
Titanium module hook to add Storyboards
const fs = require('fs');
const path = require('path');
exports.id = 'my.module.add.storyboard';
exports.cliVersion = '>=3.2';
exports.init = init;
function init(logger, config, cli) {
cli.on('build.ios.xcodeproject', {
pre: (data, next) => {
@janvennemann
janvennemann / DisconnectedMetadataFactory.php
Last active February 20, 2018 09:31
Changes for DoctrineBundle PSR-4 support
<?php
class DisconnectedMetadataFactory
{
//...
/**
* Get a base path for a class
*
* @param string $name class name
* @param string $namespace class namespace