Skip to content

Instantly share code, notes, and snippets.

@reinhrst
reinhrst / reply.json
Created October 7, 2021 08:28
Example Open Weather Map API call: api.openweathermap.org/data/2.5/weather?q=London&appid={API key}
{
"coord": {
"lon": -0.13,
"lat": 51.51
},
"weather": [
{
"id": 300,
"main": "Drizzle",
"description": "light intensity drizzle",
@reinhrst
reinhrst / data.json
Created July 31, 2021 10:52
Test file with 65536 randomly generated sentences. Fzf search for "hello world" should return 4694 results
This file has been truncated, but you can view the full file.
[
"Egg Fruit Breadfruit Marionberry Lemon Açaí Apricot",
"Kiwifruit Guava Melon Fig Mangosteen Huckleberry",
"Elderberry Sloe or Hawthorn Berry Tangerine Crab apple Blackcurrant Cherry Finger Lime (or Caviar Lime)",
"Pineberry Breadfruit Passionfruit Raspberry Canistel Yuzu Grewia asiatica (phalsa or falsa) Huckleberry Tamarind",
"Juniper berry Tamarillo Jujube Tamarind",
"Peach Breadfruit Finger Lime (or Caviar Lime) Mouse melon Raisin Tamarillo White currant Canistel",
"Blueberry Canistel Galia melon Mamey Apple Sloe or Hawthorn Berry",
"Cempedak Plantain Pomegranate Yuzu Papaya Cherry Cantaloupe Strawberry Cloudberry",
"Grape Cactus pear Melon Tayberry",
@reinhrst
reinhrst / ball.x3d
Last active May 15, 2021 06:55
Ball
<x3d width='500px' height='400px'>
<scene>
<transform DEF="ball">
<shape>
<appearance>
<material diffuseColor='1 0 0'></material>
</appearance>
<box onclick="alert('click')"></box>
</shape>
</transform>
@reinhrst
reinhrst / deer.x3d
Last active May 13, 2021 11:27
Deer
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "http://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D version="3.0" width="200" height="150" profile="Immersive" xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="http://www.web3d.org/specifications/x3d-3.0.xsd">
<head>
<meta name="filename" content="Deer.x3d" />
<meta name="generator" content="Blender 2.70 (sub 0)" />
</head>
<Scene>
<NavigationInfo headlight="false"
visibilityLimit="0.0"
@reinhrst
reinhrst / new.x3d
Created April 30, 2021 11:36
newx3d
<x3d width='500px' height='400px'>
<scene>
<shape>
<appearance>
<material diffuseColor='1 0 0'></material>
</appearance>
<box></box>
</shape>
</scene>
</x3d>
@reinhrst
reinhrst / test.svg
Created April 29, 2021 15:57
NoWHVB
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@reinhrst
reinhrst / nowh.svg
Created April 29, 2021 15:55
NoWidthHeight
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@reinhrst
reinhrst / novp.svg
Created April 29, 2021 15:54
No viewport
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<x3d width='500px' height='400px'>
<scene>
<shape>
<appearance>
<material diffuseColor='1 0 0'></material>
</appearance>
<box></box>
</shape>
</scene>
</x3d>
@reinhrst
reinhrst / Heatpump.svg
Last active April 30, 2021 09:33
Heat pump example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.