Skip to content

Instantly share code, notes, and snippets.

@tobybatch
tobybatch / README.md
Created September 27, 2022 08:41 — forked from noamtamim/README.md
Markdown with PlantUML

How to use PlantUML with Markdown

PlantUML is a really awesome way to create diagrams by writing code instead of drawing and dragging visual elements. Markdown is a really nice documentation tool.

Here's how I combine the two, to create docs with embedded diagrams.

Step 0: Setup

Get the command-line PlantUML from the download page or your relevant package manager.

[
{
"id": "uuid-12345",
"label": "Item one"
},
{
"id": "uuid-23456",
"label": "Item two"
},
{
{
"results": [
{
"id": 1,
"text": "Option 1"

WhatsApp

WhatsApp began to outpace Facebook messenger for user attention in 2013. Facebook craves user attention, so they bought WhatsApp in Feb 2014 for a lot of money (~$19 billion). It proceeded to be a runaway success in the late 2010s and is now installed on 2 billion user's phones, world-wide.

WhatsApp is a cash black hole

This costs Facebook money:

  • electricity for servers that act as a switchboard
  • people to run it all.
  • the fact it also runs Facebook messenger as well
  • in the early days they charged a ~£1 per year fee to users
@tobybatch
tobybatch / device-oauth.md
Last active September 11, 2020 11:31
device-oauth.md

Setting up Devive auth flow

Assumptions

You have service MyMind working

Set up Passport

In the laravel route dir

@tobybatch
tobybatch / .Xresources
Created May 13, 2020 07:39 — forked from AnthonyDiGirolamo/.Xresources
Xresources example
! Font options - ~/.fonts.conf seems to override this
! Resolution for Xft in dots per inch (e.g. 96)
!Xft.dpi: 128
! Type of subpixel antialiasing (none, rgb, bgr, vrgb or vbgr)
!Xft.rgba: rgba
!Xft.antialias: 1
!Xft.hinting: 1
!Xft.autohint: 0
! What degree of hinting to use (hintnone, hintslight, hintmedium, or hintfull)
!Xft.hintstyle: hintslight
wired01
description: Desktop Computer
product: To Be Filled By O.E.M. (To Be Filled By O.E.M.)
vendor: To Be Filled By O.E.M.
version: To Be Filled By O.E.M.
serial: To Be Filled By O.E.M.
width: 64 bits
capabilities: smbios-2.7 dmi-2.7 smp vsyscall32
configuration: boot=normal chassis=desktop family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=00020003-0004-0005-0006-000700080009
*-core

To see if you have a ssh key already

ls C:\Users\Untangled\.ssh\MYNAME

To create a new ssh key and add it to your github account

Make sure you enter a password, make it ome you can remeber.

kimai:
ldap:
active: true # default: false
# more infos about the connection params can be found at:
# https://docs.zendframework.com/zend-ldap/api/
connection:
host: 192.168.21.97
#port: 389
#useSsl: false # Enable SSL negotiation

The JSON Schema describing how to config the routing for the Front Controller Schema

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Experimental No Forbidden Permitted routes.schema.json