Skip to content

Instantly share code, notes, and snippets.

View greenido's full-sized avatar
🏃‍♂️
Running with a big smile

Ido Green greenido

🏃‍♂️
Running with a big smile
View GitHub Profile
@greenido
greenido / FlickrSetsDownloader.html
Created May 21, 2011 06:38
Web app example that will be a Chrome App (using: web workers, ajax and flickr API as an example)
<!DOCTYPE html>
<htm>
<head>
<title>Flickr Sets Downloader</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--
Simple web app to download SETs from Flickr
@Author: Ido Green
@date: 5/20/2011
@greenido
greenido / indexDB-demo2.html
Created June 24, 2011 21:16
IndexDB demo for Chrome and FF
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html>
<head>
<title>IndexDB Demo - Version 1.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
@greenido
greenido / IndexDB-demo3.html
Created June 24, 2011 22:34
IndexDB demo for MDC day (Chrome 12+ and FF4+)
<!DOCTYPE html>
<html>
<head>
<title>IndexDB Demo - Version 1.1</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="author" content="Ido Green"/>
</head>
<style>
#footer {
background-color: yellowgreen;
@greenido
greenido / Flickr-Sets-Downloader.html
Created June 27, 2011 19:03
download sets from flickr (easy way to do it after long good trips with friends)
<!DOCTYPE html>
<htm>
<head>
<title>Flickr Sets Downloader</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!--
Simple web app to download SETs from Flickr
@Author: Ido Green
@date: 5/20/2011
-->
@greenido
greenido / LICENSE.txt
Created September 29, 2011 06:30 — forked from 140bytes/LICENSE.txt
140byt.es -- Click ↑↑ fork ↑↑ to play!
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@greenido
greenido / webWorker2.html
Created October 30, 2011 14:07
Web worker example to calculate primes and get messages from its owner page
<!DOCTYPE HTML>
<html>
<head>
<title>Web Worker: The highest prime number</title>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<meta charset=utf-8 />
</head>
<style>
#actions {
position: fixed;
@greenido
greenido / Shared-WebWorkers.html
Last active September 27, 2015 21:58
Shared Web Workers: Show And Tale
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<title>Shared Web Workers: Show And Tale</title>
</head>
<body>
<h1>Shared Web Workers: Show And Tale</h1>
<article>
@greenido
greenido / dabblet.css
Created February 12, 2012 19:33 — forked from LeaVerou/dabblet.css
TV screen
/**
* TV screen
*/
html { background: white; }
.tv {
position: relative;
width: 200px;
height: 150px;
@greenido
greenido / exportjson.js
Created February 21, 2012 19:43 — forked from pamelafox/exportjson.js
Google Spreadsheet JSON Export
// Exports current sheet as JSON and displays in message box.
function exportJSON() {
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheet = ss.getActiveSheet();
var rowsData = getRowsData(sheet);
ss.msgBox(Utilities.jsonStringify(rowsData));
}
// getRowsData iterates row by row in the input range and returns an array of objects.
// Each object contains all the data for a given row, indexed by its normalized column name.
@greenido
greenido / dabblet.css
Created February 28, 2012 11:03
Untitled
div {
width: 400px;
height: 200px;
background-image: url("http://lorempixel.com/400/200/animals/1/");
background-repeat: no-repeat;
transition: all 0.9s;
}
div:hover {
background-image: url("http://lorempixel.com/400/200/animals/2/");
transition: all 0.5s;