Skip to content

Instantly share code, notes, and snippets.

View kbsali's full-sized avatar

Kevin Saliou kbsali

View GitHub Profile
{
"meta": {
"theme": "stackoverflow",
"lastModified": "2026-02-19T16:59:24.305Z"
},
"basics": {
"name": "Kevin Saliou",
"phone": "+33 6 52 23 77 XX",
"label": "Hands-on CTO | Startup Builder | Full Stack Engineer",
"image": "https://media.licdn.com/dms/image/v2/C5603AQFXuw7iqMtP8w/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1642498748336?e=1773273600&v=beta&t=5ipoTqe43uPloQlijcmuXY_XchflXVaojyo1-eaKPlk",
{
"meta": {
"theme": "stackoverflow",
"lastModified": "2026-02-19T16:59:24.305Z"
},
"basics": {
"name": "Kevin Saliou",
"phone": "+33 6 52 23 77 XX",
"label": "Entrepreneur, Hands on CTO, Full Stack Developer",
"image": "https://media.licdn.com/dms/image/v2/C5603AQFXuw7iqMtP8w/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1642498748336?e=1773273600&v=beta&t=5ipoTqe43uPloQlijcmuXY_XchflXVaojyo1-eaKPlk",
{
"meta": {
"theme": "stackoverflow",
"lastModified": "2026-02-19T16:59:24.305Z"
},
"basics": {
"name": "Kevin Saliou",
"phone": "+33 6 52 23 77 XX",
"label": "Hands-on CTO | Startup Builder | Full Stack Engineer",
"image": "https://media.licdn.com/dms/image/v2/C5603AQFXuw7iqMtP8w/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1642498748336?e=1773273600&v=beta&t=5ipoTqe43uPloQlijcmuXY_XchflXVaojyo1-eaKPlk",
@kbsali
kbsali / fixme.bash
Last active November 11, 2025 11:32
PAMAC update "Error: Failed to prepare transaction: invalid or corrupted database" on ArchLinux
```bash
pamac update --aur
...
Error: Failed to prepare transaction: invalid or corrupted database
sudo vim /etc/pacman.conf
```
```
# /etc/pacman.conf
@kbsali
kbsali / docker.md
Last active November 5, 2025 19:14
docker config on linux
import db from "./SQLITE-DB-FILE-PATH.db" with { type: "sqlite" };
const sqliteToTsType: Record<string, string> = {
// numeric
INT: "number",
INTEGER: "number",
TINYINT: "number",
SMALLINT: "number",
MEDIUMINT: "number",
BIGINT: "number",
@kbsali
kbsali / .env
Last active December 18, 2021 17:49
Simple Sveltekit / Crisp (chat box) integration
VITE_CRISP_WEBSITE_ID=xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
@kbsali
kbsali / css-100-bytes.css
Last active October 28, 2021 10:42
Tiny little css to make plain html easier to read : https://www.swyx.io/css-100-bytes/
html {
max-width: 70ch;
padding: 3em 1em;
margin: auto;
line-height: 1.75;
font-size: 1.25em;
}
h1,h2,h3,h4,h5,h6 {
margin: 3em 0 1em;
{
"@context": "https://schema.org",
"@type": "Person",
"address": {
"@type": "PostalAddress",
"addressCountry": "France",
"addressLocality": "Nantes",
"postalCode": "44000"
},
"sameAs": [
#!/usr/bin/env bash
for a in $(find src/ -type f);do expand -t2 $a > tmp && cp tmp $a;done
for a in $(grep -P "\t" .* -l);do expand -t2 $a > tmp && cp tmp $a;done
for a in $(grep -P "\t" * -l --exclude-dir={node_modules,src,static});do expand -t2 $a > tmp && cp tmp $a;done
rm tmp