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
@datadavev
datadavev / https_schema_org_pyld.ipynb
Created March 30, 2021 13:07
Demonstrate forcing https for schema.org context
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@westurner
westurner / build_sphinx_docs_with_readthedocs_container.Dockerfile
Last active September 22, 2021 09:47
Build Sphinx docs locally with the ReadTheDocs Docker container
FROM readthedocs/build:latest
## Install system packages
#RUN pip install -U pip
## Install latest pip
#RUN curl -SL https://bootstrap.pypa.io/get-pip.py > get-pip.py
#RUN python ./get-pip.py
## Install dotfiles
ARG uid=1000
ARG user="app"
@stettix
stettix / things-i-believe.md
Last active July 10, 2024 23:00
Things I believe

Things I believe

This is a collection of the things I believe about software development. I have worked for years building backend and data processing systems, so read the below within that context.

Agree? Disagree? Feel free to let me know at @JanStette. See also my blog at www.janvsmachine.net.

Fundamentals

Keep it simple, stupid. You ain't gonna need it.

@joejag
joejag / profile.ps1
Last active October 24, 2022 03:46
Powershell profile
# Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
# Install-Module git-aliases -Scope CurrentUser -AllowClobber
# Install-Module PSReadLine -Scope CurrentUser -AllowPrerelease -Force
# Install-Module nvm -Scope CurrentUser
# Copy of the robby russell theme
function Prompt {
if ($?) {
Write-Host '➜' -NoNewline -ForegroundColor Green
}
@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>
@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: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 {
@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/> .
@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>
@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]);
}