This file contains 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
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"description": "Vega-lite means and stdev", | |
"width": "container", | |
"data": { | |
"values": [ | |
{"date": "2023-05-19T10:16:59.509Z", "weight": "0.10"}, | |
{"date": "2023-05-19T09:16:59.509Z", "weight": "0.49"}, | |
{"date": "2023-05-19T08:16:59.509Z", "weight": "0.54"}, | |
{"date": "2023-05-19T07:16:59.509Z", "weight": "0.95"}, |
This file contains 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="root"></div> |
This file contains 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
# This example gist makes fireworks appear on the Raspberry Pi Sense Hat. This could be adapted for other LED based Raspberry Pi Hats. | |
from sense_hat import SenseHat | |
from time import sleep | |
from random import randint | |
import threading | |
DECAY = 0.7 # Colour decay of firework head. | |
SPEED = 0.1 # Speed of firework explosion. | |
DISPLAY_SPEED = 0.6 # Speed of firework launches. |
This file contains 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
<main draggable="true"> | |
<div class="title"> | |
<div class="titlebtn titlebtn_left">C</div> | |
<span>alexreynish.com</span> | |
<div class="titlebtn titlebtn_right">M</div> | |
</div> | |
<div class="content"> | |
<h1>Alex Reynish</h1> | |
<p>Something about me</p> | |
</div> |
This file contains 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
.sq.sq-main | |
.sq-inner.sq_red | |
.sq-inner.sq_green | |
.sq-inner.sq_blue |
I hereby claim:
- I am reynish on github.
- I am reynish (https://keybase.io/reynish) on keybase.
- I have a public key ASA8_wsDEchgxa4UitFD_nNnc6Wxx6I0p9tOeg4YoT2jyQo
To claim this, I am signing this object:
This file contains 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
image: node:10.8 | |
stages: | |
- build | |
cache: | |
paths: | |
- node_modules/ | |
before_script: |
This file contains 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
const axios = require('axios'); | |
const http = require('http'); | |
const https = require('https'); | |
module.exports = axios.create({ | |
//60 sec timeout | |
timeout: 60000, | |
//keepAlive pools and reuses TCP connections, so it's faster | |
httpAgent: new http.Agent({ keepAlive: true }), |
This file contains 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
npm config set proxy http://proxy.company.com:8080 | |
npm config set https-proxy http://proxy.company.com:8080 |
NewerOlder