Skip to content

Instantly share code, notes, and snippets.

View abougouffa's full-sized avatar
🐞
Chasing bugs

Abdelhak Bougouffa abougouffa

🐞
Chasing bugs
View GitHub Profile

Bitbake Cheatsheet

Verbose as possible

bitbake -vDDD your-recipe

List recipes

bitbake -s
@abougouffa
abougouffa / build-emacs.sh
Last active December 8, 2024 00:30
A helper script to build Emacs from source on Debian/Ubuntu
#!/bin/bash
# -*- sh-basic-offset: 2; tab-width: 2; -*-
# set -x
# Initially based on the emacs-git AUR package
## Build options
USE_CLANG= # Use Clang instead of GCC.
@abougouffa
abougouffa / android-backup-apk-and-datas.md
Created May 24, 2022 20:52 — 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.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

Fetch application APK

<?xml version="1.0" encoding="utf-8"?>
<launch>
<!-- Console launch prefix -->
<arg name="launch_prefix" default=""/>
<arg name="image" default="/carla/camera/rgb/front/image_color" />
<!-- Config and weights folder. -->
<arg name="yolo_weights_path" default="$(find darknet_ros)/yolo_network_config/weights"/>
<arg name="yolo_config_path" default="$(find darknet_ros)/yolo_network_config/cfg"/>
@abougouffa
abougouffa / .mbsyncrc
Created December 31, 2020 15:20 — forked from agraul/.mbsyncrc
Example mbsyncrc for mailbox.org
# These settings can also go under an "Account" section, but then the
# "IMAPStore" section needs to reference the account. This is not
# needed for just one store per account.
IMAPStore mailbox-remote
Host imap.mailbox.org
User [email protected]
PassCmd "gpg --quiet --decrypt ~/.mbsync-pw-mailbox.gpg"
SSLType STARTTLS
MaildirStore mailbox-local
#
# This is a little script to populate Firefox Sync with
# fake password records. Use it like so:
#
# $> pip install PyFxA syncclient cryptography
# $> python ./upload_fake_passwords.py 20
#
# It will prompt for your Firefox Account email address and
# password, generate and upload 20 fake password records, then
# sync down and print all password records stored in sync.