echo "<plain_string>" | openssl enc -e -des3 -base64 -pass pass:mypasswd -pbkdf2
#!/usr/bin/env python3 | |
import sys | |
import struct | |
import math | |
# Constants | |
# Internal (LEB128 buffer) | |
MAX_ULEB_SIZE = 256 # Maximum proto size here is 2^7^256 |
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.
To get the list of your installed applications:
The first thing to do before we access HFS+ drive, ensure our board is running lastest software.
sudo apt update
sudo apt upgrade
Install all HFS packages we need.
sudo apt-get install hfsplus hfsutils hfsprogs gdisk
Prerequisite files:
WARNING: The steps below will wipe up your device!
In order to fix the bootloop or softbrick, you will need a couple steps below:
- Boot the device into fastboot mode by holding power button and volume up until the droid image shows up.
References:
- https://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_crypto.htm
- https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_classes_restful_encodingUtil.htm
public class AwsS3Utility {
static String BUCKET_NAME = 'YOUR_BUCKET_NAME';
Tried to create react app
npx create-react-app app
Unfortunately, got an xcodebuild error
node-pre-gyp ERR! Tried to download(404): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.17/fse-v1.0.17-node-v57-darwin-x64.tar.gz
If you messed up with editing sudoers
, this solution is for you. The solution is limited to restoring /etc/sudoers
file to the original state. It is easier to mess up your config such as saving wrong format, etc.
- Please reboot your macOS into recovery mode. While rebooting press and hold
Cmd+R
key. - After you completely reboot, you will see a dialog. You need to open
Terminal
by clickingUtilities > Terminal
on menu. - In order to mount
/etc
as writable state, you need to disable SIP first by executingcsrutil disable
. - Reboot into single user mode. While rebooting press and hold
Cmd+S
key.