Skip to content

Instantly share code, notes, and snippets.

View popolecool's full-sized avatar
:octocat:
je peux pas j'ai code

pacxidrou popolecool

:octocat:
je peux pas j'ai code
View GitHub Profile
@micuit-cuit
micuit-cuit / gist:1bf0dfa93b751950645baedbbe6fbc8f
Created January 19, 2024 08:46
GestionnaireSuppressionApplicationsADB
const { execSync } = require('child_process');
const readlineSync = require('readline-sync');
// Fonction pour lister les applications
function listerApplications() {
const output = execSync('adb shell pm list packages').toString();
return output.split('\n').filter(Boolean).map(line => line.replace('package:', ''));
}
// Fonction pour effectuer une recherche dans la liste des applications
@rob-smallshire
rob-smallshire / macOS-in-virtualbox.md
Last active November 3, 2024 14:07
Notes on getting macOS Sierra running in Virtualbox on a Windows 10 host

On Mac

Download, but don't run, the Sierra installer from the Mac App Store. This places the installer at /Applications/Install\ macOS\ Sierra.app/.

Now run the following commands to build a suitable VM image from the installer:

git clone https://github.com/jonanh/osx-vm-templates
cd osx-vm-templates/packer

sudo ../prepare_iso/prepare_vdi.sh -D DISABLE_REMOTE_MANAGEMENT -o macOS_10.12.vdi /Applications/Install\ macOS\ Sierra.app/ .