A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
A list of the most common functionalities in Jekyll (Liquid). You can use Jekyll with GitHub Pages, just make sure you are using the proper version.
Running a local server for testing purposes:
First, create a new Cloudfront distribution via Amazon AWS console. Once you've done that, it's as simple as adding the following to your production environment (and staging if you run a staging environment), replacing the value with your CDN host url:
config.action_controller.asset_host = "<YOUR DISTRIBUTION SUBDOMAIN>.cloudfront.net"
See here for more info: https://devcenter.heroku.com/articles/using-amazon-cloudfront-cdn#adding-cloudfront-to-rails
#require 'action_controller' | |
require 'rqrcode' | |
require 'rqrcode-rails3/size_calculator.rb' | |
require 'rqrcode-rails3/renderers/svg.rb' | |
class LibQRCode | |
def self.generate_qrcode(text, options) | |
size = options[:size] | |
level = options[:level] || :h |
source :rubygems | |
gem 'rails', '3.0.4' | |
# Bundle edge Rails instead: | |
# gem 'rails', :git => 'git://github.com/rails/rails.git' | |
gem 'pg' | |
gem 'ar-octopus', :git => 'git://github.com/tchandy/octopus.git', :require => "octopus" |