Skip to content

Instantly share code, notes, and snippets.

View d33pfri3d's full-sized avatar
🏠
Working from home

Shaun D d33pfri3d

🏠
Working from home
View GitHub Profile
AFRAME.registerShader('skyGradient', {
schema: {
colorTop: { type: 'color', default: 'black', is: 'uniform' },
colorBottom: { type: 'color', default: 'red', is: 'uniform' }
},
vertexShader: [
'varying vec3 vWorldPosition;',
'void main() {',
@d33pfri3d
d33pfri3d / terminal.js
Created February 23, 2016 12:23
Termial typer for Text UI Game
import utils from './utils';
let terminal = {
generateNewline: () => {
let newPre = document.createElement('pre');
let newCode = document.createElement('code');
newPre.appendChild(newCode);
newPre.className = 'newline';
newPre.className = 'current';
@d33pfri3d
d33pfri3d / keys.md
Last active January 20, 2016 11:19
Steam Keys - If you use one, please mark it so - thanks

#####Brutal Legend

LFFJF-J42TC-M8CBK

#####Eet Munchies

WB3M-HVTQ-F2ED-0S5A

#####Mark of the Ninja

#!/bin/sh
# Alot of these configs have been taken from the various places
# on the web, most from here
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Set the colours you can use
black='\033[0;30m'
white='\033[0;37m'
red='\033[0;31m'
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<script id="jsbin-javascript">
var food = [2,3,4,5,5,5];
@d33pfri3d
d33pfri3d / bio
Last active August 29, 2015 14:07
Talks 2015
Language Buff, Open Source enthusiast and Father of two. I spend my days working for Boticca in London as head of Front End Development and my evenings building things. I love code in all it's forms and have a penchant for sharing knowledge.
https://www.youtube.com/watch?v=vuWMqRxeiuk
https://c4.staticflickr.com/4/3736/10796560316_b6f2a3359e_h.jpg
@d33pfri3d
d33pfri3d / talks-ember
Last active August 29, 2015 13:57
These are some of the talks I have been submitting to conferences & their status. Feel free to comment on what you think could make them better. Other talks will be added as I work on them.
Talk Title: The URL is Everything - A journey from jQuery to Ember
Abstract :
I honestly used to hate on Frameworks. I built things with Backbone & Marionette, then I tried Angular, but it wasn't until I built something with Ember that I found the real next step from just using jQuery.
Ember embraces the web and if you let it, it'll take you on a journey from the URL right down to components. You have to give up on a few things though, slightly change your thinking and there is a bit of a learning curve, but in exchange you get the opportunity to create beautiful web apps with solid foundations.
Let me take you on a personal journey where I went from the humble beginnings of Ember, to a place where I felt comfortable knowing how to execute tasks with it.
@d33pfri3d
d33pfri3d / hacker-mind.md
Last active August 29, 2015 13:56
[Blog Draft] - Post about trying to switch gears and work smarter rather than harder...or something like that.

At times I consider myself a decent developer.

I get too involved in the code.

It's not that Im a perfectionist, it's that I think that I will be judged by the code that I produce. What JavaScript pattern am I using and does that pattern make sense? Does my choice of CSS pre-processor tell you something about my though process? Is my markup symantic? Should I be using Backbone, Require, underscore or lodash?

Before I make any decision on a project, these are just some of the questions I ask myself.

###The hacker frame of mind.

@d33pfri3d
d33pfri3d / books.md
Created January 13, 2014 11:06
Code Crasftsmanship Books