Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim Roßkamp timrosskamp

View GitHub Profile
View DomApplication.js
// @ts-check
import { DomComponent } from "./DomComponent"
import { parseHTMLAttribute } from "../utils"
const eventDescriptorPattern = /^((.+?)->)(.+?)(\.([^(\s]+))(\((.+?)?\))?(.+)?$/i;
/**
* @param {string} descriptor
*/
@timrosskamp
timrosskamp / docker-compose.yml
Last active Oct 14, 2020
Local PHP development with Docker
View docker-compose.yml
version: '3'
services:
database:
image: mysql:5.7
volumes:
- ./.docker/db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: app
@timrosskamp
timrosskamp / README.md
Last active Jun 17, 2018
Fix wrong keys on mac keyboard when using linux
View README.md

How to fix < and > keys on linux when using a mac keyboard

Create a .Xmodmap file in user directory: nano ~/.Xmodmap

keycode 49 = less greater less greater bar brokenbar bar
keycode 94 = dead_circumflex degree dead_circumflex degree U2032 U2033 U2032

Apply changes with this command: xmodmap ~/.Xmodmap

You can’t perform that action at this time.