- Porter - Kubernetes powered PaaS that runs in your own cloud
- Open Function - cloud-native open-source FaaS (Function as a Service) platform. website
- CapRover - easy to use app/database deployment & web server manager
- Tsuru - Open source and extensible Platform as a Service (PaaS) website
- Kubero - free and self-hosted Heroku PaaS alternative for Kubernetes that implements GitOps
- Dokku - docker-powered PaaS that helps you build and manage the lifecycle of applications
- Piku - tiniest PaaS you've ever seen. Allows you to do git push deployments to your own servers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diskutil list | |
diskutil unmountDisk /dev/disk2 | |
diskutil eraseDisk FAT32 SANDISK /dev/disk2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
const cliProgress = require('cli-progress'); | |
const gh = require('github-url-to-object'); | |
const meow = require('meow'); | |
const puppeteer = require('puppeteer'); | |
const usage = `Usage | |
$ github-dependents <repository> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm init vue@3 | |
if [ $? -eq 0 ]; then | |
LAST_FOLDER=$(ls -td ./* | head -1) | |
cd $LAST_FOLDER | |
yarn | |
code . | |
else | |
echo "Project creation unsuccessful 😔" | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { useEffect, useState } from "react"; | |
interface LocationOptions { | |
enableHighAccuracy?: boolean; | |
timeout?: number; | |
maximumAge?: number; | |
} | |
interface LocationState { | |
coords: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Update globs depending on your framework | |
--- | |
name: tailwind_v4 | |
description: Guide for using Tailwind CSS v4 instead of v3.x | |
globs: ["**/*.{js,ts,jsx,tsx,mdx,css}"] | |
tags: | |
- tailwind | |
- css | |
--- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Node.js project shortcuts (requires 'ni' package manager - https://github.com/antfu-collective/ni) | |
alias d="nr dev" # npm/pnpm/yarn run dev | |
alias s="nr start" # npm/pnpm/yarn run start | |
alias i="ni" # Install dependencies | |
alias u="nun" # Uninstall a a package | |
alias up="nlx taze" # Update dependencies to latest versions | |
# Open Cursor app | |
alias c="open $1 -a \"Cursor\"" |