#!/usr/bin/env perl | |
## | |
## Easily disable fonts that aren't for your language, or language-specific | |
## variants from large font families like Noto -- WITHOUT uninstalling them | |
## | |
## Authors: Kevin Ernst <ernstki -at- mail.uc.edu>, @wdoekes | |
## License: MIT or CC-BY-SA-4.0, at your option | |
## Source: https://gist.github.com/ernstki/2ae279ad89888e4099c9852bf0ba5d11 | |
## | |
## Usage: |
import random as rd | |
import functools as ft | |
import streamlit as st | |
import streamlit.components.v1 as components | |
# Domanda: come applicare stili css solo ad alcuni elementi streamlit? | |
# Risposta: iniettare js che aggiorni id e classe dell'elemento precedente |
The goal of this example is to build a more powerful authentication system in our Supabase Angular applications by leveraging RxJS Observables.
Supabase has a great tutorial that explains how to set up your Angular app to work with Supabase, but while that tutorial works with Angular, I wouldn't say it's built for angular.
When you create a new Angular app with the Angular CLI, baked-in is the powerful library, RxJS. Let's combine the ease of Supabase with the power of RxJS.
Another important addition that I will lay out is the ability to seamlessly combine a public.profiles
table with your auth.users
table from Supabase Auth. Many (if not most) applications need to store more data about their users than what sits in the auth.users
table in your database, which is where Supabase Auth pulls from. With RxJS Observables and Supabase Realtime, any changes to our user's profile can immediately be
[Unit] | |
Description=Remote desktop service (VNC) for :0 display | |
Requires=display-manager.service | |
After=network-online.target | |
After=display-manager.service | |
[Service] | |
Type=simple | |
ExecStartPre=/usr/bin/bash -c "/usr/bin/systemctl set-environment XAUTHORITY=$(find /var/run/sddm/ -type f)" | |
Environment=HOME=/root |
/* Using a JavaScript proxy for a super low code REST client */ | |
// via https://dev.to/dipsaus9/javascript-lets-create-aproxy-19hg | |
// also see https://towardsdatascience.com/why-to-use-javascript-proxy-5cdc69d943e3 | |
// also see https://github.com/fastify/manifetch | |
// also see https://github.com/flash-oss/allserver | |
// and https://gist.github.com/v1vendi/75d5e5dad7a2d1ef3fcb48234e4528cb | |
const createApi = (url) => { | |
return new Proxy({}, { | |
get(target, key) { |
pacman -S --needed git base-devel | |
git clone https://aur.archlinux.org/yay.git | |
cd yay | |
makepkg -si | |
yay -S flutter | |
java -version | |
sudo pacman -S jre8-openjdk |
class MediumHighlighter extends HTMLElement { | |
get markerPosition() { | |
return JSON.parse(this.getAttribute("markerPosition") || "{}"); | |
} | |
get styleElement() { | |
return this.shadowRoot.querySelector("style"); | |
} | |
get highlightTemplate() { |