Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
To Infinity And Beyond

Andrew Emelianenko MrEmelianenko

🚀
To Infinity And Beyond
View GitHub Profile
@MrEmelianenko
MrEmelianenko / Gemfile
Created Aug 18, 2015
Ruby on Rails 4 - Useful gems
View Gemfile
gem 'request_store'
gem 'foreman'
gem 'rubocop'
gem 'bullet'
gem 'quiet_assets'
gem 'better_errors'
gem 'binding_of_caller'
gem 'awesome_print'
gem 'lograge'
gem 'figaro'
View gist:5516c57c7c9c77107493
'use strict';
timeout = null;
angular.module 'wearedoge'
.config [
'$stateProvider', '$urlRouterProvider',
($stateProvider, $urlRouterProvider) ->
$stateProvider
@MrEmelianenko
MrEmelianenko / Gemfile.rb
Last active Dec 18, 2015
Rails Gems for Developing
View Gemfile.rb
group :development
gem 'better_errors' # better errors pages (https://github.com/charliesome/better_errors)
gem 'binding_of_caller' # console for better errors
gem 'jazz_hands' # cool rails console `rails c` (https://github.com/nixme/jazz_hands)
gem 'quiet_assets' # speed up assets & clear log (https://github.com/evrone/quiet_assets)
gem 'bullet' # optimize queries (https://github.com/flyerhzm/bullet)
end
View _flash_messages.html.erb
<% flash.each do |type, message| %>
<div class="alert <%= bootstrap_class_for(type) %> fade in">
<button class="close" data-dismiss="alert">×</button>
<%= message %>
</div>
<% end %>
View gist:6366589
git rm -r --cached .
git add .
git commit -m "fix .gitignore"
You can’t perform that action at this time.