This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__________(█) | |
_______██████ | |
_____ ████████ | |
___███████████ | |
___ (░░░░░░░)░░░) | |
___(░(░█░░█░)░░░) | |
__ (░░(░░●░░░)░░░) | |
__ (░░░░◡░░)░░░░) | |
_██(░░░░░░░░░░)██ | |
_███(░░░░░░░░░)███ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Free Admin Templates | |
• http://demo.onokumus.com/metis | |
• http://vinceg.github.io/Bootstrap-Admin-Theme/ | |
• http://startbootstrap.com/templates/sb-admin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class window.SafeCallback | |
@arrayCallback: ( callback ) -> | |
if typeof callback == 'function' | |
console.log "SafeCallback: expected array, found function..." | |
return [ callback ] | |
if callback instanceof Array | |
console.log "SafeCallback: filtering functions from array..." | |
result = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set rack options | |
use Rack::Session::Moneta, key: 'rack.session', | |
expire_after: 1800, # 30 mins | |
store: Moneta.new(:Redis, expires: true) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
execute pathogen#infect() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
group :default do # {{{ | |
gem 'jekyll', "~> 2.4.0" | |
gem 'rake', "~> 10.3.2" | |
end # }}} | |
group :development do # {{{ | |
gem 'rspec' | |
end # }}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form id="input-form" class="form-inline"> | |
<div class="form-group"> | |
<input id="input-handle" type="text" class="form-control" placeholder="Enter handle" autofocus /> | |
</div> | |
<div class="form-group"> | |
<input id="input-text" type="text" class="form-control" placeholder="Enter chat text here!" autofocus /> | |
</div> | |
<button class="btn btn-primary" type="submit">Send</button> | |
</form> | |
<div class="page-header"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% highlight ruby %} | |
require "rubygems" | |
require "tmpdir" | |
namespace :site do | |
desc "Generate blog files" | |
task :generate do | |
Jekyll::Site.new(Jekyll.configuration({ | |
"source" => ".", | |
"destination" => "_site" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deface::Override.new( | |
virtual_path: 'spree/admin/shared/_order_summary', | |
name: 'admin_order_custom_details', | |
insert_after: 'header#order_tab_summary > dl.additional-info', | |
partial: 'spree/admin/shared/admin_order_custom_details' | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=> Booting WEBrick | |
=> Rails 4.0.8 application starting in development on http://0.0.0.0:3000 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
[33mWARN [0m DurableDecorator: Spree::Core::Search::Base#get_base_scope decoration uses an invalid SHA. The original method definition could have been tampered with! | |
[33mWARN [0m DurableDecorator: Expected SHA was aa266a5b0825b2949bb4a0548b60734468339c8d but the provided SHA is 0030f517d06459bfcde9ae18157806c3b702a71f | |
Started GET "/products/black-white-layer-cake" for 127.0.0.1 at 2014-12-13 20:17:02 +0530 | |
Processing by Spree::ProductsController#show as HTML |
OlderNewer