Skip to content

Instantly share code, notes, and snippets.

@phonx
phonx / index.html
Last active September 9, 2017 09:14
Morph Machine
<header>
<h1>
<span>Drag and Drop</span>
Shape Morpher
</h1>
<p>Works best with <code>viewBox="0 0 100 100"</code> SVGs with just one <code>&lt;path></code>. <a href="https://d.pr/f/C2BD/3qSgrJaN" target="_blank">Need some to play with</a>? Uses <a href="https://greensock.com/morphSVG" target="_blank">MorphSVG</a>.</p>
</header>
<div class="grid">
<div>Morph this shape</div>
@phonx
phonx / castles-responsive-parallax-landscape.markdown
Created September 9, 2017 07:58
Castles, responsive parallax landscape

Castles, responsive parallax landscape

A responsive landscape (some elements are added / removed depending on the screen size) made with Pixi.js for the epic.net website menu.

A Pen by phon xay on CodePen.

License.

@phonx
phonx / index.html
Created January 20, 2017 02:48
movey backgrounds grid
<div class="box">
<div class="image-wrap">
<div class="image image-0"></div>
</div>
<div class="border"></div>
<div class="text">
<span>Sugar plum</span>
</div>
</div>
@phonx
phonx / LICENSE.txt
Created November 5, 2011 16:53 — 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

What's wrong with Ruby libraries for CouchDB?

During the last year, I have worked on couple of Ruby/Rails based projects where the primary datastore was CouchDB. CouchDB, to me, is a dream database for web developer come true. The simplicity, the HTTP-based API, the abandonment of SQL semantics, the inspiring community, that all reminds me of when I came into Rails years ago.

However, working with Couch in Ruby and Rails is very, very painful, in my opinion. I'd like to briefly summarize some of my frustrations here. Maybe they are shared, maybe not -- if they are, I think we should launch some coordinate effort to make using Couch in Ruby a pleasure and intelectual satisfaction, not endless loops of research and hacks to „make it work“.

Please note, that my interest is solely to stir the debate. I may be severely mistaken in any point. But, I'd like using Couch in a Ruby application to be a joy, not a frustration, which is what I've met more times than I'd ha

(ns com.freiheit.clojure.appengine.appengine-local
(:use
[compojure.http routes servlet helpers]
clojure.contrib.test-is
compojure.server.jetty
[clojure.contrib def str-utils duck-streams])
(:require
[clojure.contrib.logging :as log])
(:import
[com.google.appengine.api.labs.taskqueue.dev LocalTaskQueue]