Skip to content

Instantly share code, notes, and snippets.

View cuongnguyen2190's full-sized avatar

cuongnguyen2190

View GitHub Profile
@cuongnguyen2190
cuongnguyen2190 / AdbCommands
Created April 21, 2020 03:38 — 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
"""
Demo of a bunch of asyncio + gevent scenarios using aiogevent.
These are not tests in the sense that there are no assertions, but pytest
is a nice way to run them in bulk or choose a specific "test"
Run like this:
python3 -m pytest test_coexist.py -s -v
@cuongnguyen2190
cuongnguyen2190 / locustfile.py
Created February 27, 2020 04:12 — forked from yamionp/locustfile.py
Websocket Locust Sample. locustfile and Echo/Chat Server
# -*- coding:utf-8 -*-
from __future__ import absolute_import
from __future__ import unicode_literals
from __future__ import print_function
import json
import uuid
import time
import gevent
@cuongnguyen2190
cuongnguyen2190 / Buildbot-Guide.txt
Created January 2, 2020 09:15 — forked from SwapnilSoni1999/Buildbot-Guide.txt
[GUIDE] ROM Compiling from source [Buildbot]
First of all have a brief look at xda threads about compiling rom from source dont follow all stuff from there tho.. just have a look on those threads specially that jackeagle thread.
now first what you need :
If on local
-> Fast internet connection (fast enough to download 50GB rom source without waiting for a day or two xD )
-> 4core cpu(or higher)
-> 8gb minimum ram
-> Linux (Ubuntu for this guide)