Skip to content

Instantly share code, notes, and snippets.

View funder7's full-sized avatar
🎲
Let's go!

Federico Ricchiuto funder7

🎲
Let's go!
View GitHub Profile
@antfroger
antfroger / README.md
Last active March 2, 2024 15:47
Using xdebug with Windows 10, WSL2, Docker and VS Code

Configuring xdebug to work with Windows 10 (WSL2), Docker and VS Code

Configuring your dev environment to be able to use xdebug when you're working on Windows 10 (with WSL2) and Docker with VS Code can be (a bit) tricky.
This is a quick reminder of how I've done that.

Configuring the environment

  1. Install and configure xdebug in Docker

Install xdebug according to the Docker image you're using

@branflake2267
branflake2267 / web.xml
Created June 1, 2020 20:55
Sencha Cmd Reverse Proxy Servlet [project]/WEB-INF/web.xml, sencha app watch -j
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
metadata-complete="true"
version="2.5">
<!-- Cmd CLI Reverse HTTP Proxy Configuration -->
@funder7
funder7 / README.md
Last active July 16, 2022 07:19
[WORKING] How to install Fedora Workstation 30 on Acer Switch 10 Tablet (SW5-012)

Preparation steps

I've downloaded the tool from fedora website, which automatically downloads the os image, and creates the usb for you. Set the password in the UEFI Setup, then disabled Secure Boot, set USB to be the first drive to boot. Save and exit.

Fedora Setup

Configure keyboard layout, then I've entered the drive setup section, you have leave selected the drive, then you can choose 3 options, I've selected the middle one, it's something like "manual setup", then I decided to completely wipe the windows stuff and made the partition table (GPT) like this:

mount point - partition type - size

@lastguest
lastguest / Chainable.class.php
Last active March 17, 2023 09:46
PHP Class Chainable.Wrapper for convenient chaining methods.
<?php
/**
* Class Chainable
* Wrapper for convenient chaining methods
*
* @author Stefano Azzolini <lastguest@gmail.com>
*/
class Chainable {
private $instance = null;