Skip to content

Instantly share code, notes, and snippets.

View darosh's full-sized avatar
🏠
Working from home.

Jan Forst darosh

🏠
Working from home.
View GitHub Profile
@darosh
darosh / README.md
Last active March 20, 2020 13:20
Benchmark

Notes

  • inspired by pjanik’s blocks
  • animation frame and FPS calculation powered by d3.timer
  • 3D based frameworks are producing a lot of DOM elements in SVG renderers thanks to shape triangulation
  • some test have limited number of objects because of high memory needs or incomplete/reference implementation (triangles)
  • click run link or run single test in the table
  • path is using d3-path
  • stackgl based on this block

Good or Evil?

  • Poor API specfification is ....
  • Generating/Doing useless/counterproductive work is ....
  • Micromanaging developers into brainwashed zombies is ....
@darosh
darosh / README.md
Last active November 5, 2019 23:29
Planetary Grid

Visual Studio Code extensions

List

code --list-extensions | xargs -L 1 echo code --install-extension

Theme

@darosh
darosh / clean_code.md
Created September 25, 2018 17:59 — forked from wojteklu/clean_code.md
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@darosh
darosh / README.md
Last active February 3, 2018 12:54
Countries & Events
  • Space/Enter keys: Pause/Play
  • Left/Right keys: Previous/Next
  • Pan & Zoom: when paused
const fs = require('fs')
const path = require('path')
const yaml = require('js-yaml')
const knownCategories = yaml.load(fs.readFileSync('./resources/categories.yaml', 'utf8'))
const TITLE = 0
const DOMAIN = 1
const PRODUCT = 2
const OLD = 3
APIs Discovery Service googleapis.com discovery developer_tools
DLP googleapis.com dlp cloud
Google Cloud DNS googleapis.com dns cloud
DoubleClick Bid Manager googleapis.com doubleclickbidmanager marketing
DoubleClick Search googleapis.com doubleclicksearch marketing
Firebase Dynamic Links googleapis.com firebasedynamiclinks backend
Firebase Remote Config googleapis.com firebaseremoteconfig backend
Firebase Rules googleapis.com firebaserules backend
Google Cloud Firestore googleapis.com firestore backend
Fitness googleapis.com fitness other
@darosh
darosh / categories.tab
Created October 3, 2017 14:43
openapi-directory categories patch file for patch script
6-dot-authentiqio.appspot.com security
apacta.com time_management, project_management
apitore.com documentFrequencyApis text
apitore.com languageDetectionApis text
apitore.com sentencepieceApis_tweet_ text
apitore.com sentencepieceApis_wikipedia_ text
apitore.com sentenceSeparatorApis text
apitore.com sentenceSimilarity text
apitore.com sentimentApis text
apitore.com synonymApis text