This file contains hidden or 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
#!/usr/bin/env node | |
/** This hook updates platform configuration files based on preferences and config-file data defined in config.xml. | |
Currently only the AndroidManifest.xml and IOS *-Info.plist file are supported. | |
Prerequistes: | |
npm install -D lodash elementtree plist | |
See http://stackoverflow.com/questions/28198983/ionic-cordova-add-intent-filter-using-config-xml |
This file contains hidden or 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
<ion-header> | |
<ion-navbar> | |
<ion-title> | |
My App | |
</ion-title> | |
</ion-navbar> | |
</ion-header> | |
<ion-content padding> | |
Ok: {{ userFirstName }} <!-- Pluto --> |
This file contains hidden or 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
private imageSrc: string; | |
ngOnInit() { | |
this.imageSrc = 'default value'; | |
this.subscription = this.imageService.getRemoteUrl$(this.componentData).subscribe((url) => { | |
console.log('QUAAAAACK pre', this.imageSrc); | |
this.imageSrc = url; | |
console.log('QUAAAAACK post', this.imageSrc); |
This file contains hidden or 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
#!/bin/bash | |
NPM_DEPS_FILE=".npm-deps-parseable.txt" | |
KIK_MODULES_FILE=".kik-modules.txt" | |
echo "Downloading kik incident modules list..." | |
wget https://gist.githubusercontent.com/azer/db27417ee84b5f34a6ea/raw/50ab7ef26dbde2d4ea52318a3590af78b2a21162/gistfile1.txt -O $KIK_MODULES_FILE | |
wait $! | |
echo "Building dependency list..." | |
npm ls --parseable > $NPM_DEPS_FILE |
This file contains hidden or 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
angular.module('wiz.config', []) | |
.constant('ENV', {URL:{FULL:'http://localhost:1337'}}) | |
; |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<link rel="stylesheet" href="css/bootstrap.min.css"> |
This file contains hidden or 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
# All Vagrant configuration is done here. The most common configuration | |
# options are documented and commented below. For a complete reference, | |
# please see the online documentation at vagrantup.com. |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Bootstrap In Practice - Landing Page Example</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<!-- Bootstrap --> | |
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" /> | |
</head> | |
<body> | |
<h1>Hello, world!</h1> |
This file contains hidden or 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
// Just the relevant snippet: | |
copy: | |
assets: | |
files: { | |
'dist/img': ['img/*'] | |
} | |
// This only creates an empty 'img' dir under 'dist' | |
// The expected tree to be copied under dist is: |
This file contains hidden or 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
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script src="https://github.com/theonion/fartscroll.js/raw/master/fartscroll.js"></script> | |
<script> | |
$(document).ready(function() { | |
$(document).fartscroll(400); | |
}); | |
</script> |