Skip to content

Instantly share code, notes, and snippets.

#include <iostream>
#include <vector>
#include <gp_Circ.hxx>
#include <gp_Elips.hxx>
#include <gp_Sphere.hxx>
#include <Poly_Polygon3D.hxx>
#include <Poly_Triangulation.hxx>
adb reboot bootloader
fastboot flash recovery twrp-3.1.0-0-hammerhead.img
fastboot reboot
sideload ota
adb reboot recovery
adb reboot bootloader进入fastboot模式
按音量加或减, 出现Recovery mode的时候按下电源键.按下电源然后迅速按下音量加, 最后一起放手. 此时会出现几列选项
reboot system now
apply update from ADB
@zerger
zerger / cloudSettings
Last active February 15, 2019 08:44
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-02-15T08:44:33.923Z","extensionVersion":"v3.2.4"}
@zerger
zerger / multithread1.cpp
Last active February 1, 2016 07:55
C++11 multithread example
#include <iostream>
#include <thread>
#include <mutex>
#include <condition_variable>
/*!
* 子线程循环 10 次,接着主线程循环 100 次,接着又回到子线程循环 10 次,
* 接着再回到主线程又循环 100 次,如此循环50次
*/
using namespace std;