A Dashing widget to show a Google Visualizations Gauge on a dashboard.
Copy the google_gauge.coffee
, google_gauge.html
and google_gauge.scss
file to into /widgets/google_gauge
directory.
Add the following to the dashboard layout file:
#!/usr/bin/php | |
<?php | |
error_reporting(E_ALL); | |
if (count($argv) <= 1) { | |
print("usage createMockup src_dir dst_dir images_dir\n"); | |
print("\tsrc_dir : dir where all bmml file are\n"); | |
print("\tdst_dir : dir where write all html files\n"); | |
print("\timages_dir : dir where all export mockup png are (will be copied to the \$dst_dir/images directory)\n"); | |
exit(1); | |
} |
#!/bin/sh | |
# deploy.sh | |
N="`readlink \"$1\"`" | |
mv -T "$1.stage" "$1" | |
ln -s "$N" "$1.stage" | |
rm -rf "$N" | |
cp -aH "$1" "$N" |
from fabric.api import env, run, sudo, local, put | |
def production(): | |
"""Defines production environment""" | |
env.user = "deploy" | |
env.hosts = ['example.com',] | |
env.base_dir = "/var/www" | |
env.app_name = "app" | |
env.domain_name = "app.example.com" | |
env.domain_path = "%(base_dir)s/%(domain_name)s" % { 'base_dir':env.base_dir, 'domain_name':env.domain_name } |
A Dashing widget to show a Google Visualizations Gauge on a dashboard.
Copy the google_gauge.coffee
, google_gauge.html
and google_gauge.scss
file to into /widgets/google_gauge
directory.
Add the following to the dashboard layout file:
Create the repository on GitHub/Bitbucket. Once created, clone the created repository to your local machine using:
git clone [email protected]:username/repository.git
CD into the repository folder and run the init command to enable to hub flow tools:
cd repo_name
import DS from 'ember-data'; | |
import Ember from 'ember'; | |
export default DS.JSONAPISerializer.extend({ | |
normalizeArrayResponse: function(store, primaryModelClass, payload, id, requestType) { | |
var data = {}, | |
extracted = [], | |
root = 'data', | |
type = Ember.String.pluralize(primaryModelClass.modelName); |