Skip to content

Instantly share code, notes, and snippets.

View theonlyway's full-sized avatar

Anthony theonlyway

  • Queensland, Australia
View GitHub Profile
@abachman
abachman / adafruit-io-data-OBS-browser-source.html
Created April 26, 2020 18:18
Locally hosted OBS Browser Source html file pulling temp + humidity from my little office weather station
<!DOCTYPE html>
<html>
<head>
<!-- Fontawesome 5! Get it here: https://fontawesome.com/how-to-use/on-the-web/setup/hosting-font-awesome-yourself -->
<link rel="stylesheet" href="css/all.min.css" />
<style>
body {
background: rgba(0, 0, 0);
color: #ffffff;
font-size: 16px;
@mencargo
mencargo / postgresql.md
Last active July 19, 2024 20:11
PostgreSQL Queries

Useful PostgreSQL Queries & Commands

All sizes in MB, change /1024/1024 to /1024/1024/1024 for GB.

Databases sizes

Without system databases

select
datname as database,
(pg_database_size(datname)/1024/1024) as size
@SuaYoo
SuaYoo / .env.local
Last active October 15, 2023 11:02
Next.js: Update Auth0 user metadata
AUTH0_ISSUER_BASE_URL='https://YOUR_AUTH0_DOMAIN.auth0.com'
AUTH0_SCOPE='openid read:current_user create:current_user_metadata update:current_user_metadata'