Skip to content

Instantly share code, notes, and snippets.

@mixedCase
mixedCase / Dockerfile
Created October 28, 2022 20:15
esp-idf-template reproducer
FROM nixos/nix
# Prepare Nix
RUN mkdir -p /etc/nix && \
echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf && \
echo 'sandbox = false' >> /etc/nix/nix.conf
# Prepare user environment
RUN mkdir -p /test && \
mkdir -p /root/.cargo/bin && \
@mixedCase
mixedCase / ExperimentElmRecordUpdate.elm
Last active March 8, 2017 03:09 — forked from john-kelly/Experiment2ElmRecordUpdate.elm
ExperimentElmRecordUpdate.elm
type alias Model =
{ user : User
, posts : Posts
}
type alias User =
{ userName : String
, userId : Int
, email : String
, displayName : String
<MyUsersMainWidget>
MaterialDesignList:
ListItem:
Image:
target_zone: 'left'
source: 'pretty_avatar.jpg'
Button:
target_zone: 'right'
text: 'I\'m a little button to the right'
# -*- coding: utf-8 -*-
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.floatlayout import FloatLayout
class MainWidget(FloatLayout):
pass
class TestApp(App):