My environment development after install Linux.
Everytime I format my linux, I need search all tools again Urgh.
So, I decided create a List of Best Things after install Linux, I hope help you too.
I currently use elementary OS 0.4 Freya
Index
{ | |
"scripts": { | |
// ... | |
"db:migrate:up": "bun run -r dotenv/config ./src/lib/db/migrate latest", | |
"db:migrate:down": "bun run -r dotenv/config ./src/lib/db/migrate down", | |
"db:migrate:create": "bun run -r dotenv/config ./src/lib/db/migrate create initial", | |
"db:generate:types": "bunx kysely-codegen --out-file=src/lib/db/schema/Database.ts", | |
}, | |
"dependencies": { | |
"kysely": "^0.27.3", |
// for multiple requests | |
let isRefreshing = false; | |
let failedQueue = []; | |
const processQueue = (error, token = null) => { | |
failedQueue.forEach(prom => { | |
if (error) { | |
prom.reject(error); | |
} else { | |
prom.resolve(token); |
<?php | |
namespace App\Commands\Database; | |
use Illuminate\Support\ServiceProvider; | |
class BindDatabaseServiceProvider extends ServiceProvider | |
{ | |
public function boot() | |
{ |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Document</title> | |
</head> | |
<body> |
// 1. Visit a news website like cnn.com | |
// 2. paste this into your console | |
setInterval(() => | |
document.querySelectorAll('p,img,a,button,h1,h2,h3,span') | |
.forEach(x=>x.style=`transform:rotate(${Math.random()*777}deg) scale(${Math.random()* 3}); transition:all .5s`) | |
, 500); | |
// 3. feel a lil bit better 😘 |
My environment development after install Linux.
Everytime I format my linux, I need search all tools again Urgh.
So, I decided create a List of Best Things after install Linux, I hope help you too.
I currently use elementary OS 0.4 Freya
Index