Skip to content

Instantly share code, notes, and snippets.

View Woorg's full-sized avatar

Igor Gorlov Woorg

View GitHub Profile

For my reference in the future I will record here the steps that I had to follow in order to install Openwrt on the tp-link router EX220. This was done using a Windows 11 machine.

Disclaimer: Use this tutorial at your own risk. We are not responsible for any damage/harms done to your device using the information from this tutorial.

Steps to install OpenWRT on EX220 router

OEM installation using the serial + TFTP method

These are the steps provided at the official https://openwrt.org/toh/tp-link/ex220_v1 page:

@djibe
djibe / windows11-24H2-tpm-secureboot.md
Last active October 11, 2025 10:48
Install Windows 11 24H2 without TPM and Secure Boot requirements

Install Windows 11 24H2 without TPM and Secure Boot requirements

  1. Create a Windows 11 ISO with Microsoft's Media Creation Tool
  2. Install Setup Patchium and run it (or try latest Rufus version directly and patch from there)
  3. Home tab: Select ISO, wait during processing
  4. Go to Install > Uncheck Remove upgrade and Check Disable Windows 11 compatibility restrictions, click Apply
  5. Optional: To install without a Microsoft account, go to Install OOBE tab. Click Integrate lumOOBE. This will break sysinstall.
  6. Click on Create ISO button
  7. Use Rufus or Ventoy (prefered) to run installation from a USB drive
@evokelektrique
evokelektrique / Caddyfile
Created September 21, 2023 20:56
How to deploy Laravel + Vite to Caprover
:80 {
root * /srv/app/public
@websockets {
header Connection *upgrade*
header Upgrade websocket
}
reverse_proxy @websockets 127.0.0.1:6001 {
header_down -X-Powered-By
}
@nivethan-me
nivethan-me / README.md
Last active December 4, 2024 03:49
Setup a Next.js 13 project with Eslint + Prettier with automatic tailwind class sorting
@gilbitron
gilbitron / CaddyController.php
Created June 16, 2021 10:55
Enabling HTTPS (SSL) for Laravel Sail using Caddy
<?php
# app/Http/Controllers/CaddyController.php
namespace App\Http\Controllers;
use App\Store;
use Illuminate\Http\Request;
class CaddyController extends Controller
{
@yunusga
yunusga / wpcf7.js
Created July 5, 2019 06:46
Scroll to first invalid field on Contact Form 7 validation error event
/**
* Scroll to first invalid field
* WPCF7 on validation error event
*/
document.addEventListener( 'wpcf7invalid', function( event ) {
setTimeout( function() {
$('html').stop().animate({
scrollTop: $('.wpcf7-not-valid').eq(0).offset().top - 140,
}, 500, 'swing');
}, 100);
@Xilonz
Xilonz / field.php
Created June 21, 2019 11:13
Sage 9 Carbon Field Blocks
<?php
namespace App;
use Carbon_Fields\Field;
use Carbon_Fields\Block;
Block::make( __( 'Gutenberg Block' ) )
->set_icon( 'format-chat')
->add_fields( array(
Field::make( 'rich_text', 'text', __( 'text', 'my-theme' ) )
@lukecav
lukecav / Commands
Created February 7, 2019 16:07
Delete all draft posts, posts in trash and post revisions using WP-CLI
# delete all posts in trash, draft posts and post revisions
wp post delete $(wp post list --post_status=trash --format=ids)
wp post delete $(wp post list --post_status=draft --format=ids)
wp post delete $(wp post list --post_type='revision' --format=ids)
@shov
shov / links.txt
Created January 22, 2019 12:57
XDebug on laradock
@eduardoarandah
eduardoarandah / add_contact_form_7_custom_tag.php
Created December 13, 2018 03:22
Adding A Custom Form-Tag to Contact Form 7 in Wordpress
<?php
/**
* Contact form 7
* custom tag: [posts show:12]
* show parameter is optional
*/
add_action('wpcf7_init', 'custom_add_form_tag_posts');
function custom_add_form_tag_posts()
{