Skip to content

Instantly share code, notes, and snippets.

View olistik's full-sized avatar

Maurizio De Magnis olistik

View GitHub Profile
<div id="bags">
<ul>
<% last_store_name = nil %>
<% bags.each_with_index do |bag, index| %>
<%
extra_class = if last_store_name != bag.store.name
last_store = bag.store
"first_of_serie #{bag.store.name}"
else
''
@olistik
olistik / license.txt
Last active August 29, 2015 13:56 — forked from xkraty/Superman Art
My BSD 2-Clause License
,,########################################,,
.*##############################################*
,*####*:::*########***::::::::**######:::*###########,
.*####: *#####*. :*###,.#######*,####*.
*####: *#####* .###########* ,####*
.*####: ,#######, ##########* :####*
*####. :#########*, ,,,,,,,,. ,####:
####* ,##############****************:,, .####*
:####*#####################################**, *####.
*#####Copyright (c) 2014, Maurizio De Magnis#*, :####:
@olistik
olistik / spank.rb
Last active November 10, 2015 13:29 — forked from anonymous/spank.rb
#encoding: utf-8
newT = Time.new
birth1 = gets.chomp
birth2 = gets.chomp
while birth2 > 12
puts ' immetti un mese che esista!!'
birth2 = gets.chomp
end
birth3 = gets.chomp
while birth3 > 31