Skip to content

Instantly share code, notes, and snippets.

@digilord
digilord / app.html
Created February 10, 2014 22:43
Bootstrap CDN with a Meteor Application
<head>
<title>My Cool Meteor App</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>
</head>
<body>
Your app specific stuff here
// Packages we need
var GitHubApi = require("github");
var sugar = require("sugar");
var _ = require("underscore")._;
// Start of variable assignments
var issues_by_numbers = {};
var project = "MyGitHubProject";
var github = new GitHubApi({
var getOpenGitIssues = function(){
var issuesByNumber = Fiber(function(){
var future = new Future();
var _issues;
var _issuesByNumber = {};
github.issues.repoIssues({user:self.project.username, repo: self.project.name}, function(error, data){
future.return(data)
});
_issues = future.wait();
@digilord
digilord / smart.json
Created February 12, 2014 01:44
Package git example.
{
"meteor": {},
"packages": {
"router": {
"git": "https://github.com/justinriggio/meteor-router.git"
},
"x-editable-bootstrap": {
"git": "https://github.com/digilord/meteor-x-editable-bootstrap.git"
},
"underscore-string-latest": {},
{
"packages": {
"accounts-guest": {},
"jquery-mobile": {
"git": "https://github.com/Pyo25/meteor-jquery-mobile.git"
}
}
}
@digilord
digilord / cdn.html
Created February 13, 2014 15:17
jquery-mobile CDN
<link href="http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.css" rel="stylesheet">
<script src="http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.js"></script>
var util = require('util');
var clc = require('cli-color');
var notice = clc.cyanBright.bold;
var error = clc.red.bold;
var warn = clc.yellow;
// Setup logging functions
var inspect = function(message) {
util.log(util.inspect(message, {colors:true}))
module.exports = function(grunt) {
grunt.initConfig({
watch: {
js: {
files: [
'index.js',
'brains.js',
'lib/*.js'
],
.
├── ASP
├── ActionScript
├── Alignment
├── AppleScript
├── Batch\ File
├── C#
├── C++
├── CSS
├── Clojure
{
"pusher": "0.1.3",
"mime": "1.2.11",
"rimraf": "2.2.4",
"mkdirp": "0.3.5",
"csv": "0.3.6",
"stripe": "2.4.0"
}