This Web Components keeps the year in your copyright notice up-to-date.
export { CopyrightYearElement }
const name = "copyright-year";
class CopyrightYearElement extends HTMLSpanElement {
Date.prototype.addHours= function(h){ | |
this.setHours(this.getHours()+h); | |
return this; | |
} | |
function updateCalendar() { | |
let response = UrlFetchApp.fetch('https://api.openweathermap.org/data/2.5/onecall?lat={{YOUR LATITUTE HERE}}&lon={{YOUR LONGITUDE HERE}}&units=imperial&appid={{YOUR API KEY HERE}}') | |
let weather = JSON.parse(response.getContentText()); |
Date.prototype.addHours= function(h){ | |
this.setHours(this.getHours()+h); | |
return this; | |
} | |
function updateCalendar() { | |
let response = UrlFetchApp.fetch('https://api.openweathermap.org/data/2.5/onecall?lat={{YOUR LATITUTE HERE}}&lon={{YOUR LONGITUDE HERE}}&units=imperial&appid={{YOUR API KEY HERE}}') | |
let weather = JSON.parse(response.getContentText()); |
Twitter ID | Screen name | Followers | Removal observed | Before | After | |
---|---|---|---|---|---|---|
17461978 | SHAQ | 15612791 | 2022-02-26T22:24:52Z | SHAQ.ETH | SHAQ.SOL | |
21910850 | jakeowen | 2119904 | 2022-02-26T15:45:18Z | jakeowen.eth | Jake Owen | |
7846 | ijustine | 1811449 | 2022-03-09T14:43:37Z | iJustine.eth | iJustineUltra | |
1666038950 | BoredElonMusk | 1752290 | 2022-02-17T08:05:47Z | bored.eth | Bored | |
381051960 | ethRuby | 1267133 | 2022-03-19T08:08:11Z | CryptoSolis.eth | Ruby | |
1282418324228337665 | wsbmod | 832406 | 2022-02-24T06:52:07Z | wsbmod.eth | wsbmod | |
20882981 | EclecticMethod | 495235 | 2022-02-18T04:39:30Z | eclecticm.eth | Eclectic Method | |
811350 | alexisohanian | 479340 | 2022-02-08T06:31:55Z | AlexisOhanian.eth 7️⃣7️⃣6️⃣ | Alexis Ohanian 7️⃣7️⃣6️⃣ | |
22784458 | Fwiz | 410813 | 2022-03-22T08:54:42Z | Ryan Wyatt - fwiz.eth 💜 | Ryan Wyatt - @ GDC |
// copy this massive script in your console on the github page where the calendar is shown | |
// copy this massive script in your console on the github page where the calendar is shown | |
// copy this massive script in your console on the github page where the calendar is shown | |
// threejs.org/license | |
(function(k,ua){"object"===typeof exports&&"undefined"!==typeof module?ua(exports):"function"===typeof define&&define.amd?define(["exports"],ua):(k=k||self,ua(k.THREE={}))})(this,function(k){function ua(){}function v(a,b){this.x=a||0;this.y=b||0}function ya(){this.elements=[1,0,0,0,1,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.")}function W(a,b,c,d,e,f,g,h,l,m){Object.defineProperty(this,"id",{value:ej++});this.uuid=O.generateUUID(); | |
this.name="";this.image=void 0!==a?a:W.DEFAULT_IMAGE;this.mipmaps=[];this.mapping=void 0!==b?b:W.DEFAULT_MAPPING;this.wrapS=void 0!==c?c:1001;this.wrapT=void 0!==d?d:1001;this.magFilter=void 0!==e?e:1006;this.mi |
/* | |
Copy this into the console of any web page that is interactive and doesn't | |
do hard reloads. You will hear your DOM changes as different pitches of | |
audio. | |
I have found this interesting for debugging, but also fun to hear web pages | |
render like UIs do in movies. | |
*/ | |
const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |
#!python3 | |
""" | |
Convert a requirements.txt file to a Poetry project. | |
Just place in the root of your working directory and run! | |
""" | |
sourceFile = "./requirements.txt" | |
import re | |
import os |
function _isEvent(prop) { | |
if (0 !== prop.indexOf('on')) { | |
return false; | |
} | |
return true; | |
} | |
function _getEvents(obj) { |
version: '3.1' | |
services: | |
reverse-proxy: | |
image: traefik # The official Traefik docker image | |
command: --api --docker # Enables the web UI and tells Traefik to listen to docker | |
ports: | |
- "80:80" # The HTTP port | |
- "8080:8080" # The Web UI (enabled by --api) | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock # So that Traefik can listen to the Docker events |
version: "3" | |
services: | |
postgres-db: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_PASSWORD: postgres |