Skip to content

Instantly share code, notes, and snippets.

@chr15m
chr15m / aider-convention-scraper
Last active September 23, 2025 11:49
Convert documentation URLs to Markdown "convention" files to be used by aider and other LLMs
#!/bin/sh
# Scrapes documentation from a URL and converts it to Markdown suitable for aider convention files
# to provide context to the LLM.
if [ $# -eq 0 ]; then
echo "Usage: $(basename "$0") <URL> [URL...]"
echo
echo "Generate aider 'convention' Markdown context from documentation URLs."
echo "suitable for providing LLM context about a project's conventions and style."
@disler
disler / README.md
Last active November 16, 2025 14:44
Four Level Framework for Prompt Engineering
@Yiannistaos
Yiannistaos / upload-wp-users-to-laravel-with-password.md
Last active September 3, 2020 12:06
Migrating WordPress users and passwords to Laravel (tested with Laravel 7.x and WordPress 5.5)

How to Migrating WordPress users and passwords to Laravel

** Tested with Laravel 7.x and WordPress 5.5

STEPS


  1. Download the sql table "wp_users" from WordPress, and upload it to the laravel mysql table.
  2. Create the migration:
@reanim8ed
reanim8ed / sample.md
Last active August 23, 2024 22:45
[Mailhog in Laragon] #email #laragon #laragon
@ales-tsurko
ales-tsurko / install-alacritty-ubuntu.sh
Last active October 29, 2025 16:27 — forked from Aaronmacaron/install-alacritty-ubuntu.sh
Install Alacritty on Ubuntu
#!/bin/bash
# This installs alacritty terminal on ubuntu (https://github.com/jwilm/alacritty)
# You have to have rust/cargo installed for this to work
# Install required tools
sudo apt-get install -y cmake libfreetype6-dev libfontconfig1-dev xclip
# Download, compile and install Alacritty
git clone https://github.com/jwilm/alacritty
@DawidMyslak
DawidMyslak / vue.md
Last active April 22, 2024 12:49
Vue.js and Vuex - best practices for managing your state

Vue.js and Vuex - best practices for managing your state

Modifying state object

Example

If you have to extend an existing object with additional property, always prefer Vue.set() over Object.assign() (or spread operator).

Example below explains implications for different implementations.

@jobsamuel
jobsamuel / readme.md
Last active November 21, 2025 10:48
Run NodeJS as a Service on Ubuntu 14.04 LTS

Run NodeJS as a Service on Ubuntu 14.04 LTS

With Node you can write very fast JavaScript programs serverside. It's pretty easy to install Node, code your program, and run it. But > how do you make it run nicely in the background like a true server?

  • Go to /etc/init/
  • $ sudo vim yourapp.conf
  • Paste script.conf
  • $ sudo start yourapp
  • And when you wanna kill the process $ sudo stop yourapp
@incredimike
incredimike / variousCountryListFormats.js
Last active December 4, 2025 22:23
List of Countries in various Javascript data structures: Alphabetical country lists & Country data objects.
// Lists of countries with ISO 3166 codes, presented in various formats.
// Last Updated: July 30, 2020
// If you're using PHP, I suggest checking out:
// https://github.com/thephpleague/iso3166
// or Laravel: https://github.com/squirephp/squire
//
// JS developers can check out:
// https://www.npmjs.com/package/iso3166-2-db
//