Skip to content

Instantly share code, notes, and snippets.

View jaygray0919's full-sized avatar

jay gray jaygray0919

  • American Food Data Systems Institute
  • bethesda
View GitHub Profile

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.

/* All Smartphones in portrait and landscape ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* YOUR STYLE GOES HERE */
}
/* All Smartphones in landscape ----------- */
@media only screen
and (min-width : 321px) {
@baskaufs
baskaufs / dcterms.ttl
Created February 26, 2016 17:56
Dublin Core terms vocabulary in Turtle
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix xml: <http://www.w3.org/XML/1998/namespace>.
@prefix owl: <http://www.w3.org/2002/07/owl#>.
@prefix skos: <http://www.w3.org/2004/02/skos/core#>.
@prefix dcam: <http://purl.org/dc/dcam/>.
@prefix dcterms: <http://purl.org/dc/terms/>.
dcterms: dcterms:modified "2010-10-11";
@lmorillas
lmorillas / removing_exporters.js
Created March 7, 2016 08:21
Removing Exhibit exporters
var exporters = Exhibit.staticRegistry.getKeys(Exhibit.Exporter._registryKey);
var wanted_exporter = exporters.indexOf('semantic-mediawiki');
exporters.splice(wanted_exporter, 1);
for (i=0; i<exporters.length; i++){
Exhibit.staticRegistry.unregister(Exhibit.Exporter._registryKey,exporters[i]);
}
@king-panda
king-panda / file0.html
Last active June 8, 2019 09:22
【AMP】amp-listでWP REST APIを使って記事リストを取得する ref: https://qiita.com/kingpanda/items/b78fc9699067c5506ff7
<script async custom-element="amp-list" src="https://cdn.ampproject.org/v0/amp-list-0.1.js"></script>
@carueda
carueda / reprSciUnits.ttl.jena.ttl
Created October 26, 2017 21:34
prettifying sweet turtle
@base <http://sweetontology.net/reprSciUnits> .
@prefix mrela: <http://sweetontology.net/relaMath/> .
@prefix repr: <http://sweetontology.net/repr/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix oper: <http://sweetontology.net/reprMathOperation/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix units: <http://sweetontology.net/reprSciUnits/> .
@prefix screla: <http://sweetontology.net/relaSci/> .
@biovisualize
biovisualize / index.html
Last active March 10, 2023 22:15
MapD3 chart update
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="./mapd3.min.css">
<style>
.chart1 {
margin-top: 80px;
margin-left: 40px;
}
.mapd3 {
@biovisualize
biovisualize / index.html
Last active March 10, 2023 22:03
Générateur de noms de villages français
<html>
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js"></script>
</head>
<body>
<div id="display"></div>
<script>
var start = ['peu', 'prou', 'fil', 'né', 'che', 'mir', 'tré',
'cor', 'fèri', 'mol', 'fente', 'chon', 'plume', 'mériè',
'mis', 'motte', 'saint-', 'bi', 'glu'];
@biovisualize
biovisualize / index.html
Last active March 10, 2023 22:00
top 10 airports network viz
<head>
<script src="//unpkg.com/force-graph"></script>
<style>
body {
margin: 0;
padding: 0;
background: #1e1e1e;
}
</style>
</head>