Skip to content

Instantly share code, notes, and snippets.

View dirceu-jr's full-sized avatar

Dirceu Jr. dirceu-jr

View GitHub Profile
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Casa para locação em Londrina</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js"></script>
<script type="text/javascript">
$(function() {
/**
* touch for jQuery
*
* Copyright (c) 2008 Dirceu Pauka Jr. <[email protected]>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
# Ruby + Math
# Math.exp(1) = Euler's number
# http://en.wikipedia.org/wiki/E_(mathematical_constant)
# Math.sin(x) = sen(x)
# Math.log(x) = Logaritmo natural. Se escrito Math.log(x,b) b representara a base do logaritmo
# Busca de raizes
require 'RMagick'
include Magick
from_img = File.join(File.expand_path(File.dirname(__FILE__)), 'dirs_vector2.png')
to_js = File.join(File.expand_path(File.dirname(__FILE__)), '..', 'imgs', 'dirs_vector.js')
dirs = ImageList.new(from_img)
bitmap = "var colors = ["
# Dirceu Júnior - São Paulo - 2008-09
# Usar Photoshop pra fazer convite eh coisa de n00b!
#
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
# TERMS AND CONDITIONS FOR COPYING:DISTRIBUTION AND MODIFICATION
# 0. You just DO WHAT THE FUCK YOU WANT TO.
#
# WTFPL: http://sam.zoy.org/wtfpl/
require 'date'