in code

This is literally male oppression

var str = ‘oo'; setInterval(function() { $(‘body’).prepend(‘<h1>b’ + str + ‘bies</h1>’); str += ‘o'; }, 10);

in code

Find duplicate files in a directory

When I photographed heavily/professionally, I was rigorous in how I handled my imported raw files, and master processed (PSD/XCF) files. I was much less rigorous in how I sorted and stored my processed JPG files, to the point that I’ve found several directories with anywhere between hundreds and thousand of images, some or many of […]

in the website

Makeout Point

Thank my housemate Alanna for this theme. Alanna has wanted to blog for a while, but Alanna has also wanted to procrastinate and play video games in her free time. :) She hopes that because she asked for a unique theme for her site, and drove me to build it, she might be more likely […]

in the website

Merde

Boilerplate can be bad, and I was an idiot for using it. I used the same @font-face boilerplate code across three sites: Here, 091 Labs, and Alanna’s new Anchor site. The boilerplate is: @font-face { font-family: ‘Source Code Pro Regular'; src: url(‘fonts/source_code_pro/scp-r.eot?’) format(‘embedded-opentype’), url(‘fonts/source_code_pro/scp-r.woff’) format(‘woff’), url(‘fonts/source_code_pro/scp-r.otf’) format(‘opentype’), url(‘fonts/source_code_pro/scp-r.ttf’) format(‘truetype’), url(‘fonts/source_code_pro/scp-r.svg’) format(‘svg’); } Here is a […]

in code

I feel strangely proud about my first recursive function

I need to move the bottom-most of a given set of divs as part of a parallax effect, so I progress down through them until I hit bottom. function left(amount, obj) { $(obj).children().each(function() { if ($(this).children().length > 0) { left(amount, this); } else { $(this).css(‘left’, parseInt($(this).css(‘left’)) – amount + ‘px’); wrap(this); } }); } function […]