constraints: BoxConstraints.expand() so the child a column can have expanded
TextField(
controller: _usernameController,
decoration: InputDecoration(
18H7aPasWJ77zq1a4GdK4MoaksbPPiQdXF |
#!/usr/bin/env python | |
# -*- coding: utf8 -*- | |
import RPi.GPIO as GPIO | |
import MFRC522 | |
import signal | |
from kivy.app import App | |
from kivy.uix.button import Button | |
class TestApp(App): |
sudo su - postgres | |
\password Change your password | |
\q Exit psql | |
\l List all databases accessible by the current account | |
\du List roles | |
\c <db name> Connect to a database | |
\dt List all tables in a connected database | |
\d <table> List columns in the selected table | |
\conninfo Show information about your currect connection |
r | |
Opens a file for reading only. The file pointer is placed at the beginning of the file. This is the default mode. | |
rb | |
Opens a file for reading only in binary format. The file pointer is placed at the beginning of the file. This is the default mode. | |
r+ | |
Opens a file for both reading and writing. The file pointer will be at the beginning of the file. | |
rb+ |
sudo nmap -sP 172.168.0-255.0-255 |awk '/^Nmap/{ipaddress=$NF}/B8:27:EB/{print ipaddress}' |
class HeroImage(ImageMixin):
image = VersatileImageField(upload_to=upload_to, ppoi_field='image_poi',
verbose_name="image")
image_poi = PPOIField(verbose_name="image's Point of Interest") # point of interest
caption = models.CharField(max_length=250, blank=True)
new AppBar(
elevation: _appBarElevation,
backgroundColor: theme.appBarBackgroundColor,
iconTheme: Theme.of(context).iconTheme,
brightness: Brightness.light,
flexibleSpace: new Container(
decoration: new BoxDecoration(
border: new Border(
bottom: new BorderSide(color: theme.dividerColor)))),
dart
new Container(
child: new OverflowBox(
minWidth: 0.0,
minHeight: 0.0,
maxWidth: double.INFINITY,
child: new Image(
image: new AssetImage('assets/images/bubbles.jpg'),
fit: BoxFit.cover))
from nitwit.website.models import * | |
from sorl.thumbnail import get_thumbnail | |
from sorl.thumbnail import delete | |
x= MeetingRoom.objects.all() | |
z= MeetingRoomImages.objects.all() | |
for y in z: | |
im = get_thumbnail(y.picture, '150x210', crop='center', quality=99) | |
y.picture_thumb=im.url | |
y.save() |