Skip to content

Instantly share code, notes, and snippets.

View davo's full-sized avatar
馃Ξ
Golden

Davo Galavotti davo

馃Ξ
Golden
View GitHub Profile
@davo
davo / index.html
Created June 24, 2016 17:46
Plantilla para tabla usando Sheetrock.js
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Sheetsee Demo Tabla</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.js'></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery-sheetrock/1.0.1/dist/sheetrock.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css">
@davo
davo / index.html
Created June 24, 2016 16:48
Plantilla para Tabla usando Sheetsee.js
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Sheetsee Demo Tabla</title>
<meta name='viewport' content='width=device-width, initial-scale=1.0'/>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.js'></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/tabletop.js/1.3.5/tabletop.min.js"></script>
<script type='text/javascript' src='https://cdn.rawgit.com/jlord/sheetsee.js/master/js/sheetsee.js'></script>
@davo
davo / README.md
Created June 3, 2016 01:22 — forked from nbremer/.block
Animated gradient - Simple rectangle
@davo
davo / README.md
Created June 1, 2016 13:25 — forked from christophermanning/README.md
Unknown Pleasures

Forked from Tom MacWright and updated by Christopher Manning

Summary

This adds simplex noise to the waves. The 3D noise uses the parameters x and y. z is a function of the velocity and frame from d3.timer.

Controls

  • Drag up and down to adjust the height of the noise
@davo
davo / README.md
Last active May 31, 2016 15:17 — forked from nbremer/.block
Data based gradients - HR Diagram

An example of creating data based gradients used in my blog on Data-based and unique gradients for visualizations with d3.js . Here each star has a unique radial gradient where the color is based on the effective temperature of the star.

This is a Hertzsprung鈥揜ussell diagram. In this diagram stars are plotted according to their luminosities (or the related absolute magnitudes) versus their effective temperatures (or related spectral classifications). Many interesting discoveries around stellar evolution were speculated from this chart even before much was known about what happens in the interior of stars by looking at the positions of stars on the diagram.

The data comes from the HYG database. I took a subset of 400 stars that lie relatively close.

The orange circle is where our own

@davo
davo / .block
Created May 26, 2016 17:14 — forked from tonyhschu/.block
Small Scroll-linked Animation Demo
scrolling: yes
license: MIT
@davo
davo / README.md
Last active May 2, 2016 02:51
Sparkline
This file has been truncated, but you can view the full file.
{"d":["{\"TipoCentro\":1,\"Horario\":null,\"DLatitud\":-34.72045,\"DLongitud\":-58.43458,\"Descripcion\":\"\u003ch4\u003eCentro de Obtenci贸n\u003c/h4\u003e\",\"sLatitud\":\"-34.72045\",\"sLongitud\":\"-58.43458\",\"Direccion\":\"\u003cbr/\u003eDirecci贸n: \u003cb\u003eFRANCISCO DE MORAZAN 956\u003c/b\u003e\u003cbr/\u003e\u003cbr/\u003e Horario de atenci贸n: \u003cb\u003e08:00 a 20:00 hs\u003c/b\u003e\",\"DistaciaKM\":0.0,\"CP\":\"1828\",\"UrlIcon\":\"https://www.sube.gob.ar:443/img/obtencion.png\",\"Localidad\":\"BANFIELD\"}","{\"TipoCentro\":1,\"Horario\":null,\"DLatitud\":-34.70639,\"DLongitud\":-58.43941,\"Descripcion\":\"\u003ch4\u003eCentro de Obtenci贸n\u003c/h4\u003e\",\"sLatitud\":\"-34.70639\",\"sLongitud\":\"-58.43941\",\"Direccion\":\"\u003cbr/\u003eDirecci贸n: \u003cb\u003eJOSE LUIS MURATURE 2216\u003c/b\u003e\u003cbr/\u003e\u003cbr/\u003e Horario de atenci贸n: \u003cb\u003e08:00 a 20:00 hs\u003c/b\u003e\",\"DistaciaKM\":0.0,\"CP\":\"1828\",\"UrlIcon\":\"https://www.sube.gob.ar:443/img/obtencion.png\",
@davo
davo / switch.swift
Created November 6, 2015 14:55
Switch for ranges in Swift.
switch temperatura {
case -20...20:
toColors = [ UIColor(rgba: "#4355D7").CGColor, UIColor(rgba: "#D930B9").CGColor]
default:
toColors = [ UIColor(rgba: "#1804D2").CGColor, UIColor(rgba: "#0091FF").CGColor]
}
@davo
davo / README.md
Last active October 23, 2015 21:19
Bono Scale

Learning how to make a threshold scale while making a tribute to the lead singer of U2 and his well-known proficent spanish.

Built with blockbuilder.org