PostgreSQL Type | PostgreSQL Size | Description | Range | Diesel Type | Rust Type |
---|---|---|---|---|---|
Nullable Types | nullable | Nullable `` |
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
*.pyc | |
app.db | |
./tmp | |
./build/* | |
./.idea | |
./.idea/* | |
env | |
venv | |
*.sublime* |
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
/home/afidegnum/fab/bin/python2.7 /home/afidegnum/Downloads/pycharm-2017.1.5/helpers/pydev/pydevconsole.py 35825 37077 | |
PyDev console: starting. | |
import sys; print('Python %s on %s' % (sys.version, sys.platform)) | |
sys.path.extend(['/home/afidegnum/PycharmProjects/ladiespage']) | |
Python 2.7.12 (default, Nov 19 2016, 06:48:10) | |
[GCC 5.4.0 20160609] on linux2 | |
>>> from app.models import Color | |
/home/afidegnum/fab/local/lib/python2.7/site-packages/flask_sqlalchemy/__init__.py:800: UserWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True to suppress this warning. |
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
I have 2 tables. | |
category and products. [from google product](https://www.google.com/basepages/producttype/taxonomy.en-US.txt) taxonomy tree i was able to reconstruct the entire tree. | |
i have the following tables, | |
``` | |
CREATE TABLE public.category | |
( | |
id integer NOT NULL DEFAULT nextval('category_id_seq'::regclass), |
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
I have 2 tables. | |
category and products. [from google product](https://www.google.com/basepages/producttype/taxonomy.en-US.txt) taxonomy tree i was able to reconstruct the entire tree. | |
i have the following tables, | |
``` | |
CREATE TABLE public.category | |
( | |
id integer NOT NULL DEFAULT nextval('category_id_seq'::regclass), |
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
cjPath := "cj_items" | |
files, err := ioutil.ReadDir(cjPath) | |
if err != nil { | |
log.Fatal(err) | |
} | |
for _, f := range files { | |
if filepath.Ext(f) == ".txt" { |
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
<body> | |
<div id="wrapper"> | |
<div id="header"> | |
<h1>Logo</h1> | |
<div id="nav"> | |
<ul> | |
<li><a href="">Home</a></li> | |
<li><a href="">Products</a></li> | |
<li><a href="">Services</a></li> | |
<li><a href="">About</a></li> |
Should be work with 0.18
Destructuring(or pattern matching) is a way used to extract data from a data structure(tuple, list, record) that mirros the construction. Compare to other languages, Elm support much less destructuring but let's see what it got !
myTuple = ("A", "B", "C")
myNestedTuple = ("A", "B", "C", ("X", "Y", "Z"))
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
module Main exposing (..) | |
import Browser | |
import Browser.Navigation as Nav | |
import Dropdown | |
import Element exposing (Element, centerX, centerY, column, el, fill, fillPortion, focused, height, image, mouseOver, padding, paddingEach, paddingXY, px, rgb255, rgba255, row, spacing, spacingXY, text, width) | |
import Element.Background as Background | |
import Element.Border as Border | |
import Element.Font as Font | |
import Element.Input as Input |
OlderNewer