Skip to content

Instantly share code, notes, and snippets.

View BlackDante's full-sized avatar

Kamil Kiełbasa BlackDante

View GitHub Profile
{
"data": [
{
"id": "210646652310492_939251412783342"
},
{
"id": "210646652310492_939213232787160"
},
{
"id": "210646652310492_939207222787761"
<?php
if (isset($_GET['origin'])) {
switch($_GET['origin']) {
case '*':
header("Access-Control-Allow-Origin: *");
break;
case 'www':
import Html exposing (text)
main =
text "Hello, World!"
update : Msg -> Model -> Model
update msg model =
case msg of
Change newContent ->
{ model | content = newContent }
Click newContent ->
{ model | counter + 1 }
{
"version": "1.0.0",
"summary": "helpful summary of your project, less than 80 characters",
"repository": "https://github.com/user/project.git",
"license": "BSD3",
"source-directories": [
"."
],
"exposed-modules": [],
"dependencies": {
var requestAnimation, start;
start = null;
requestAnimation = function(timestamp) {
var progress;
if (!start) {
start = timestamp;
}
document.querySelector('video').addEventListener('timeupdate', function(evt) {
return console.log('Video-timeupdate: ' + evt.srcElement.currentTime);
});
var start;
var TICK = 100;
start = null;
setInterval(function () {
if (!start) {
start = +new Date
}
image: node:6.9.4
all_tests:
script:
- npm install
- npm run test
var module = require('../index.js');
var expect = require('chai').expect;
describe('dummy test', () => {
it('should work', () => {
expect(1).to.equal(1);
});
});