Skip to content

Instantly share code, notes, and snippets.

View TimPietrusky's full-sized avatar
🎶
shouldUpdate()

NERDDISCO TimPietrusky

🎶
shouldUpdate()
View GitHub Profile
I am attesting that this GitHub handle TimPietrusky is linked to the Tezos account tz1Vn5mS4QMvr7qwyyxsTH2szRXK1RGxLJn9 for tzprofiles
sig:edsigu6yiajFz78jJjCKmWvNMp55QB1Bq38r32RsAbmWL3Lo2LoamF6NWt7m2bXNQBxbV4v6MpceojaTB9gkQUh6iyFHDo3pCv3
@TimPietrusky
TimPietrusky / image.js
Created February 28, 2019 21:34
SImple module for modV to load images
export default {
meta: {
name: 'Image',
type: '2d',
},
props: {
images: {
type: 'enum',
enum: [
function() {
console.log('Hello World')
}
@TimPietrusky
TimPietrusky / javascript_skeleton_object.js
Last active August 29, 2015 14:06
JavaScript - Skeleton - Object
// Constructor
function ClassName(args) {
this.option = args.option || default_value;
}
// Define propertys and functions
ClassName.prototype = {
constructor : ClassName,
methodName : function() {
@TimPietrusky
TimPietrusky / index.html
Created June 9, 2013 17:24
A CodePen by Tim Pietrusky. FlatUI Checkout concept - My entry for the "Shopping Cart" CodePen [rodeo 007](http://blog.codepen.io/rodeo/season-two/#week-three). Images taken from [thinkgeek.com](http://thinkgeek.com) because I love all products they have :D I used the [Pure](http://purecss.io) grid, so this is also responsive.
<div class="onepage-checkout">
<div class="pure-g-r">
<!-- Billing & shipping address -->
<div class="pure-u-1-4">
<div class="pure-u-1-1">
<div class="wrapper wrapper__alpha">
<h2 class="__alpha">Billing Address</h2>
<address class="wrapper--box">
Tim Pietrusky <br>
@TimPietrusky
TimPietrusky / index.html
Created June 9, 2013 17:24
A CodePen by Tim Pietrusky. CodePen AwesomePI - A demo of the unoffical/fan made API for CodePen. http://github.com/TimPietrusky/codepen-awesomepi
<!--
Demo application which uses the unoffical/fan made API for CodePen: CodePen AwesomePI
http://github.com/TimPietrusky/codepen-awesomepi
2012 by Tim Pietrusky
-->
<div id="pens">
<h1>CodePen API (unoffical) in Action</h1>
@TimPietrusky
TimPietrusky / index.html
Created June 9, 2013 17:24
A CodePen by Tim Pietrusky. Star Wars opening crawl from 1977 - I freaking love Star Wars, but could not find a web version of the original opening crawl from 1977. So I created this one. I wrote [an article](http://timpietrusky.com/star-wars-opening-crawl-from-1977) where I explain how this works. [Watch the Start Wars opening crawl on YouTube.](
<article class="starwars">
<audio preload="auto">
<source src="http://s.cdpn.io/1202/Star_Wars_original_opening_crawl_1977.ogg" type="audio/ogg" />
<source src="http://s.cdpn.io/1202/Star_Wars_original_opening_crawl_1977.mp3" type="audio/mpeg" />
</audio>
<section class="start">
<p>
Start <br> <span>Star Wars opening crawl</span> <br> from 1977
<br><br>
@TimPietrusky
TimPietrusky / index.html
Created June 9, 2013 17:24
A CodePen by Tim Pietrusky. tlk.io's "remove all my messages" button - You want to delete all your [tlk.io](http://tlk.io) messages? This will do it just right!
<button class="danger">Remove all my<br>messages</button>
@TimPietrusky
TimPietrusky / index.html
Created June 9, 2013 17:24
A CodePen by Tim Pietrusky. MuleSoft logo - The logo of [mulesoft.com](http://mulesoft.com) as one-element. Why? I'm using MuleESB and MuleStudio right now and I love the logo. This is the result :D
<h1>MuleSoft</h1>
@TimPietrusky
TimPietrusky / index.html
Created June 9, 2013 17:24
A CodePen by Tim Pietrusky. Battlefield 3 Dialog - A tribute to Battlefield 3: Dialog. You're under attack. SHIT!
<!--
Battlefield 3 Dialog
A tribute to Battlefield 3. You're under attack.
(This is how a dialog looks like in Battlefield 3 on my xbox 360)
2012 by Tim Pietrusky