Skip to content

Instantly share code, notes, and snippets.

View buikhoa40's full-sized avatar

Khoa Dang Bui buikhoa40

View GitHub Profile
@buikhoa40
buikhoa40 / AdbCommands
Created June 28, 2022 21:07 — forked from Pulimet/AdbCommands
Adb useful commands list
adb help // List all comands
== Adb Server
adb kill-server
adb start-server
== Adb Reboot
adb reboot
adb reboot recovery
adb reboot-bootloader
@buikhoa40
buikhoa40 / export-ble-infos.py
Created February 4, 2022 16:18 — forked from Mygod/export-ble-infos.py
Export your Windows Bluetooth LE keys into Linux!
#!/usr/bin/python3
"""
Copyright 2021 Mygod
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@buikhoa40
buikhoa40 / .deps...remix-tests...remix_accounts.sol
Created December 9, 2021 06:58
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.7.6+commit.7338295f.js&optimize=true&runs=200&gist=
// SPDX-License-Identifier: GPL-3.0
pragma solidity >=0.4.22 <0.9.0;
library TestsAccounts {
function getAccount(uint index) pure public returns (address) {
address[15] memory accounts;
accounts[0] = 0x5B38Da6a701c568545dCfcB03FcB875f56beddC4;
accounts[1] = 0xAb8483F64d9C6d1EcF9b849Ae677dD3315835cb2;
### Keybase proof
I hereby claim:
* I am buikhoa40 on github.
* I am buikhoa40 (https://keybase.io/buikhoa40) on keybase.
* I have a public key ASByHYdynRNlRpGbo1jqE4nFg2tK6J8vRUlhaBnubywhyAo
To claim this, I am signing this object: