Rails 5.0.0.1
Doorkeeper 4.2.6
Devise 4.2.0
Gemfile
| Put in (Preferences -> Key Bindings - User): | |
| { "keys": ["ctrl+tab"], "command": "next_view" }, | |
| { "keys": ["ctrl+shift+tab"], "command": "prev_view" } |
| #!/usr/bin/env python | |
| #-*- coding: utf-8 -*- | |
| # This program is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| class ActionDispatch::Routing::Mapper | |
| def draw(routes_name) | |
| instance_eval(File.read(Rails.root.join("config/routes/#{routes_name}.rb"))) | |
| end | |
| end | |
| BCX::Application.routes.draw do | |
| draw :api | |
| draw :account | |
| draw :session |
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
$ brew install https://raw.github.com/paulnicholson/homebrew/master/Library/Formula/stud.rb$ curl https://gist.githubusercontent.com/paulnicholson/2050941/raw/7e4d2178e3733bed18fdfe737277c3cb72241d39/powssl > ~/bin/powssl
$ chmod +x ~/bin/powssl$ powssl| ActiveAdmin::Dashboards.build do | |
| # Add this section in your dashboard... | |
| section "Background Jobs" do | |
| now = Time.now.getgm | |
| ul do | |
| li do | |
| jobs = Delayed::Job.where('failed_at is not null').count(:id) | |
| link_to "#{jobs} failing jobs", admin_jobs_path(q: {failed_at_is_not_null: true}), style: 'color: red' | |
| end |
| gem 'dragonfly', '~>0.9.4' | |
| group :production do | |
| gem 'fog' # for Amazon S3 | |
| end |
| // An App module to control feature parity amongst browsers that don't support them, HTML5 placeholder in this case. | |
| describe("APP.Degrade", function() { | |
| describe('#shimPlaceholders', function() { | |
| it('invokes the html5 placeholder plugin on all input and textareas', function() { | |
| spyOn($.fn, 'placeholder'); | |
| APP.Degrade.shimPlaceholders(); |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| body { | |
| margin: 40px; | |
| } | |
| a { | |
| display: inline-block; |