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"> | |
<title>Ember Starter Kit</title> | |
<link rel="stylesheet" href="css/normalize.css"> | |
<link rel="stylesheet" href="css/style.css"> | |
</head> | |
<body> | |
<!-- Define the main application --> |
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
App = Ember.Application.create(); | |
// Local In Memory Data Store | |
// Comment this out to defualt to the RESTful Adapter | |
App.ApplicationAdapter = DS.FixtureAdapter; | |
App.Contact = DS.Model.extend({ | |
first: DS.attr(), | |
last: DS.attr(), | |
phone: DS.attr() |
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
// Sample grunt-jekyll grunt.js file | |
// https://github.com/dannygarcia/grunt-jekyll | |
/*global module:false*/ | |
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
jekyll: { |
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
<div class="row"> | |
<div class="col-md-5"> | |
{% include thumbnail.html name="6" %} | |
</div> | |
</div> |
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
select fcst.* into dbo.WeeklySalesForecast | |
from ( | |
select dt.CalendarYear,'Week ' + convert(nvarchar(2),dt.WeekNumberOfYear) WeekNumber , | |
dt.MonthNumberOfYear, dt.EnglishMonthName, ter.SalesTerritoryGroup, | |
ter.SalesTerritoryRegion, cat.EnglishProductCategoryName Category, | |
sum(fct.OrderQuantity) LastYearQuantity, sum(fct.SalesAmount) LastYearAmount, | |
null ForecastQuantity, null ForecastAmount | |
from dbo.FactInternetSales fct inner join |
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
create procedure dbo.BcsSalesForecastReadItem @ID nvarchar(255) as | |
set nocount on | |
select fcst.ID, fcst.MonthName, fcst.WeekNumber, fcst.SalesGroup, | |
fcst.SalesRegion, fcst.ProductCategory, | |
fcst.LastYearAmount, fcst.ForecastAmount | |
from ( select EnglishMonthName + '-' + WeekNumber + '-' + SalesTerritoryRegion + '-' + Category ID, | |
EnglishMonthName MonthName, WeekNumber, SalesTerritoryGroup SalesGroup, SalesTerritoryRegion SalesRegion, | |
Category ProductCategory, LastYearAmount, ForecastAmount from dbo.WeeklySalesForecast) fcst |
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
create procedure dbo.BcsSalesForecastReadList as set nocount on | |
select EnglishMonthName + '-' + WeekNumber + '-' + SalesTerritoryRegion + '-' + Category ID, | |
EnglishMonthName MonthName, WeekNumber, SalesTerritoryGroup SalesGroup, | |
SalesTerritoryRegion SalesRegion, Category ProductCategory, LastYearAmount, | |
ForecastAmount from dbo.WeeklySalesForecast |
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 express = require('express'); | |
var request = require('request'); | |
var app = express(); | |
app.use(express.static(__dirname + '/public')); | |
app.use(express.bodyParser()); | |
var Podio = require("podio-api"); | |
var clientId = "podio-app"; | |
var clientSecret = ""; |
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
console.log('ready ...'); | |
function listTimesheets() { | |
var timesheets = []; | |
$('#add').hide(); | |
$.ajax({ | |
type: "GET", | |
dataType: "json", | |
url: "/timesheets"}). |
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></title> | |
</head> | |
<body> | |
<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"> | |
{ | |
overrideConsole: false, |