[ Launch: Pop-Up Schemio v3 ] 11096043 by dmann99[ Launch: Pop-Up Schemio v2 ] 10953451 by dmann99[ Launch: Pop-Up Schemio v1 ] 10807834 by dmann99[ Launch: hammer nodes ] 10014177 by dmann99[ Launch: hammer nodes ] 9729074 by DeBraid[ Launch: hammer nodes ] 9727634 by DeBraid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function createNoiseTexture(width, height) { | |
var canvas = document.createElement("canvas"); | |
canvas.width = width; | |
canvas.height = height; | |
var context = canvas.getContext('2d'); | |
var image = context.createImageData( width, height ); | |
var imageData = image.data; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* This work is free. You can redistribute it and/or modify it under the | |
* terms of the Do What The Fuck You Want To Public License, Version 2, | |
* as published by Sam Hocevar. See the COPYING file for more details. | |
*/ | |
/* | |
* Easing Functions - inspired from http://gizma.com/easing/ | |
* only considering the t value for the range [0, 1] => [0, 1] | |
*/ | |
EasingFunctions = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// fraction / rational number class | |
// @author zz85 | |
Vex.Flow.Fraction = function(numerator, denominator) { | |
this.set(numerator, denominator); | |
}; | |
Vex.Flow.Fraction.prototype.constructor = Vex.Flow.Fraction; | |
Vex.Flow.Fraction.prototype.set = function(numerator, denominator) { | |
this.numerator = numerator === undefined ? 1 : numerator; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var camera, | |
scene, | |
renderer, | |
group, | |
grid, | |
wave , | |
mesh, | |
currentLayout, | |
container, | |
layoutNames, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://github.com/mrdoob/three.js/issues/4145 | |
// based on https://github.com/unconed/ShaderGraph.js/blob/master/src/Snippet.js | |
var typeMaps = { | |
'float': 'f', | |
'vec2': 'v2', | |
'vec3': 'v3', | |
'vec4': 'v4', | |
'mat3': 'm3', | |
'mat4': 'm4', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div id="bored" class="step slide" data-x="-1000" data-y="-1500"> | |
<q>Aren't you just <b>bored</b> with all those slides-based presentations?</q> | |
</div> | |
<div class="step slide" data-x="0" data-y="-1500"> | |
<q>Don't you think that presentations given <strong>in modern browsers</strong> shouldn't <strong>copy the limits</strong> of 'classic' slide decks?</q> | |
</div> | |
<div class="step slide" data-x="1000" data-y="-1500"> | |
<q>Would you like to <strong>impress your audience</strong> with <strong>stunning visualization</strong> of your talk?</q> | |
</div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -v POST https://api.sandbox.paypal.com/v1/payments/billing-plans \ | |
-H 'Content-Type:application/json' \ | |
-H 'Authorization: Bearer {accessToken}' \ | |
-d '{ | |
"name": "Fruit of the Month", | |
"description": "10 Pound Box of Fruit", | |
"type": "fixed", | |
"payment_definitions": [ | |
{ | |
"name": "Standard Package", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# For loop to exeute some task multiple times | |
for i in Item1 Item2 ItemN; do | |
bash ~/task.sh ${i} | |
done | |
for i in {1..10} | |
do | |
wget https://static.generated.photos/vue-static/human-generator/poses/female/00$i.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.post('/login', function(req,res) { | |
console.log('user email: ', req.body.email); | |
res.render('index', {title: 'Sent authentication email'}); | |
}); | |
app.get('/verify_email', function(req,res) { | |
console.log('verify_email token: ',req.query.token); | |
res.render('index', {title: 'Authenticating...'}); |