Skip to content

Instantly share code, notes, and snippets.

{
"properties": {
"buildnumber": 47,
"product": "b2g",
"script_repo_revision": "production",
"branch": "gaia-try",
"repository": "",
"buildername": "b2g_ubuntu64_vm gaia-try opt test gaia-unit",
"stage_platform": "linux64_gecko",
"basedir": "/builds/slave/test",
scripts/scripts/gaia_unit.py --cfg b2g/gaia_unit_production_config.py -c b2g/gaia_try.py -c http://hg.mozilla.org/integration/gaia-try/raw-file/b28e1af0e3790479a8d63b7e469c31908a49c421/linux64.json --blob-upload-branch gaia-try --download-symbols ondemand --cfg developer_config.py --test-url https://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-linux64_gecko/1424736357/en-US/b2g-39.0a1.en-US.linux-x86_64.tests.zip --installer-url https://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/mozilla-central-linux64_gecko/1424736357/en-US/b2g-39.0a1.en-US.linux-x86_64.tar.bz2 --gaia-repo https://hg.mozilla.org/integration/gaia-central
@alivedise
alivedise / gist:234ed1fa6a398115fb48
Last active August 29, 2015 14:11
Statusbar refactor check list

Must Have

  1. [FIXED] MuteIcon Bug
  2. [PENDING] DownloadManager Test
  3. [DONE] Headphone Test
  4. a11y check
  5. a11y integration test
  6. [DONE] Call forwarding test
  7. Start/Stop radio event listener
  8. [DONE] NFC Test
  9. Test mobile connection icon dataset
@alivedise
alivedise / app.js
Created December 15, 2014 09:23
App.js
for (var id in window.appWindowManager.getApps()) {
window.appWindowManager.getApps()[id].browser.element.stop();
}
@alivedise
alivedise / gist:5bd1e8b966dd2d862aa8
Created November 7, 2014 06:44
sound cloud source
This file has been truncated, but you can view the full file.
!function(e) {
function t(r) {
if (n[r])
return n[r].exports;
var i = n[r] = {exports: {},id: r,loaded: !1};
return e[r].call(i.exports, i, i.exports, t), i.loaded = !0, i.exports
}
var r = window.webpackJsonp;
window.webpackJsonp = function(a, o) {
for (var s, u, l = 0, c = []; l < a.length; l++)
@alivedise
alivedise / gist:480fcc6c67c707e23e23
Created October 23, 2014 09:40
AirplaneModeServiceHelperTest
/* global MocksHelper, System, BaseModule, MockPromise */
'use strict';
requireApp('system/test/unit/mock_bluetooth.js');
requireApp('system/test/unit/mock_wifi_manager.js');
requireApp('system/test/unit/mock_settings_core.js');
requireApp('system/js/system.js');
requireApp('system/js/base_module.js');
requireApp('system/js/airplane_mode_service_helper.js');
@alivedise
alivedise / mock_settings_core.js
Created October 23, 2014 09:18
MockSettingsCore WIP
'use strict';
requireApp('system/shared/test/unit/mocks/mock_promise.js');
(function(exports) {
exports.MockSettingsCore = {
name: 'SettingsCore',
mSettings: {},
mOnflyOperations: [],
mTriggerSettingsChange: function(setting) {
var promise = new Promise(function(resolve) {
@alivedise
alivedise / gist:7228025bd81bd89e2085
Last active August 29, 2015 14:08
Terra Battle 懶人包
"[WallpaperManager]" "started" wallpaper_manager.js:346
"BluetoothHelper(): connot get default adapter!!!" bluetooth_helper.js:59
"[AppUsage]" "starting app usage metrics collection" app_usage_metrics.js:92
"[WallpaperManager]" "new wallpaper" "size already validated" wallpaper_manager.js:346
"[WallpaperManager]" "publishing wallpaperchange event" wallpaper_manager.js:346
"=== Enable keyboard: app://keyboard.gaiamobile.org run as OOP ===" input_frame_manager.js:139
"[I] " "Do transfer; input and stack: " Object { passcodeTimeout: true, activateUnlock: true, screenOn: true, passcodeEnabled: true, homePressed: false, transitionEnd: false, unlocking: false, keypadInput: "", forciblyUnlock: false } lockscreen_state_logger.js:139
"[I] " "Previous state:" "slideShow" lockscreen_state_logger.js:139
"lss_stack@app://system.gaiamobile.org/js/lockscreen_state_logger.js:81:15
lssm_transfer@app://system.gaiamobile.org/js/lockscreen_state_manager.js:239:5
Last login: Mon Aug 25 16:52:41 on ttys010
while': while true; do adb shell cat /sys/block/zram0/mem_used_total; adb shell cat /sys/block/zram0/orig_data_size; adb shell cat /sys/block/zram0/compr_data_size; adb shell b2g-info; sleep 1; done% ~ ⮀ while': while true; do adb shell cat /sys/block/zram0/mem_used_total; adb shell cat /sys/block/zram0/orig_data_size; adb shell cat /sys/block/zram0/compr_data_size; adb shell b2g-info; sleep 1; done
quote>
~ ⮀ watch -n 1 adb shell b2g-info
~ ⮀ while true; do adb shell cat /sys/block/zram0/mem_used_total; adb shell cat /sys/block/zram0/orig_data_size; adb shell cat /sys/block/zram0/compr_data_size; adb shell b2g-info; sleep 1; done
15302656
31293440
8574252
| megabytes |
NAME PID PPID CPU(s) NICE USS PSS RSS VSIZE OOM_ADJ USER