This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type alias Model = | |
{ user : User | |
, posts : Posts | |
} | |
type alias User = | |
{ userName : String | |
, userId : Int | |
, email : String | |
, displayName : String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<MyUsersMainWidget> | |
MaterialDesignList: | |
ListItem: | |
Image: | |
target_zone: 'left' | |
source: 'pretty_avatar.jpg' | |
Button: | |
target_zone: 'right' | |
text: 'I\'m a little button to the right' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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): |