A questionnaire prototype, using jQuery scrollTo template for working with many elements on the page.
Testing the Scratch API (2.0) which can be found here: https://wiki.scratch.mit.edu/wiki/Scratch_API_(2.0)
Scratch Project is here: https://scratch.mit.edu/projects/110933064/
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
.PHONY: install | |
install: clean wordpress phpunit wp-cli | |
git submodule init; | |
@echo "\n\nNOTICE: You may need to configure a MySQL database for your Wordpress installation. Just run:" | |
@echo " mysql -u root -p;" | |
@echo " CREATE DATABASE example_site; \n" | |
wordpress: latest.tar.gz | |
tar -zxvf latest.tar.gz; |
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
var bp = 1000 | |
//htmlClasses - Uses Bowser and DOM info to apply useful classes to the html tag | |
(function () { | |
var browserWidth = (whatWidth() > bp + 1 ? { "desktop" : true, "handheld" : false } : { "desktop" : false, "handheld" : true } ); | |
var browserOrientation = (whatOrientation() > 0 ? { "landscape" : true, "portrait" : false } : { "portrait" : true, "landscape" : false } ); | |
var protocol = (window.location.protocol === "https:" ? { "https" : true, "http" : false } : { "https" : false, "http" : true } ); | |
var browserInfo = {}, | |
htmlClasses = {}, |
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
/*jslint browser: true */ | |
/*global $, jQuery, alert, console, gcUtz:true */ | |
var console = console || { log: function() { 'use strict'; } }; // jshint ignore:line | |
window.gcUtz = window.gcUtz || {}; | |
(function($) { | |
// all Javascript code goes here |
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
/*jslint browser: true */ | |
/*global $, jQuery, alert, console, gcConcierge:true */ | |
/*** | |
* Welcome to the Concierge. | |
* This is where we will kick off the JavaScript for this app. | |
* Here we will check our browser and server variables, set-up the pages, | |
* and listen for changes along the way. | |
* | |
* Related classes: |
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
/*jslint browser: true */ | |
/*global $, jQuery, alert, console, gcMap:true */ | |
var console = console || { log: function() { 'use strict'; } }; // jshint ignore:line | |
var APIKEY = 'AIzaSyCjOhYTFNQIGg2mIITJITOPc1WI6OSXTdM'; | |
window.gcMap = window.gcMap || {}; | |
(function($) { |
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
#Log in as appuser. Create the git repo: | |
mkdir -p ~/repo/appname.git | |
cd ~/repo/appname.git | |
git init --bare | |
#Next, create a post-receive script | |
vi hooks/post-receive |
Deploy via Git Once you’ve added your app “appname” under “appuser”, we can create a git repository on the server which will deploy the app once pushed to.
Log in as appuser. Create the git repo:
mkdir -p ~/repo/appname.git
cd ~/repo/appname.git
git init --bare
Next, create a post-receive script
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
{ | |
"DBID": "286513575", | |
"RF_ELEMENT_TYPE": "ADDRESS", | |
"LABEL": "2;;;;ASPERMONT;;CRES;;;;BRAMPTON", | |
"LONGITUDE": -79.669274830478, | |
"LATITUDE": 43.7971760108252, | |
"PHUB": "PB01", | |
"NODE": "161389", | |
"SHUB": "160147" | |
} |
OlderNewer