gitvis - A git log visualiser in your terminal
In website headers you can link to your chosen licence, e.g. in the case of creative commons:
<link rel="license" href="http://creativecommons.org/licenses/by/4.0/" />
Likewise there's the Dublin core standard version:
For example, we have Paper and EvidenceItem models. We want to let the user add/remove/edit EvidenceItems while they are adding or editing Paper records.
The Paper model looks like this:
class Paper < ApplicationRecord
has_many :evidence_items, dependent: :destroy
A list of unicode icons that you can use instead of loads of svg markup.
If you don't see anything you like, check out:
http://unicode.org/charts/index.html#symbols
https://symbl.cc/en/unicode/table/
https://www.toptal.com/designers/htmlarrows/
This file contains hidden or 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
Survived | Pclass | Name | Sex | Age | Siblings/Spouses Aboard | Parents/Children Aboard | Fare | |
---|---|---|---|---|---|---|---|---|
0 | 3 | Mr. Owen Harris Braund | male | 22 | 1 | 0 | 7.25 | |
1 | 1 | Mrs. John Bradley (Florence Briggs Thayer) Cumings | female | 38 | 1 | 0 | 71.2833 | |
1 | 3 | Miss. Laina Heikkinen | female | 26 | 0 | 0 | 7.925 | |
1 | 1 | Mrs. Jacques Heath (Lily May Peel) Futrelle | female | 35 | 1 | 0 | 53.1 | |
0 | 3 | Mr. William Henry Allen | male | 35 | 0 | 0 | 8.05 | |
0 | 3 | Mr. James Moran | male | 27 | 0 | 0 | 8.4583 | |
0 | 1 | Mr. Timothy J McCarthy | male | 54 | 0 | 0 | 51.8625 | |
0 | 3 | Master. Gosta Leonard Palsson | male | 2 | 3 | 1 | 21.075 | |
1 | 3 | Mrs. Oscar W (Elisabeth Vilhelmina Berg) Johnson | female | 27 | 0 | 2 | 11.1333 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You've watched the screencast, here's the code! The screencast starts off with fruit-step-0.mjs, and progresses from there.
The changes for each step are as follows:
- fruit-step-0.mjs: we start here
- fruit-step-1.mjs: adds thumbnail url parsing and downloadResults function to download thumbnails from a single result page
- fruit-step-2.mjs: adds parsing of each result's common name and adds skip condition for apples
This file contains hidden or 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
{"Scotlan"=>"Scotland", | |
"Gb-Sct"=>"Scotland", | |
"Gb-Eng"=>"England", | |
"Uk"=>"United Kingdom", | |
"Usa/Colorado"=>"United States", | |
"United States of America"=>"United States", | |
"Texas, Usa"=>"United States", | |
"Gbr"=>"United Kingdom", | |
"Uk-Scotland"=>"Scotland", | |
"UK"=>"United Kingdom", |
This file contains hidden or 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
import threading, time | |
from cloudant.client import CouchDB | |
from cloudant.database import CouchDatabase | |
from cloudant.document import Document | |
client = CouchDB("username", "password", url="http://couch-main:5984", connect=True, auto_renew=True, timeout=4000) | |
db = CouchDatabase(client, "channel_queue") | |
def process_requets(myc): | |
print("Starting threaded func") | |
time.sleep(5) |
NewerOlder