This file contains 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
#include <iostream> | |
#include <sstream> | |
#include <string> | |
using namespace std; | |
template<class Arg> | |
string ToString(const char* func, int line, const char* varname, const Arg& arg) | |
{ | |
ostringstream ss; | |
ss << "[" << func << "](" << line << ") :" << varname << " = " << arg << endl; |
This file contains 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
/* g++ -std=c++11 std_async.cpp -lpthread */ | |
#include <iostream> | |
#include <thread> | |
#include <future> | |
#include <chrono> | |
#include <vector> | |
#include <mutex> | |
using namespace std; | |
thread_local int tls = 0; | |
std::mutex g_pages_mutex; |
This file contains 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
james@jameswc:mchg $ hg log --l 5 | |
changeset: 282459:abc471c40416 | |
tag: tip | |
parent: 282440:271c3cec24fe | |
parent: 282458:58711b624bfc | |
user: Phil Ringnalda <[email protected]> | |
date: Sun Jan 31 17:53:22 2016 -0800 | |
summary: Merge m-i to m-c, a=merge | |
changeset: 282458:58711b624bfc |
This file contains 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
print "hello" | |
import httplib, urllib | |
hexstring = "436c6f4b54416741456b67414141414341414152585139614c34554a75784d576b3656424a744a6d5146764447354b4376726e656b56725656454c677532555152424f6469315141747875544231455369754856364c434b62597958346876724a523130556c5f6b5a35675342434c7472584d614241674145674153494b79712d734c786b676d31486b36506e336d6a4d42593945435978526e72644f6e4552354c67384c2d4f31" | |
hexdata = hexstring.decode("hex") | |
bytedata = bytearray(hexdata) | |
base64data = "NDM2YzZmNGI1NDQxNjc0MTQ1NmI2NzQxNDE0MTQxNDM0MTQxNDE1MjU4NTEzOTYxNGMzNDU1NGE3NTc4NGQ1NzZiMzY1NjQyNGE3NDRhNmQ1MTQ2NzY0NDQ3MzU0YjQzNzY3MjZlNjU2YjU2NzI1NjU2NDU0YzY3NzUzMjU1NTE1MjQyNGY2NDY5MzE1MTQxNzQ3ODc1NTQ0MjMxNDU1MzY5NzU0ODU2MzY0YzQzNGI2MjU5Nzk1ODM0Njg3NjcyNGE1MjMxMzA1NTZjNWY2YjVhMzU2NzUzNDI0MzRjNzQ3MjU4NGQ2MTQyNDE2NzQxNDU2NzQxNTM0OTRiNzk3MTJkNzM0Yzc4NmI2NzZkMzE0ODZiMzY1MDZlMzM2ZDZhNGQ0MjU5Mzk0NTQzNTk3ODUyNmU3MjY0NGY2ZTQ1NTIzNTRjNjczODRjMmQ0ZjMx" | |
url = "www.googleapis.com/certificateprovisioning/v1/devicecertificates/create?key=AIzaSyB-5OLKTx2iU5mko18 |
This file contains 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
{ | |
"kind": "certificateprovisioning#certificateProvisioningResponse", | |
"signedResponse": "CtkTCtAJNdtdv3DTw7Bk8f0yfQ4NWZSNTivDgIxML-bX9o6AGD5v1hi-HTORYP1T78754E6vgkZmxCsB5rp1XIqTKhiukkx5IVkMEQoWGkIlcG0gLgZaJtH2htnrLMfdZEv_A7gsxkx_q_PaMvoWn3Hl0aG6LdWYFPqw4X5x4jtzjO5bvTn3QuGJVdCiXPlc63a1n6P2LAG6YV8gfeTLLTvvF7-QIVdkRZrpx534-4S3vAeLGXONyi7UFZ7PicK26r9Sjj7bwQ3nKFksawL56zjLjp0gvPPqSS3ClVCuTgP4y_x2Bi2p7qj9Yyfp89YvF2AwIg0YrU_rIZx2eeFWGhG65i6scyUzZSCsIqGulf7xJ4tvQ--0WzgCYfkE9wDvRAMo91faz0KQUmPvoWa-eWsOnGPqspdfHYSA5sJ2x8gwj-yKnIG80k8m-w8qEik1VOmd_l5t-A-x4ZPHeRSYyjEd4DDD35m7oXajLO9YVsQbmjfhAN9AgyLr7XRcmbmdO5wGNDIKXbPowtf3vUnAPqtDRaC0-zTOnRhK5kqqiJNUq82ytVnq2FK3ynpF91khwiYuL2wGaDzRP6HF1z-8aJEXGhiQit-x3Nv-Dp3GIcpSQuZAW82pjB7Zey5ETgkJbeK-YhpXyWuG64i4o0IaXjH3QHH-yCToIKcYOwkpRAK6J5hDg04SR6z6tGBWhLm6bfYCOL_MCf-R_HqrTr-TPw60hqN-6WTULyLC1zjuPW8755_2Fcu2u-w3vVistSa546iSeLjjeCbutdPUGRLjG4uUA0sSERhvxDvUbdBKew6NLY0H3IBt1JUn1tg0DLdUU5q6IhqkBgztbnOF38kn_n3v6WKQRk02mUfKKCHZxjz6cktHpBFd3RP3LOc63FhQy6DbKyyFUi9vzs3jK7o-1UalQ68t8C3FLeqDgA |
This file contains 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
E/Drm ( 188): Failed to find drm plugin | |
I/chromium( 2663): [INFO:CONSOLE(1729)] "Should have been initialized.", source: https://shaka-player-demo.appspot.com/lib/player.js (1729) | |
I/chromium( 2663): [INFO:CONSOLE(114)] "Uncaught exception in event handler", source: https://shaka-player-demo.appspot.com/lib/util/fake_event_target.js (114) | |
W/CastMediaRouteProvider( 1783): addOrUpdateDevice: device: "KDL-43W800C" (d2fa5cd03a41287cb16a9cabd355335d) applicationName: null | |
W/CastMediaRouteProvider( 1783): addOrUpdateDevice: device: "HT-ST9 97E19B2" (6cd155c5f25eaf2e90fee6775f76bc85) applicationName: null | |
W/CastMediaRouteProvider( 1783): addOrUpdateDevice: device: "MozChromecast" (596dd8ae95d1a0cd77b23981de5e808b) applicationName: CastRemoteDisplay | |
D/audio_hw_primary( 188): disable_audio_route: reset and update mixer path: low-latency-playback | |
D/audio_hw_primary( 188): disable_snd_device: snd_device(2: speaker) | |
E/WifiStateMachine( 758): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRat |
This file contains 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
V/WindowManager( 758): not Base app: Adding window Window{5d1ef0b u0 com.android.chrome/com.google.android.apps.chrome.document.DocumentActivity} at 5 of 11 | |
D/audio_hw_primary( 188): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2 | |
D/audio_hw_primary( 188): select_devices: out_snd_device(2: speaker) in_snd_device(0: none) | |
D/msm8974_platform( 188): platform_send_audio_calibration: sending audio calibration for snd_device(2) acdb_id(15) | |
D/audio_hw_primary( 188): enable_snd_device: snd_device(2: speaker) | |
D/audio_hw_primary( 188): enable_audio_route: apply and update mixer path: low-latency-playback | |
W/InputMethodManagerService( 758): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@332e70e7 attribute=null, token = android.os.BinderProxy@3ed93b98 | |
E/WifiStateMachine( 758): WifiStateMachine CMD_START_SCAN source -2 txSuccessRate=0.00 rxSuccessRate=0.00 targetRoamBSSID=dc:38:e1:82:19:86 RSSI=-55 | |
W/ActivityManager( 758): Perm |
This file has been truncated, but you can view the full file.
This file contains 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
--------- beginning of main | |
D/AndroidRuntime(31843): >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<< | |
D/AndroidRuntime(31843): CheckJNI is OFF | |
D/AndroidRuntime(31843): Calling main entry com.android.commands.am.Am | |
--------- beginning of system | |
I/ActivityManager( 693): START u0 {act=android.activity.MAIN flg=0x10000000 cmp=org.mozilla.fennec_james/.App (has extras)} from uid 2000 on display 0 | |
V/WindowManager( 693): addAppToken: AppWindowToken{1b9efb0d token=Token{150aa1a4 ActivityRecord{138ef837 u0 org.mozilla.fennec_james/.App t101}}} to stack=1 task=101 at 0 | |
D/AndroidRuntime(31843): Shutting down VM | |
I/ActivityManager( 693): Start proc 31856:org.mozilla.fennec_james/u0a64 for activity org.mozilla.fennec_james/.App | |
I/art (31856): Late-enabling -Xcheck:jni |
This file contains 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
james@jameswc:gecko-mozilla_fennec (recreatefinal)$ adb logcat | grep "Video stream" | |
I/Gecko ( 5627): [MediaPlayback #3]: D/MediaFormatReader MediaFormatReader(8b744800)::void mozilla::MediaFormatReader::HandleDemuxedSamples(mozilla::MediaFormatReader::TrackType, mozilla::AbstractMediaDecoder::AutoNotifyDecoded&): Video stream id has changed from:136 to:138, draining decoder. | |
I/Gecko ( 5627): [MediaPlayback #3]: D/MediaFormatReader MediaFormatReader(8b744800)::void mozilla::MediaFormatReader::HandleDemuxedSamples(mozilla::MediaFormatReader::TrackType, mozilla::AbstractMediaDecoder::AutoNotifyDecoded&): Video stream id has changed from:136 to:138, recreating decoder. | |
I/Gecko ( 5627): [MediaPlayback #1]: D/MediaFormatReader MediaFormatReader(8b744800)::void mozilla::MediaFormatReader::HandleDemuxedSamples(mozilla::MediaFormatReader::TrackType, mozilla::AbstractMediaDecoder::AutoNotifyDecoded&): Video stream id has changed from:138 to:140, draining decoder. | |
I/Gecko ( 5627): [MediaPlayback #1]: D/MediaFor |
This file contains 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
Configure complete! | |
Be sure to run |mach build| to pick up any changes | |
0:25.16 /usr/bin/make -f client.mk -s | |
0:25.71 Adding client.mk options from /media/hdd/Projects/gecko-mozilla_fennec/mozconfig: | |
0:25.71 CONFIG_GUESS=arm-linux-androideabi | |
0:25.71 AUTOCLOBBER=1 | |
0:25.71 MOZ_OBJDIR=/media/hdd/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi | |
0:25.71 OBJDIR=/media/hdd/Projects/gecko-mozilla_fennec/obj-arm-linux-androideabi | |
0:25.71 FOUND_MOZCONFIG=/media/hdd/Projects/gecko-mozilla_fennec/mozconfig | |
0:25.86 Elapsed: 0.00s; From dist/public: Kept 0 existing; Added/updated 0; Removed 0 files and 0 directories. |
OlderNewer