Skip to content

Instantly share code, notes, and snippets.

View MarvinJWendt's full-sized avatar
😀
Vibing

Marvin Wendt MarvinJWendt

😀
Vibing
View GitHub Profile
callback(
[
{ "name": "[Q] More than one question asked", "description": "It is preferred if you can post separate questions instead of combining your questions into one. That way, it helps the people answering your question and also others hunting for at least one of your questions. Thanks!"},
{ "name": "[Q] Website is "broken", no code in question, just link to site", "description": "Please add meaningful code and a problem description here. Don't just link to the site that needs fixing — otherwise, this question will lose any value to future visitors once the problem is solved or if the site you're linking to is inaccessible. Posting a <a href=\"https://$SITEURL$/help/minimal-reproducible-example\">Minimal, Reproducible example (or MCVE)</a> that demonstrates your problem would help you get better answers. For more info, see <a href=\"https://meta.stackexchange.com/questions/125997/\">Something on my web site doesn't work. Can I just paste a link to it?</a> Thanks!"},
{ "name": "[Q] Needs to demonstrate
function is(x) {
return {
plus: (plus) => {
return is(x + plus)
},
minus: (minus) => {
return is(x - minus)
},
equalToTen: () => {
return (x === 10)
function is(x) {
return {
plus: (plus) => {
return is(x + plus)
},
minus: (minus) => {
return is(x - minus)
},
equalToTen: () => {
return (x === 10)

Keybase proof

I hereby claim:

  • I am marvinjwendt on github.
  • I am marvinjwendt (https://keybase.io/marvinjwendt) on keybase.
  • I have a public key ASASY1PSBj7Uk9FkLOGmx6OttR4029HTUmwlKyxL6ip_wAo

To claim this, I am signing this object:

@MarvinJWendt
MarvinJWendt / javascript_chain_functions.js
Created October 8, 2019 23:23
Chaining JavaScript Functions
const log = console.log
const is = (x) => {
return {
plus: (plus) => {
return is(x + plus)
},
ten: () => {
return (x === 10)
},
@MarvinJWendt
MarvinJWendt / text-style.md
Created December 3, 2018 15:45
Special markdown html tags

<em>Italic</em>
Italic


<strong>Bold</strong>
Bold


@MarvinJWendt
MarvinJWendt / .eslintrc
Last active November 26, 2018 10:04
Prettier config for TypeScript and JavaScript
{
"plugins": ["prettier"],
"rules": {
"prettier/prettier": "error"
}
}
@MarvinJWendt
MarvinJWendt / rest-api-template.php
Last active September 16, 2018 09:54
PHP REST API template with JSON response (single file | Usage: see x-README.md)
<?php
//Uncomment to show errors
//ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL);
$response = array();
$method = $_SERVER['REQUEST_METHOD'];
header('Content-Type: application/json');
@MarvinJWendt
MarvinJWendt / primes-starts-with-1337.txt
Created March 18, 2018 17:49
Prime numbers which start with "1337"
133709
133711
133717
133723
133733
133769
133781
1337003
1337023
1337027
@MarvinJWendt
MarvinJWendt / primes-with-1337.txt
Created March 18, 2018 17:41
Prime numbers which contain "1337"
31337
111337
113371
133709
133711
133717
133723
133733
133769
133781