Skip to content

Instantly share code, notes, and snippets.

View MarvinJWendt's full-sized avatar
😀
Vibing

Marvin Wendt MarvinJWendt

😀
Vibing
View GitHub Profile
@OrionReed
OrionReed / dom3d.js
Last active July 22, 2024 08:58
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@MarvinJWendt
MarvinJWendt / dot_new_domain_list.csv
Last active February 27, 2022 18:56
A list of `.new` doamins
Domain name Company Description
ar.new Aircards Easily create and deploy WebAR activation codes to use on your next augmented reality project.
io.new Bit.io Upload data to your Bit.io cloud database.
query.new bit.io Easily query bit.io data repositories.
pen.new CodePen Prototype your frontend code in CodePen's online development sandbox.
vue.new CodeSandbox Create a new vue.js project online with CodeSandbox.
ts.new CodeSandbox Create a new Typescript project online with CodeSandbox.
js.new CodeSandbox Create a new Javascript project online with CodeSandbox.
react.new CodeSandbox Create a new React project online with CodeSandbox.
ng.new CodeSandbox Create a new Angular project online CodeSandbox.
@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 / 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 / color-fade.js
Created September 7, 2017 03:15
Fade android url-bar color with javascript and jquery.
var colors = ['#000000', '#080808', '#0F0F0F', '#171717', '#1F1F1F', '#262626 ', '#2E2E2E'];
var colors_length = colors.filter(function () { return true; }).length -1;
var currentColor = 0;
var forwards = true;
setInterval(function() {
if(forwards)
{
$("meta[name='theme-color']").attr("content", colors[currentColor]);
currentColor++;
@rxaviers
rxaviers / gist:7360908
Last active July 28, 2024 01:40
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@jbroadway
jbroadway / Slimdown.md
Last active July 7, 2024 08:56
Slimdown - A simple regex-based Markdown parser.