I hereby claim:
- I am splittydev on github.
- I am splitty (https://keybase.io/splitty) on keybase.
- I have a public key whose fingerprint is EA4E 6964 1BCD ECB7 F04C B3B5 7C7B 5F81 9AF8 3565
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
<!-- The webpage should look something like that --> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<!-- Probably a few meta tags, scripts, etc here --> | |
<!-- Add the following to the end of the <head> section, just | |
before the </head> tag: --> | |
<script> | |
window.alert("Something!"); | |
</script> |
// eva.js - The lightweight es6 event library. | |
var eva = (() => { | |
// Prepare local globals | |
var eva = {}; | |
var receivers = []; | |
var gid = 0; | |
/** | |
* Verify the type of a parameter. | |
* Throw if the type does not match the expected type. | |
* @param {object} item - The argument itself |
For use in OS development.
Designed to be assembled with NASM, porting it over to other assemblers should be easy.
You are free to use, modify, distribute and sell this code.
A small message referring to this gist would be nice, though not required.
This implementation uses a custom calling convention.
/* | |
* JSON-RPC 2.0 implementation as per http://www.jsonrpc.org/specification. | |
* License: MIT (https://opensource.org/licenses/MIT) | |
* Author: Marco Quinten <splittydev@gmail.com> | |
*/ | |
const debug = require('debug')('json-rpc'); | |
// List of public API endpoints | |
var exposed = []; |
Ziel der Aufgabe ist es, ein visuell ansprechendes und funktionales Kontaktformular unter Verwendung moderner Webtechnologien zu erstellen.
// Created by Marco Quinten (@SplittyDev). | |
// License: Public Domain. Do whatever you want with the code. | |
const W = 5000; | |
const H = 5500; | |
function isInCircle(x, y, cx, cy, r) { | |
return (Math.pow(cx - x, 2) + Math.pow(cy - y, 2)) < Math.pow(r, 2); | |
} |