Skip to content

Instantly share code, notes, and snippets.

View edouard-lopez's full-sized avatar
🏠
Working from home

Édouard Lopez edouard-lopez

🏠
Working from home
View GitHub Profile
@edouard-lopez
edouard-lopez / 00.restore-galaxy-s-2-i9100.md
Last active March 25, 2024 03:24
Restore Galaxy S 2 i9100 (after breaking with cynogenmod update CM-13.x)

Requirements

sudo apt-get install heimdall{,-frontend} 
sudo apt-get install android-tools-adb
sudo apt-get install build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev
@edouard-lopez
edouard-lopez / gulpfile.js
Created May 5, 2014 15:18
Gulp copy font-awesome files to dist/ directory
'use strict';
// Generated on 2014-04-14 using generator-leaflet 0.0.14
var gulp = require('gulp');
var open = require('open');
var wiredep = require('wiredep').stream;
// Load plugins
var $ = require('gulp-load-plugins')();
Test timeout of 60000ms exceeded.
Pending operations:
- locator.isDisabled at src/pages/POM/reasons.ts:33:70
Error: browserContext.close: Browser closed.
==================== Browser output: ====================
<launching> /ms-playwright/chromium-1080/chrome-linux/chrome --disable-field-trial-config --disable-background-networking --enable-features=NetworkService,NetworkServiceInProcess --disable-background-timer-throttling --disable-backgrounding-occluded-windows --disable-back-forward-cache --disable-breakpad --disable-client-side-phishing-detection --disable-component-extensions-with-background-pages --disable-component-update --no-default-browser-check --disable-default-apps --disable-dev-shm-usage --disable-extensions --disable-features=ImprovedCookieControls,LazyFrameLoading,GlobalMediaControls,DestroyProfileOnBrowserClose,MediaRouter,DialMediaRouteProvider,AcceptCHFrame,AutoExpandDetailsElement,CertificateTransparencyComponentUpdater,AvoidUnnecessaryBeforeUnloadCheckSync,Translate --allow-pre-commit
@edouard-lopez
edouard-lopez / How to root and flash samsung galaxy s5 mini (SM-G800F).md
Last active August 8, 2023 12:24
How to root and flash samsung galaxy s5 mini (SM-G800F) with LineageOS 14.1
@edouard-lopez
edouard-lopez / How-to-flash-and-root-OnePlus-3T-on-Linux.md
Last active March 24, 2023 00:34
How to flash and root OnePlus 3T on Linux

How to flash and root OnePlus 3T on Linux

@edouard-lopez
edouard-lopez / History|-10242edc|entries.json
Last active February 22, 2023 16:24
vscode vscodium settings
{"version":1,"resource":"file:///home/edouard/projects/digital-identity/keycloak/.provision/scripts/keycloak-wait-readiness.sh","entries":[{"id":"hNGX.sh","timestamp":1666345172275},{"id":"xvOw.sh","source":"undoRedo.source","timestamp":1666345175203},{"id":"t3y8.sh","timestamp":1666345289952},{"id":"ob7N.sh","timestamp":1666345323052}]}
@edouard-lopez
edouard-lopez / verifi-twrp-signature-asc.sh
Last active January 13, 2022 01:31
how to verify twrp img file asc? (for OnePlus 3T)
#!/usr/bin/env bash
if (($# == 0)); then
printf "Usage:\n\t./verify.sh twrp-*.img\n"
else
file="$1"
curl --location --output twrp-publickey.asc https://dl.twrp.me/public.asc
gpg --import twrp-publickey.asc
gpg --verify "$file"{.asc,}
fi
@edouard-lopez
edouard-lopez / color-scheme-switcher.sh
Last active September 12, 2021 02:21
Switch profile/color scheme in Konsole from command line (also works for Yakuake). The wrapper allows to work both in konsole and tmux session
# Konsole color changing
theme-night() {
switch-term-color "colors=TomorrowNightBlue"
}
theme-light() {
switch-term-color "colors=Tomorrow"
}
switch-term-color() {
arg="${1:-colors=Tomorrow}"
if [[ -z "$TMUX" ]]
@edouard-lopez
edouard-lopez / c3fire.makefile
Created November 17, 2020 09:10
C3Fire thèse Delphine
download_dir:=./C3LearningLabs
install_dir:=/opt/c3system/C3LearningLabs
download-linux:
wget -c http://www.c3learninglabs.com/download/system/c3fire-v4.1.1.0/c3fire-v4.1.1.0-install-linux.tgz
echo "You need to extract the archive"
install-linux:
mkdir -p /opt/c3system
@edouard-lopez
edouard-lopez / README.md
Last active November 12, 2020 13:37
Flash Samsung Galaxy S i9000 using Heimdall on Linux

Flash Samsung Galaxy S i9000 using Heimdall on Linux

⚠️ Backup your data!

Enable USB debugging

In order to be able to establish a connection to the PC via USB cable.

On Android 2.x :