Skip to content

Instantly share code, notes, and snippets.

View sto3psl's full-sized avatar
🙋‍♂️
Drawing lines on a screen.

Fabian Gündel sto3psl

🙋‍♂️
Drawing lines on a screen.
View GitHub Profile
@sto3psl
sto3psl / after-esbuild.js
Last active March 22, 2021 10:53
esbuild renaming problem
'use strict';
function AVSurface(coordList, radiusList, indexList) {
var nAtoms = radiusList.length;
var x = new Float32Array(nAtoms);
var y = new Float32Array(nAtoms);
var z = new Float32Array(nAtoms);
for (var i = 0; i < nAtoms; i++) {
var ci = 3 * i;
x[i] = coordList[ci];
@sto3psl
sto3psl / rps.js
Created January 16, 2019 08:21
Small Rock, Paper, Scissors implementation with Node.js
// API to read input from the command line in Node.js
const rl = require('readline').createInterface({ input: process.stdin, output: process.stdout })
/**
* Defines relations between options
* [Key] wins against [value]
* Example:
* [schere] wins against [papier]
*/
const rules = {

Keybase proof

I hereby claim:

To claim this, I am signing this object:

// ES6
data.map((item) => {
Object.keys(item).map((key) => console.log(`${key}: ${item[key]}`))
})
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
/** Import decamelize um camelCase in Dashed-Schreibweise umzuwandeln */
var decamelize = require('decamelize')
var d3 = require('d3')
/**
* Funktion zum Zeichnen der Elemente aus Datensatz
* @param {Object} canvas SVG in dem die Elemente gezeichnet werden
* @param {Array} data Daten und Attribute der Elemente
*/
{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Autoprefixer",
"Color Highlighter",
"ColorPicker",
//Autoexec sto3psl
//Rates
rate "128000"
cl_cmdrate "128"
cl_updaterate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_lagcompensation "1"
@sto3psl
sto3psl / template-index.html
Last active August 29, 2015 14:25
index.html Template
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta http-equiv="content-language" content="de" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
{
"auto_complete_commit_on_tab": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Monokai Neue/Monokai-Neue.tmTheme",
"default_encoding": "UTF-8",
"default_line_ending": "unix",
"draw_white_space": "selection",
"ensure_newline_at_eof_on_save": true,
"file_exclude_patterns":
[