Skip to content

Instantly share code, notes, and snippets.

View greglgomez's full-sized avatar

Gregorio Luiz Gomez greglgomez

View GitHub Profile
@alexisg
alexisg / Gruntfile.js
Last active September 23, 2015 08:05
Webhook.com libsass, autoprefix with css livereload flow.
// This setup will compile sass, run autoprefixer and then launch webhook's default grunt tasks.
// I also uses webhook's build-static task so that it only builds the css and
// allows livereload to refresh the css alone instead of refreshing the entire page.
'use strict';
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
watch: {
sass: {
@JumpLink
JumpLink / timeline-responsive.less
Created October 7, 2014 12:07
rewritten bootstrap 3 responsive timeline css for less
/* rewritten bootstrap 3 responsive timeline css for less
* source: http://bootsnipp.com/snippets/featured/timeline-responsive
*/
.timeline {
list-style: none;
padding: 20px 0 20px;
position: relative;
&:before {
top: 0;
bottom: 0;
if (Meteor.is_client) {
var userName = "PatelNachiket";
Template.hello.greeting = function () {
return "Fetch recent tweets from Twitter stream of user : " ;
};
Template.hello.events = {
'click #fetchButton' : function () {
console.log("Recent tweets from stream!");
$('#fetchButton').attr('disabled','true').val('loading...');