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
I, [2014-01-29T13:08:51.853592 #30794] INFO -- : Processing by Devise::SessionsController#create as HTML | |
I, [2014-01-29T13:08:51.853726 #30794] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"bY9aBQPKBhetp+jNrl0/WHuN+/jkTzCsW9cGd4kkMDs=", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in to Bust the Books"} | |
W, [2014-01-29T13:08:51.854607 #30794] WARN -- : Can't verify CSRF token authenticity | |
I, [2014-01-29T13:08:51.871144 #30794] INFO -- : Completed 401 Unauthorized in 17ms |
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
I, [2014-01-29T11:02:52.927394 #25031] INFO -- : Started POST "/users/sign_in" for 70.192.6.44 at 2014-01-29 11:02:52 -0500 | |
I, [2014-01-29T11:02:52.930701 #25031] INFO -- : Processing by Devise::SessionsController#create as HTML | |
I, [2014-01-29T11:02:52.930782 #25031] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"Wbhxw+7q2gPY/v+jIcOpp56Avg2qPnwi+1qfvfIZ6o4=", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in to Domain"} | |
W, [2014-01-29T11:02:52.931789 #25031] WARN -- : Can't verify CSRF token authenticity | |
I, [2014-01-29T11:02:52.934345 #25031] INFO -- : Completed 422 Unprocessable Entity in 3ms | |
F, [2014-01-29T11:02:52.936751 #25031] FATAL -- : | |
ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken): | |
actionpack (4.0.2) lib/action_controller/metal/request_forgery_protection.rb:163:in `handle_unverified_request' | |
actionpack (4.0.2) lib/action_controller/metal/request_forgery_protection.rb:170:in `handl |
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
$webpifeed="https://www.microsoft.com/web/webpi/4.6/webproductlist.xml" | |
# update chocolatey to the latest version | |
chocolatey update | |
# update all chocolatey packages | |
cup all | |
# 7zip | |
cinst 7zip |
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
# START http://boxstarter.org/package/url? | |
# update chocolatey to the latest version | |
chocolatey update | |
# update all chocolatey packages | |
cup all | |
# Show hidden files/folder and file extensions | |
Set-ExplorerOptions -showHidenFilesFoldersDrives -showFileExtensions |
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
<%= stylesheet_link_tag 'mobile/jquery.mobile-1.0.1.min', 'mobile/mobile' %> | |
<%= javascript_include_tag 'mobile/respond.min' %> | |
<%= javascript_include_tag 'mobile/jquery', 'mobile/jquery_ujs', "https://js.stripe.com/v1/", 'orders' %> | |
<%= javascript_include_tag 'mobile/jquery.mobile-1.0.1.min' %> | |
<%= csrf_meta_tag %> | |
<%= tag :meta, :name => "stripe-key", :content => STRIPE_PUBLIC_KEY %> |
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
gem 'bcrypt-ruby' |
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
<style> | |
span.title { | |
display: block; | |
text-align: center; | |
margin-top: 10px; | |
margin-bottom: 20px; | |
} | |
</style> | |
<div data-role="page" id="sitetips" data-title="Dialog Tips"> |
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
def dwarf | |
dwarf = Race.find(2) | |
gon.dwarf_con_min = (gon.constitution + dwarf.bon_con) - 10 | |
gon.dwarf_con_val = gon.constitution + dwarf.bon_con | |
gon.dwarf_dex_min = (gon.dexterity + dwarf.bon_dex) - 10 | |
gon.dwarf_dex_val = gon.dexterity + dwarf.bon_dex | |
gon.dwarf_div_min = (gon.divinity + dwarf.bon_div) - 10 | |
gon.dwarf_div_val = gon.divinity + dwarf.bon_div | |
gon.dwarf_int_min = (gon.intellect + dwarf.bon_int) - 10 | |
gon.dwarf_int_val = gon.intellect + dwarf.bon_int |
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
<% @data.each do |data| %> | |
<p><%= data.something %></p> | |
<p><%= data.something_else %></p> | |
<% 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
def verify_zong_signature(params) | |
require 'openssl' | |
require 'base64' | |
require 'cgi' | |
# Pull the original signature | |
signature = params[:signature] | |
# ensure that all of the parameters remain encoded |