Shaun's public fiddles
-
waxL8Lt8
AngularJS 1.4.8, HTML, CSS, JavaScript
-
qaasL9nx
AngularJS 1.4.8, HTML, CSS, JavaScript
-
5udnmtgy
AngularJS 1.4.8, HTML, CSS, JavaScript
-
sggrdhbn
AngularJS 1.4.8, HTML, CSS, JavaScript
-
hfgkc2wu
AngularJS 1.4.8, HTML, CSS, JavaScript
-
sx01zv3v
AngularJS 1.4.8, HTML, CSS, JavaScript
-
ucb17tLa
AngularJS 1.4.8, HTML, CSS, JavaScript
-
jj753wqf
AngularJS 1.4.8, HTML, CSS, JavaScript
-
kpfpwg2k
AngularJS 1.4.8, HTML, CSS, JavaScript
-
AngularJS - ngModel in nested directives
Simple example for StackOverflow (http://stackoverflow.com/questions/19429958/passing-ng-model-in-nested-directives)
-
Number to Letter Sequence
This function converts a number into a letter sequence, such that 1=A, 26=Z, 27=AA, 52=ZZ, 53=AAA, and so on.
-
jQuery Plugin: .ifOnScreen()
A simple jQuery plugin that adds a function called .ifOnScreen(), which accepts a callback function as the first parameter. The callback function is called if the target element is visible in the current view port, and is passed the target element jQuery object as its first parameter.
-
Code Review for Jonathan Lake
Challenge #236 [Easy] Random Bag System Contrary to popular belief, the tetromino pieces you are given in a game of Tetris are not randomly selected. Instead, all seven pieces are placed into a "bag." A piece is randomly removed from the bag and presented to the player until the bag is empty. When the bag is empty, it is refilled and the process is repeated for any additional pieces that are needed. In this way, it is assured that the player will never go too long without seeing a particular piece. It is possible for the player to receive two identical pieces in a row, but never three or more. Your task for today is to implement this system. Output a string signifying 50 tetromino pieces given to the player using the random bag system. This will be on a single line. The pieces are as follows: O, I S, Z, L, J, T. Sample Outputs: 1. LJOZISTTLOSZIJOSTJZILLTZISJOOJSIZLTZISOJTLIOJLTSZO 2. OTJZSILILTZJOSOSIZTJLITZOJLSLZISTOJZTSIOJLZOSILJTS 3. ITJLZOSILJZSOTTJLOSIZIOLTZSJOLSJZITOZTLJISTLSZOIJO NOTE: Although the output is semi-random, you can verify whether it is likely to be correct by making sure that pieces do not repeat within chunks of seven. Bonus: Write a function that takes your output as input and verifies that it is a valid sequence of pieces.
-
hazjyvwb
No-Library (pure JS), HTML, CSS, Babel + JSX
-
RestApi
A RestApi class that uses jQuery's $.ajax() method to query a REST API via HTTP.
-
Tetris
Random Tetris pieces generator
-
jeu8ntbr
No-Library (pure JS), HTML, CSS, JavaScript
-
y5tejzwn
jQuery 1.9.1, HTML, CSS, JavaScript
-
xh769u85
No-Library (pure JS), HTML, SCSS, JavaScript
-
Angular Material Layout
Just the layout module from Angular Material v0.11.0 (source: https://github.com/angular/material/tree/v0.11.0/src/core/services/layout)