Skip to content

Instantly share code, notes, and snippets.

View luismisanchez's full-sized avatar

Luismi Sánchez luismisanchez

View GitHub Profile
@luismisanchez
luismisanchez / phpPrettyDebugger.php
Last active May 4, 2021 09:09
Simple PHP var pretty debugger
<?php
/**
* Simple var pretty debugger
*
* @param $var
* @param false $exit
*/
function pre_dump($var, bool $exit = false) {
//TODO: Only works if there is a pre_dump() call per line
@luismisanchez
luismisanchez / android-backup-apk-and-datas.md
Created June 9, 2021 15:49 — forked from AnatomicJC/android-backup-apk-and-datas.md
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Fetch application APK

To get the list of your installed applications:

@luismisanchez
luismisanchez / Git and GitHub tips and notes.md
Last active January 4, 2022 06:15
Git and GitHub tips and notes

Global setup

git config --global user.name "Luismi Sánchez"

git config --global user.email "my@email.com"

Check global config per user:

git config --global -e

@luismisanchez
luismisanchez / Symfony-fundamentals-notes.md
Last active January 16, 2022 13:00
Symfony fundamentals notes

Installation

curl -sS https://get.symfony.com/cli/installer | bash
mv /Users/Username/.symfony/bin/symfony /usr/local/bin/symfony
symfony

Check requirements