Benny Degezelle jomz

View _payment.html.erb
1 2 3 4 5 6 7 8 9 10
</form>
<div class="clear"></div>
 
<legend><%= t("overview") %></legend>
<%= render :partial => 'shared/order_details', :locals => {:order => @order.reload} -%>
 
<% payment_service_for "#{@order.number}/#{Time.now.to_i.to_s + rand(1000).to_s}", Billing::Ogone.current.preferred_account_name, :amount => (@order.total * 100).to_i, :currency => Billing::Ogone.current.preferred_currency, :service => :ogone do |service| %>
<% service.redirect :accepturl => ogone_notification_url,
:cancelurl => ogone_notification_url,
:declineurl => ogone_notification_url,
View gist:1420604
1 2 3 4 5
<script type="text/javascript">
document.writeln('<style type="text/css" media="screen">.wrap{padding:100px 110px 0 110px;} body{background-color: #f5f5f5;} #content{background-color: white;}</style>');
document.writeln('<IMG SRC="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=19&mc=imp&pli=3484921&PluID=0&ord=%%CACHEBUSTER%%&rtu=-1" BORDER=0 WIDTH=1 HEIGHT=1 ALT="Advertisement">');
document.writeln('<a href="http://bs.serving-sys.com/BurstingPipe/adServer.bs?cn=tf&c=20&mc=click&pli=3484921&PluID=0&ord=%%CACHEBUSTER%%"><img src="http://belmodo.tv/assets/22401/6131_WALLPAPER_BEnl_1200x800.jpg"/></a>');
</script>
View gist:261746
1 2 3 4 5 6 7 8 9 10
# radiant
alias dbme='rake db:migrate:extensions'
alias ue='update_extension'
alias uae='update_all_extensions'
 
function update_extension {
rake ray:extension:update name=$1
}
function update_all_extensions {
for dir in `/bin/ls vendor/extensions/`; do ue $dir; done
View radiant kickstart script
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/ruby
module Helpers
LINE = 80
def announcing(msg)
print msg
yield
print "." * (LINE - msg.size - 6)
puts "\e[32m[DONE]\e[0m"
end
Something went wrong with that request. Please try again.