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
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8" /> | |
<meta name="viewport" content="width=device-width" /> | |
<title>$title</title> | |
<style src="style.css"></style> | |
$styles | |
</head> | |
<body> |
my oven dial was unreadable.
next time, better to do with SVG, D3 or Raphael?
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
<p>yo</p> | |
<p>yo</p> |
This is an example command for Backtick. A Backtick command consists of some executable JavaScript and a bit of metadata in JSON.
Here are the required steps to create a command:
-
Create a new Gist with a
command.js
andcommand.json
file, or simply fork this one. -
Write your JavaScript in
command.js
. This will be injected into and executed on the page the user is currently on when they run it. -
Add some metadata to the
command.json
file:
- name: The name of the command.
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
<div id="page-wrapper"> | |
<h1>Web Speech Synthesis Demo</h1> | |
<p id="msg"></p> | |
<input type="text" name="speech-msg" id="speech-msg" x-webkit-speech value="觀自在菩薩,行深般若波羅蜜多時,照見五蘊皆空,度一切苦厄。舍利子,色不異空,空不異色;色即是空,空即是色。受、想、行、識,亦復如是。"> | |
<div class="option"> | |
<label for="voice">Voice</label> | |
<select name="voice" id="voice"></select> | |
</div> |
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
"Earth" in 243 languages according to Wikipedia* | |
(sorted by roughly estimated language group, corrections welcome) | |
Aarde - Dutch | |
Aarde - Afrikaans | |
Aerde - Zeelandic | |
Art - Maltese | |
Eadn - Bavarian |
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
<h1>Videos Piscine Illustrator</h1> | |
<h2>D00</h2> | |
<a href="https://elearning.intra.42.fr/uploads/video/video/1117/Piscine_Illustrator_-_D00_-_00_Re%CC%80gles__repe%CC%80res_et_magne%CC%81tisme.mp4">00_Regles__reperes_et_magnetisme</a><br> | |
<a href="https://elearning.intra.42.fr/uploads/video/video/1118/Piscine_Illustrator_-_D00_-_01_Les_diffe%CC%81rents_types_de_trace%CC%81s.mp4">01_Les_differents_types_de_traces</a><br> | |
<a href="https://elearning.intra.42.fr/uploads/video/video/1119/Piscine_Illustrator_-_D00_-_02_Les_Nuanciers.mp4">02_Les_Nuanciers</a><br> | |
<a href="https://elearning.intra.42.fr/uploads/video/video/1120/Piscine_Illustrator_-_D00_-_03_Les_formes_vectorielles.mp4">03_Les_formes_vectorielles</a><br> | |
<a href="https://elearning.intra.42.fr/uploads/video/video/1121/Piscine_Illustrator_-_D00_-_04_Plans__arrie%CC%80re-plans_et_calques.mp4">04_Plans__arriere-plans_et_calques</a><br> | |
<a href="https://elearning.intra.42.fr/uploads/video/video/1122/Piscine_Illustrator_-_D00_-_05_Les_outils_de_dessin.mp4"> |
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 scrapy | |
from scrapy.http import FormRequest | |
class LoginSpider(scrapy.Spider): | |
name = 'login' | |
allowed_domains = ['quotes.toscrape.com'] | |
start_urls = ['http://quotes.toscrape.com/login'] | |
def parse(self, response): |