Skip to content

Instantly share code, notes, and snippets.

View mouselangelo's full-sized avatar

Chetan Agarwal mouselangelo

  • flowkey
  • Berlin, Germany
View GitHub Profile
_______________________
< bitte, Abstand halten >
-----------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
@mouselangelo
mouselangelo / machine.js
Last active May 17, 2020 12:29
Generated by XState Viz: https://xstate.js.org/viz
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@mouselangelo
mouselangelo / avd-hardware-profile-huawei-mate-20x.xml
Created July 23, 2019 10:51
Android: Basic AVD Hardware profile for the Huawei Mate 20 X phone
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<d:devices xmlns:d="http://schemas.android.com/sdk/devices/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<d:device>
<d:name>HUAWEI Mate 20 X</d:name>
<d:manufacturer>HUAWEI</d:manufacturer>
<d:meta/>
<d:hardware>
<d:screen>
<d:screen-size>large</d:screen-size>
<d:diagonal-length>7.20</d:diagonal-length>
@mouselangelo
mouselangelo / Dimens.swift
Created January 18, 2017 11:04
Swift - Avoid magic numbers
import UIKit
**
All view dimensions used in the app
*/
struct Dimens {
/**
Common dimensions - used across the app
*/