Skip to content

Instantly share code, notes, and snippets.

View LuckyArdhika's full-sized avatar
🇮🇩
MERN Developer available for you!

Lucky Ardhika LuckyArdhika

🇮🇩
MERN Developer available for you!
View GitHub Profile
@fabiolimace
fabiolimace / UUIDv6.sql
Last active June 28, 2024 13:14
Functions for generating UUIDv6 and UUIDv7 on PostgreSQL
/*
* 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
@iamyellow
iamyellow / doc-login.html
Created April 17, 2020 10:41
protecting with a password NestJs Swagger docs
<!DOCTYPE html>
<html lang="en">
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="utf-8" />
<!-- thanks to https://github.com/Mehedi61/Login-Signup-form/ -->
<style>
@import url(https://fonts.googleapis.com/css?family=Roboto:300);
@prateekkathal
prateekkathal / data.ts
Created August 14, 2019 14:50
Seeding Databases Using NestJS
export const languages: ILanguage[] = [
{ name: 'English' },
{ name: 'French' },
{ name: 'Spanish' },
{ name: 'Russian' },
// ... and others ...
];