This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adb help // List all comands | |
== Adb Server | |
adb kill-server | |
adb start-server | |
== Adb Reboot | |
adb reboot | |
adb reboot recovery | |
adb reboot-bootloader |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gn --args="proprietary_codecs=true ffmpeg_branding=\"Chrome\" is_debug=false symbol_level=0 is_component_build=false remove_webcore_debug_symbols=true enable_nacl=false" gen test | |
autoninja -C test chrome | |
First of all, read https://chromium.googlesource.com/chromium/src/+/lkcr/docs/windows_build_instructions.md | |
Q: git returns http error 407 from proxy after CONNECT | |
A: git config --global http.sslVerify false (https://stackoverflow.com/questions/24907140/git-returns-http-error-407-from-proxy-after-connect) | |
Q: Require UserName for chromium.googlestorage.com after execute 'gclient sync' | |
A: add a DEPOT_TOOLS_WIN_TOOLCHAIN system variable and set it to 0, means use your locally installed version of Visual Studio (by default, depot_tools will try to use a google-internal version). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First submit(set 1): git push origin HEAD:refs/for/master | |
update(set 2): git commit --amend; git push origin HEAD:refs/for/master | |
-- This must need Change-Id in your commit message |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:fcitx-team/nightly && sudo apt-get update | |
sudo apt install fcitx | |
im-config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install --save-dev nyc | |
nyc mocha |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Remove the history from | |
rm -rf .git | |
-- recreate the repos from the current content only | |
git init | |
git add . | |
git commit -m "Initial commit" | |
-- push to the github remote repos ensuring you overwrite history | |
git remote add origin [email protected]:<YOUR ACCOUNT>/<YOUR REPOS>.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://securewiki.ith.intel.com/pages/viewpage.action?pageId=510951805 | |
sudo apt-key adv --keyserver keys.gnupg.net --recv-key D6FB2970 | |
echo 'deb http://realsense-alm-public.s3.amazonaws.com/apt-repo xenial main' | sudo tee /etc/apt/sources.list.d/realsense-public.list | |
sudo apt-get update | |
sudo apt-get install librealsense-all-dev=0.0.1~rc0-0ubuntu2~16.gbp3bd28d | |
sudo apt-get install git vim libboost-thread-dev node-legacy npm | |
sudo npm install -g node-gyp mocha |