Skip to content

Instantly share code, notes, and snippets.

@teetteet
teetteet / ethpyramid.sol
Created February 6, 2018 07:45 — forked from qwtel/ethpyramid.sol
ETH Pyramid Contract
contract Pyramid {
struct Participant {
bytes desc;
address etherAddress;
bytes bitcoinAddress;
}
Participant[] public participants;
uint public payoutIdx = 0;
@teetteet
teetteet / 0_reuse_code.js
Created July 10, 2016 20:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@teetteet
teetteet / index.html
Created April 8, 2016 07:38
Спиженый дождь
<canvas id="c"></canvas>
@teetteet
teetteet / Spritz-Speed-Reading-V2-compiled-view.markdown
Created February 27, 2015 23:26
Spritz Speed Reading V2 compiled view

Spritz Speed Reading V2 compiled view

Use Spritz right now! Options for speed, localStorage saving, jog forward/backward, text size and dark/light theme, also with keyboard controls and progress bar. You'll never need to read conventionally again.

from the german book: http://www.gutenberg.org/ebooks/40327

localStorage implementation by Keith Wyland, thanks Keith!

@teetteet
teetteet / Spritz-Speed-Reading-V2.markdown
Created February 27, 2015 23:21
Spritz Speed Reading V2

HTML5 Audio Player w/ Responsive Playlist

This is an HTML5 audio player that detects the user agent of your device/browser/OS and applies a color scheme that matches the native audio player styles. The playlist responds to the width of your screen and features basic UI controls.

Feel free to fork this pen and add your own user agent styles for different browsers, devices and operating systems.

Forked from Mark Hillard's Pen HTML5 Audio Player w/ Responsive Playlist.

A Pen by toto on CodePen.

@teetteet
teetteet / boqGt.markdown
Created August 31, 2014 01:08
A Pen by toto .
@teetteet
teetteet / dabblet.css
Created November 7, 2013 18:46 — forked from giuseppeg/dabblet.css
Dead Center an element with display: inline-block
/**
* Dead Center an element with display: inline-block
*/
html,
body { margin: 0; height: 100%; }
.container {
letter-spacing: -0.31em;
text-rendering: optimizespeed;

CSS Robot w/ Spinning Bow Tie w/ InSide Generator Design

i want to make a generative Robot. Plz contribute because i am to lame to finish.

I got the idea from Robert Dabi's Dribbble, you can get the link in the pen.

Decided to make it out of CSS and HTML, and added in a spinning bowtie and a flashing light, which you can only see in Firefox right now because it's dependent on pseudo element animations. CSS Robot Illustration taken from Robert Dabi Specifically his Dribbble His Twitter: soulja_de My Twitter: monstasaurous

@teetteet
teetteet / dabblet.css
Created September 13, 2013 15:02
Japanese cube pattern
/* Japanese cube pattern */
background-color:#67c94a;
background-image: linear-gradient(60deg, #1a3511 12%, transparent 12.5%, transparent 87%, #1a3511 87.5%, #1a3511 ),
linear-gradient(-60deg, #1a3511 12%, transparent 12.5%, transparent 87%, #1a3511 87.5%, #1a3511 ),
linear-gradient(60deg, #1a3511 12%, transparent 12.5%, transparent 87%, #1a3511 87.5%, #1a3511 ),
linear-gradient(-60deg, #1a3511 12%, transparent 12.5%, transparent 87%, #1a3511 87.5%, #1a3511 ),
linear-gradient(30deg, #3e8329 25%, transparent 25.5%, transparent 75%, #3e8329 75%, #3e8329 ),
linear-gradient(30deg, #3e8329 25%, transparent 25.5%, transparent 75%, #3e8329 75%, #3e8329 );
background-size:40px 70px;