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
jQuery.extend({ | |
repeat : function(times, callback) { | |
var t = parseInt(times) | 0, i = 0; | |
if (t <= 0) | |
return console.warn('repeat() 1st argument expects unsigned int greater than 0 .'); | |
if (typeof (callback) != 'function') | |
return console.warn('repeat() 2nd argument expects function'); | |
var x = t; | |
while (x > i)callback(i++); | |
} |
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
class Fibonacci { | |
constructor(countUntil) { | |
this.a = 0; | |
this.b = 1; | |
this.c = 1; | |
this.r = [this.a, this.b]; | |
if(countUntil) { |
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
@graphql(gql` | |
query { | |
todos { | |
title | |
date | |
} | |
} | |
`); | |
class Todos extends Component { |
I hereby claim:
- I am raphael-brand on github.
- I am raphaelbrand (https://keybase.io/raphaelbrand) on keybase.
- I have a public key ASDdKJ_gWUk63rqCEs8mAaAcn0ycxatiVmpON-2iwLhSNQo
To claim this, I am signing this object:
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
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "es6", | |
"module": "commonjs", | |
"rootDir": "src", | |
"outDir": "dist", | |
"sourceMap": true, | |
"resolveJsonModule": true, | |
"lib": ["es6", "dom"], | |
"esModuleInterop": true |
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
{ | |
"name": "sandbox", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "tsc && node dist/index.js", | |
"dev": "nodemon --watch 'src/**/*.ts' --exec 'ts-node' src/index.ts", | |
"lint": "eslint .", | |
"lint:fix": "eslint . --fix" |
[SQL Fiddle][1]
MySQL 5.6 Schema Setup:
CREATE TABLE symbols (
symbol CHAR(12)
);
INSERT INTO symbols (symbol) VALUES
('rock'),
OlderNewer