Skip to content

Instantly share code, notes, and snippets.

@ixahmedxi
ixahmedxi / keybindings.json
Created January 2, 2024 20:46
Vscode neovim keybindings.json
[
{
"command": "vscode-neovim.compositeEscape1",
"key": "j",
"when": "neovim.mode == insert && editorTextFocus",
"args": "j"
},
{
"command": "vscode-neovim.compositeEscape2",
"key": "k",
@ixahmedxi
ixahmedxi / eslint.config.js
Created May 15, 2024 17:24
ESLint v9 Next.js
import path from 'path';
import { fileURLToPath } from 'url';
import comments from '@eslint-community/eslint-plugin-eslint-comments/configs';
import { fixupConfigRules } from '@eslint/compat';
import { FlatCompat } from '@eslint/eslintrc';
import js from '@eslint/js';
import eslintConfigPrettier from 'eslint-config-prettier';
import jsdoc from 'eslint-plugin-jsdoc';
import * as regexpPlugin from 'eslint-plugin-regexp';
Mix.install(
[
{:phoenix_playground, "~> 0.1.0"},
{:openai, "~> 0.6.1"}
],
config: [
openai: [
api_key: System.get_env("OPENAI_API_KEY"),
organization_key: System.get_env("OPENAI_ORGANIZATION_KEY")
]
@flaksp
flaksp / README.md
Last active May 15, 2024 22:14
Convert BitWarden JSON export file to Apple iCloud Keychain CSV import file saving TOTP and notes

BitWarden to Apple iCloud Keychain passwords converter

This Python scripts allows you to move your passwords from BitWarden to Apple iCloud.

You need to know:

  • It ignores secure notes, credit cards and other types that are not passwords.
  • It ignores BitWarden entries without usernames, passwords and URLs.
  • It also ignores URLs that do not start with http:// or https://.
  • It normalizes all TOTP tokens, e.g. wskg vtqa h5kl bhb4 v4v2 ybyo woc6 qme2 will be converted to otpauth://totp/example.com:dude@foo.bar?secret=WSKGVTQAH5KLBHB4V4V2YBYOWOC6QME2&issuer=example.com&algorithm=SHA1&digits=6&period=30.
@VitorBlog
VitorBlog / Debian_Discord_Updater_README.md
Last active May 15, 2024 22:11
Debian discord updater

Debian Discord Updater

Keeping your Discord client up-to-date is now hassle-free with this simple updater script.

Usage

Just execute the script, and it will handle the update process seamlessly.

Setting Up Automatic Updates

To ensure Discord update on boot, follow these steps:

  1. Open the crontab file using the command:
@b3h3rkz
b3h3rkz / faucets.md
Last active May 15, 2024 22:17
Bitcoin Testnet Faucets
@bradtraversy
bradtraversy / terminal-commands.md
Last active May 15, 2024 22:09
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen

NGO Gallery Images

Save Edit

If you just want to cheat all the gallery images into your save, open up Settings.es in your NGO folder, e.g. C:\Program Files (x86)\Steam\steamapps\common\NEEDY GIRL OVERDOSE\Windose_Data. Copy the following and replace the value in "IMAGEHISTORY"'s "value" field:

["Ngocredits", "tweet_selfie_ame_cool_001", "tweet_selfie_ame_cry_001", "tweet_selfie_ame_game_001", "tweet_selfie_ame_happa_001", "tweet_selfie_ame_happy_001", "tweet_selfie_ame_happy_002", "tweet_selfie_ame_home_001", "tweet_selfie_ame_home_002", "tweet_selfie_ame_line_smile_001", "tweet_selfie_ame_odekake_001", "tweet_selfie_ame_odekake_002", "tweet_selfie_ame_sorrow_001", "tweet_selfie_ame_talk_001", "tweet_selfie_cho_akkanbe", "tweet_selfie_cho_angel_001", "tweet_selfie_cho_av", "tweet_selfie_cho_av_ch", "tweet_selfie_cho_av_eng", "tweet_selfie_cho_cosplay_001", "tweet_selfie_cho_cosplay_002", "tweet_selfie_cho_cosplay_003", "tweet_selfie_cho_grand_end_001", "tweet_selfie_cho_grand_end_002", "
@juanamari94
juanamari94 / notas-sql.md
Last active May 15, 2024 22:03
notas-sql

SQL

Notas

— Creo que estoy copiando las diapositivas básicamente. — Me gusta mucho la comida oriental. — Entre mis juegos preferidos está GTA V.

¿Qué es SQL?