Skip to content

Instantly share code, notes, and snippets.

View zarko-tg's full-sized avatar

Zarko Hristovski zarko-tg

  • Timegrip AS
  • Oslo, Norway
View GitHub Profile
@zarko-tg
zarko-tg / app.js
Created September 11, 2015 08:59
Small Ionic http test
// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
angular.module('starter', ['ionic'])
.run(function($ionicPlatform, $http) {
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
@zarko-tg
zarko-tg / gist:329ba811fd56ec118ce0
Created December 3, 2015 15:27
Queue processor using firebase-queue
'use strict';
const Queue = require( 'firebase-queue' );
function EventsCollector ( app_name, firebase, keen_client ) {
this.app_name = app_name;
this.firebase = firebase;
this.keen_client = keen_client;
}
@zarko-tg
zarko-tg / gulpfile.js
Created December 29, 2015 11:50
Original scaffolded gulpfile.js for a basic Ionic 1 app
var gulp = require('gulp');
var gutil = require('gulp-util');
var bower = require('bower');
var concat = require('gulp-concat');
var sass = require('gulp-sass');
var minifyCss = require('gulp-minify-css');
var rename = require('gulp-rename');
var sh = require('shelljs');
var paths = {