This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.
⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.
| const express = require('express') | |
| const responseTime = require('response-time') | |
| const redis = require('redis') | |
| const axios = require('axios') | |
| const runApp = async () => { | |
| // connect to redis | |
| const client = redis.createClient() | |
| client.on('error', (err) => console.log('Redis Client Error', err)); |
| -- Based off IETF draft, https://datatracker.ietf.org/doc/draft-peabody-dispatch-new-uuid-format/ | |
| create or replace function uuid_generate_v7() | |
| returns uuid | |
| as $$ | |
| begin | |
| -- use random v4 uuid as starting point (which has the same variant we need) | |
| -- then overlay timestamp | |
| -- then set version 7 by flipping the 2 and 1 bit in the version 4 string | |
| return encode( |
This gist is a note about install nvidia-docker in Pop!_OS 20.10. nvidia-docker is used to help docker containers compute on GPU.
The basic installcation is in Nvidia's offical documentation. But there are a few tweaks to make it work on Pop!_OS 20.10.
No surprise. Follow the offical documentaion should work.
| CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; | |
| -- My port of https://github.com/kurttheviking/uuid-with-v6-js | |
| -- A hacky translation of: | |
| -- - http://gh.peabody.io/uuidv6/ | |
| -- - https://tools.ietf.org/html/draft-peabody-dispatch-new-uuid-format | |
| CREATE OR REPLACE FUNCTION uuid_v1_to_v6(v1 uuid) | |
| RETURNS uuid AS $$ | |
| DECLARE | |
| v6 text; |
| /* | |
| * MIT License | |
| * | |
| * Copyright (c) 2023-2024 Fabio Lima | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
| """TensorFlow 2.0 implementation of vanilla Autoencoder.""" | |
| import numpy as np | |
| import tensorflow as tf | |
| __author__ = "Abien Fred Agarap" | |
| np.random.seed(1) | |
| tf.random.set_seed(1) | |
| batch_size = 128 | |
| epochs = 10 |