Skip to content

Instantly share code, notes, and snippets.

View vinceyoumans's full-sized avatar

vincent youmans vinceyoumans

View GitHub Profile
@vinceyoumans
vinceyoumans / STEP03-a.js
Created November 13, 2010 19:36
FOCUS event not firing when returning to win from another win.
//========= this .ls will download the json file of access numbers
// it will parse them into a table view
// and allow users to select an access number people.
var win = Titanium.UI.currentWindow;
var data = [
{ph: "213-455-0203", state: "CALIFORNIA", city: "Anaheim/LA", title: "CALIFORNIA - Anaheim/LA - 213-455-0203"},
{ph: "310-437-8924", state: "CALIFORNIA", city: "Anaheim/LA", title: "CALIFORNIA - Anaheim/LA - 310-437-8924"},
this is my situation that I run into often. I develop iPHONE and ANDROID apps, and I have to communicate with .NET CLIENTS. SOme of these .NET developers have zero imagination, and think that everything needs to be .net... and they are making my life hell trying to setup services.
I have been training them to use json.net for MS... but they are just acting like jackasses... and wont use it. So I was thinking of creating a middleware service where they would write to mongodb or node.js ont he local server, and I would handle the services there... this way I can consolidate the logic on a server... and standardize the communication to my mobile devices. probably some debug benefits as well.
so I would me interested in finding some ways for .net to talk to node or mongodb
DIBOutlet=__attribute__((iboutlet))" "-DIBOutletCollection(ClassName)=__attribute__((iboutletcollection(ClassName)))" "-DIBAction=void)__attribute__((ibaction)" -miphoneos-version-min=4.0 -iquote "/Users/vyoumans/Documents/Titanium Studio Workspace/shoes04/couch01test/build/iphone/build/couch01test.build/Debug-iphoneos/couch01test-universal.build/couch01test-generated-files.hmap" "-I/Users/vyoumans/Documents/Titanium Studio Workspace/shoes04/couch01test/build/iphone/build/couch01test.build/Debug-iphoneos/couch01test-universal.build/couch01test-own-target-headers.hmap" "-I/Users/vyoumans/Documents/Titanium Studio Workspace/shoes04/couch01test/build/iphone/build/couch01test.build/Debug-iphoneos/couch01test-universal.build/couch01test-all-target-headers.hmap" -iquote "/Users/vyoumans/Documents/Titanium Studio Workspace/shoes04/couch01test/build/iphone/build/couch01test.build/Debug-iphoneos/couch01test-universal.build/couch01test-project-headers.hmap" "-I/Users/vyoumans/Documents/Titanium Studio Workspace/shoes04
@vinceyoumans
vinceyoumans / designer.html
Last active January 18, 2017 22:58
designer
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../paper-input/paper-input.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@vinceyoumans
vinceyoumans / designer.html
Last active January 21, 2017 02:15
designer
<link rel="import" href="../paper-checkbox/paper-checkbox.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../paper-fab/paper-fab.html">
<link rel="import" href="../paper-icon-button/paper-icon-button.html">
<link rel="import" href="../paper-progress/paper-progress.html">
<link rel="import" href="../paper-radio-button/paper-radio-button.html">
<link rel="import" href="../paper-ripple/paper-ripple.html">
<link rel="import" href="../paper-slider/paper-slider.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
@vinceyoumans
vinceyoumans / designer.html
Last active January 21, 2017 02:18
designer
<link rel="import" href="../ace-element/ace-element.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
@vinceyoumans
vinceyoumans / gist:0403190d47b612a2df2c51a7d1128297
Last active March 2, 2017 15:48
polymer starter app fragment with vaadin grid 2.0 dev ... trying to bind to Firebase query data
<!--
This is a fragment from a Polymer Starter app, I am trying to integrate Vaadin-grid with row-details from a Firebase Query.
The FB query is working, and displays the correct number of rows
But I do not understand how to bind the Firebase datasource to the Vaadin-grid.
Perhaps someone could give me a clue?
-->
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="shared-styles.html">
@vinceyoumans
vinceyoumans / gist:d21e3db708fe93dd4a5df2e3594d2f21
Created March 11, 2017 20:46
Google map does not refresh after scroll event in VAADIN GRID DETAILS
<!--
On initial Display, the SHow Details click event shows a goog map. Background and markers.
But after scrolling out of Grid details, then back in... or opening up a new Grid Detail...
The background blanks out but marker remains.
THus I suspect there needs to be a redraw/ invalidate event for when the map is viewed.
-->
<link rel="import" href="../bower_components/polymer/polymer.html">
<link rel="import" href="../bower_components/vaadin-grid/vaadin-grid.html">
<link rel="import" href="../bower_components/google-map/google-map.html">
<link rel="import" href="shared-styles.html">
@vinceyoumans
vinceyoumans / my-login.html
Created July 14, 2017 18:03
Polymer authentication demo... Not working for me.. .but I did some experimentation.
<link rel="import" href="my-app.html">
<link rel="import" href="bower_componenets/polymerfire/firebase-auth.html">
<link rel="import" href="bower_componenets/paper-button/Paper-button.html">
<dom-module id="my-login">
<template>
<firebase-auth
id="auth"
import UIKit
import Flutter
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?
) -> Bool {
GeneratedPluginRegistrant.register(with: self)