Skip to content

Instantly share code, notes, and snippets.

View andrejIka's full-sized avatar

Andrej B. andrejIka

View GitHub Profile
@mlouro
mlouro / gulpfile.js
Last active June 21, 2022 23:20
gulpfile.js with browserify, jshint, libsass, browserSync for livereload, image optimization and system notifications on errors
'use strict';
var gulp = require('gulp');
var gutil = require('gulp-util');
var del = require('del');
var uglify = require('gulp-uglify');
var gulpif = require('gulp-if');
var exec = require('child_process').exec;
var notify = require('gulp-notify');

###Web Resources###

  1. HTML5 Boilerplate - http://railsapps.github.io/rails-html5-boilerplate.html
  2. RoR - Michael Hartl - http://ruby.railstutorial.org/ - Web version
  3. Tutorials Point - http://www.tutorialspoint.com/ruby-on-rails/
  4. Rails for Zombies - http://railsforzombies.org/
  5. RailsCasts [VIDEO] - http://railscasts.com/
  6. Stackoverflow - http://stackoverflow.com/tags/ruby-on-rails/info (Books, Tutorials link also included)
  7. RubyTapas [VIDEO] - http://www.rubytapas.com
  8. Ruby for Newbies [Tutsplus Series] - http://code.tutsplus.com/series/ruby-for-newbies--net-18166
@fideloper
fideloper / ci_style_guide.md
Created October 10, 2012 23:44
CodeIgniter Style Guide

CodeIgniter Style Guide

This is collectively being called a style guide, however it serves as a standard to enforce a stricter and more enforced methodology in how programming should be done in CodeIgniter.

Why

CodeIgniter is powerful. CodeIgniter is hugely popular. It's popular because it's easy. It's easy because there are many ways to accomplish a task.

CodeIgniter is terrible for the exact reasons which make it powerful. You can too easily place code in a confusing place, or not separate concerns, thus creating programming challenges down the line. It's noob-friendly, which means it's inherently easy to make noob mistakes.

This document serves to restrict coding practices within CodeIgniter with the purpose of making an application with more class (pun without-a-doubt, most-strongly intended).

@erichurst
erichurst / database.yml.example mysql2
Created May 9, 2011 02:58
Rails 3 database.yml examples
# MySQL. Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
# gem install mysql2
#
# And be sure to use new-style password hashing:
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
development:
adapter: mysql2
encoding: utf8