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
@waska14
waska14 / FileHelper.php
Last active September 26, 2024 21:11
Laravel: create UploadedFile object from base64 string (autoremove temp file)
<?php
namespace App\Helpers\File;
use Illuminate\Http\File;
use Illuminate\Http\UploadedFile;
use Illuminate\Support\Arr;
class FileHelper
{
@antfroger
antfroger / README.md
Last active November 9, 2024 20:13
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

@Pulimet
Pulimet / AdbCommands
Last active March 1, 2025 08:36
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@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 <[email protected]>
*/
class Chainable {
private $instance = null;