Skip to content

Instantly share code, notes, and snippets.

@hemulin
hemulin / index.html
Last active October 12, 2015 18:27
ex2IT2012
<!DOCTYPE html>
<html lang="en">
<!--
Ex2, simple html page.
I used a little jQuery and css for the dynamic elements.
This ex was rather not very compicated.
FYI
The <iframe> throws some errors (mostly facebook "like" issues on the embedded page)
I would probably won't rank very high on the page validation.
@hemulin
hemulin / index.html
Last active October 12, 2015 18:28
IT ex1
<html>
<head>
<title>ex1</title>
<script type="text/javascript" src="http://d3js.org/d3.v2.js"></script>
<script type="text/javascript" src="tooltip.js"></script>
<style>
div#tooltip {
background-color: white;
font-family: Open Sans,Helvetica,sans-serif;
font-size: 20px;
@hemulin
hemulin / config.json
Created November 13, 2012 22:06
Another Inlet
{"description":"Another Inlet","endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.7,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
@hemulin
hemulin / impress.js
Created November 19, 2012 10:11
Presentation for Internet course
/**
* impress.js
*
* impress.js is a presentation tool based on the power of CSS3 transforms and transitions
* in modern browsers and inspired by the idea behind prezi.com.
*
* MIT Licensed.
*
* Copyright 2011 Bartek Szopka (@bartaz)
*/
@hemulin
hemulin / config.json
Created November 19, 2012 20:06
Another Inlet
{"description":"Another Inlet","endpoint":"","display":"svg","public":true,"require":[],"tab":"edit","display_percent":0.7,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01}
@hemulin
hemulin / _.md
Created November 26, 2012 14:05
Another Inlet
@hemulin
hemulin / index.html
Created November 26, 2012 15:40
canvas easter egg to ex3 internet
<html>
<head>
<title>canvas2</title>
<style type="text/css">
</style>
</head>
<body>
<canvas width="800" height="450"></canvas>
<script type="application/javascript">
var context = document.getElementsByTagName('canvas')[0].getContext('2d');
@hemulin
hemulin / static_server.js
Created November 28, 2012 14:27 — forked from ryanflorence/static_server.js
Node.JS static file web server. Put it in your path to fire up servers in any directory, takes an optional port argument.
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);
@hemulin
hemulin / config.json
Created December 17, 2012 19:44
Another Inlet
{"description":"Another Inlet","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"tab":"edit","display_percent":0.7,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01,"hidepanel":false}