Skip to content

Instantly share code, notes, and snippets.

View andriyshevchenko's full-sized avatar
👨‍🎓

Andriy andriyshevchenko

👨‍🎓
View GitHub Profile
class BtnLogged(Button):
def __init__(self, native: Native, journal: Journal):
self.native = native
self.journal = journal
self.message = StrFormatted(
StrLiteral("Clicking button %s"),
StrNativeDesc(native)
)
self.level = LvlDefault(logging.DEBUG)
@andriyshevchenko
andriyshevchenko / login.component.html
Last active March 7, 2019 22:14
Example Angular login component
<div>
<h1>Welcome to e-folio <!--Or whatsoever--> </h1>
<form [formGroup]="signupForm" (ngSubmit)="onSubmit()">
<input formControlName="email"
type="email"
id="email"
placeholder="[email protected]"/>
<input formControlName="password"
id="password"
type="password" />