Skip to content

Instantly share code, notes, and snippets.

'use strict';
var thunk = require('thunkify');
var co = require('co');
var readline = require('readline');
var rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
#
# Meteor Flat UI installer - ( with Less support )
#
# brew install rename # on osx
cd meteor-app
FLATUI_VER=2.1.3
echo "\n Download Flat UI.. "$FLATUI_VER
mkdir -p client/vendor
mkdir -p public/assets/vendor
@grigio
grigio / checks.json
Created November 24, 2013 22:14
sensu test
{
"checks": {
"sensu-rabbitmq-beam": {
"handlers": [
"default"
],
"command": "/etc/sensu/plugins/check-procs.rb -p beam -C 1 -w 4 -c 5",
"interval": 60,
"occurrences": 2,
"refresh": 300,
# Dockerfile for Meteor Shell app
# sudo docker build -t my/shell - < Dockerfile # build image
# sudo docker run -p 7000:3000 my/shell # run web server, wait for http://localhost:3000
# Go to: http://localhost:7000
FROM ubuntu:12.04
MAINTAINER Luigi Maselli
RUN echo "deb http://it.archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
RUN apt-get update
RUN apt-get install -y python-software-properties git curl sudo
@grigio
grigio / Dockerfile
Created October 20, 2013 20:18
custom shipyard Dockerfile
FROM ubuntu:12.04
MAINTAINER Luigi Maselli "test@test.com"
RUN sed 's/main$/main universe/' -i /etc/apt/sources.list
RUN apt-get install -y python-software-properties
RUN add-apt-repository ppa:chris-lea/node.js
RUN apt-get -qq update
RUN apt-get install -y nodejs python-dev python-setuptools libxml2-dev libxslt-dev libmysqlclient-dev supervisor redis-server git-core wget make g++
RUN npm install git+http://github.com/ehazlett/hipache.git -g
ADD .docker/hipache.config.json /etc/hipache.config.json
RUN easy_install pip
@grigio
grigio / curl.sh
Created September 15, 2013 21:59
#!/bin/sh
if curl --output /dev/null -sI "http://atmosphere.meteor.com"; then
echo "ok"
else
echo "fail"
fi
@grigio
grigio / gist:6138263
Created August 2, 2013 08:13
Install phantomjs via bash, because a compatible deb or ppa for Ubuntu 12.04 are missing :(
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-i686.tar.bz2 # currently latest
tar xjf phantomjs-1.9.1-linux-i686.tar.bz2
cd /usr/local/share/
ln -s phantomjs-1.9.1-linux-i686 phantomjs
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/bin/phantomjs
@grigio
grigio / Google-Reader-open-source-alternatives.md
Last active July 30, 2021 02:45
Google Reader open source alternatives & features

Here some Google Reader Open Source alternatives with the most expected features.

Please fork and help me to keep it updated.

Name language Database has categories Responsive/Mobile
Commafeed java hsql,mysql/postgresql
Freader nodejs mongodb ???
Goread go appengine
Miniflux php
@grigio
grigio / gist:5807500
Created June 18, 2013 17:30
meteor deploy - what is inside

Quale Linux?

Distributor ID:  Ubuntu
Description:	Ubuntu 12.10
Release:	12.10
Codename:	quantal

env

@grigio
grigio / Gemfile
Created June 9, 2013 14:07
Minimal Sinatra app app.rb + config.ru + Gemfile for Openshift, test locally with "rackup"
source "https://rubygems.org"
gem 'sinatra'