Skip to content

Instantly share code, notes, and snippets.

View shikaan's full-sized avatar
🐽

Manuel Spagnolo shikaan

🐽
View GitHub Profile
@shikaan
shikaan / .env
Last active May 4, 2021 13:21
Contentful UI Extension -> App
CONTENTFUL_MANAGEMENT_TOKEN=
CONTENTFUL_EXTENSION_ID=
CONTENTFUL_ORGANIZATION_ID=
CONTENTFUL_SPACE_ID=
CONTENTFUL_ENVIRONMENT_ID=
@shikaan
shikaan / .config_foot_foot.ini
Last active November 6, 2022 19:45
sway + foot configurtaion
term=screen-256color
font=Fira Code,Noto Color Emoji:size=8
[cursor]
style=underline
# Solarized light
[cursor]
color=fdf6e3 586e75
@shikaan
shikaan / bash-gpt.bash
Last active February 26, 2024 05:43
bash GPT
#!/bin/bash
OPENAI_API_KEY="YOUR_API_KEY"
CONVERSATION="/tmp/$(cat /proc/sys/kernel/random/uuid)"
query_open_ai() {
curl -s https://api.openai.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $OPENAI_API_KEY" \
-d "{
@shikaan
shikaan / README.md
Created December 20, 2023 09:40
Debloat Kindle Fire

Prerequisites

  1. Rooted Kindle
  2. ADB/USB debug enabled on your kindle
  3. ADB installed on your compuer

Follow the procedure here to root your Kindle. As a side effect you should also have ADB properly setup.

Just in case, here's an archived version of the same guide.

@shikaan
shikaan / README.md
Last active February 5, 2025 07:30
helix configuration for C debugging on Apple Silicon
@shikaan
shikaan / README.md
Last active February 15, 2025 16:46
ZED configuration

The only way I could find to unclutter the UI. There is still a bottom dead bar, this will make it better.

@shikaan
shikaan / .clangd
Created April 1, 2025 16:09
C project boilerplate
CompileFlags:
CompilationDatabase: compile_commands.json
Add: [-x, c, -std=c23]
Diagnostics:
ClangTidy:
Add: [modernize-*, bugprone-*, llvm-*, performance-*, readability-*]
CheckOptions:
readability-identifier-naming.ConstantCase: UPPER_CASE
readability-identifier-naming.ConstexprVariableCase: UPPER_CASE
readability-identifier-naming.EnumConstantCase: UPPER_CASE