Skip to content

Instantly share code, notes, and snippets.

View mgcrea's full-sized avatar
🚀
Norminal

Olivier Louvignes mgcrea

🚀
Norminal
  • Freelance
  • Paris, France
View GitHub Profile
12-12 17:47:17.565 1040 1040 E TetherController: property_get sys.radio.data.modem_share_flag return 0, 1!
12-12 17:47:18.004 2332 2478 D OplusSmartBrightnessController: handleMessage MSG_LUX_CHANGED, mLux:54.0 luxQueue=[54.0, 54.0, 54.0, 54.0, 54.0, 54.0]
12-12 17:47:18.104 1418 2506 D VRR [OTI]: handleIdle from 1 to 0
12-12 17:47:18.104 1418 2506 D VRR [OTI-HW]: isStateReady 0
12-12 17:47:18.104 1418 2506 D VRR [OTI-HW]: rate range: min {id=0, hwcId=0, resolution=1080x2400, refreshRate=60.00 Hz, dpi=391.89x403.71, group=0} cur {id=1, hwcId=1, resolution=1080x2400, refreshRate=120.00 Hz, dpi=391.89x403.71, group=0} max {id=1, hwcId=1, resolution=1080x2400, refreshRate=120.00 Hz, dpi=391.89x403.71, group=0}
12-12 17:47:18.104 1418 2506 D VRR [OTI-HW]: keep rate.
12-12 17:47:18.104 2332 2882 D PowerManagerService: userActivityNoUpdateLocked: groupId=0, eventTime=837892, event=2, flags=0x0, uid=1000
12-12 17:47:18.105 2332 3004 D OGG_Detector: D:done mCurrStatus: 0
12-12 17:47:18.105 11760 11760
12-12 16:59:56.719 1193 4173 D vendor.qti.bluetooth@1.0-wake_lock: Release wakelock is released
12-12 16:59:56.878 1041 1111 E netd : dispachCmd:oplusGetRtt
12-12 16:59:56.878 1041 1111 E netd : handleGetRttCmd: netId = 100, uid = 10381
12-12 16:59:56.879 1041 1111 E netd : dispachCmd cmd:oplusGetRtt result:2
12-12 16:59:56.881 3112 4101 D WifiStatusTracker: mNetworkCallback onCapabilitiesChanged network:100 mPrimaryNetworkId:100
12-12 16:59:56.883 3112 4101 D WifiStatusTracker: mNetworkCallback onCapabilitiesChanged network:100 mPrimaryNetworkId:100
12-12 16:59:56.886 5584 7249 D ONet:ONetWifiInfoManager: (ConnectivityManager.java:4280)onCapabilitiesChanged, frequency=2442
12-12 16:59:56.886 5584 7249 D ONet:ONetWifiInfoManager: (ONetWifiInfoManager.kt:13)onCapabilitiesChanged, channel=7
12-12 16:59:56.888 4202 10116 I ChimeraSrvcProxy: NullBinder for android.net.action.RECOMMEND_NETWORKS triggering remote TransactionTooLargeException due to Service without Chimera impl
12-12 16:5

Keybase proof

I hereby claim:

  • I am mgcrea on github.
  • I am olouvignes (https://keybase.io/olouvignes) on keybase.
  • I have a public key whose fingerprint is FEDD 0527 8938 C582 C135 5C64 EE5C E46C 36AC 3F2F

To claim this, I am signing this object:

@mgcrea
mgcrea / filter.es
Last active August 29, 2015 14:26
Angular2 FilterPipe
import {Pipe, PipeFactory, NullPipeFactory} from 'angular2/angular2';
import {Pipes} from 'angular2/change_detection';
export class FilterPipe implements Pipe {
supports(array) {
return Array.isArray(array);
}
onDestroy() {}
transform(values, args = []) {
diff --git a/Arduino.mk b/Arduino.mk
index 9045888..cf38545 100644
--- a/Arduino.mk
+++ b/Arduino.mk
@@ -988,19 +988,32 @@ else
$(call show_config_variable,MCU_FLAG_NAME,[USER])
endif
+ifndef CPPFLAGS
+ CPPFLAGS = -Wall -ffunction-sections -fdata-sections
diff --git a/Teensy.mk b/Teensy.mk
index 8a441e7..39ff771 100644
--- a/Teensy.mk
+++ b/Teensy.mk
@@ -34,8 +34,8 @@ endif
include $(ARDMK_DIR)/Common.mk
VENDOR = teensy
-ARDUINO_CORE_PATH = $(ARDUINO_DIR)/hardware/teensy/cores/teensy3
-BOARDS_TXT = $(ARDUINO_DIR)/hardware/$(VENDOR)/boards.txt
$ gulp build
2015-02-19T00:34:00.560Z - break: [ 'options',
'{"src":{"scripts":"{scripts,modules}/**/*.js","views":"{,modules/*/}{views,scripts,modules}/**/*.{jade,html}"},"type":"application"}' ]
2015-02-19T00:34:00.562Z - break: [ 'defaults',
'{"src":{"cwd":"app","dest":"dist","tmp":".tmp","test":"{,*/}*{.spec,Spec}.js","index":"index.{html,jade}","views":"{views,modules/*}/**/*.{html,jade}","scripts":"{scripts,modules/*}/**/*.{js,es6,es}","styles":"{styles,modules/*}/{**/*.css,*.less,*.sass,*.scss}","images":"{images,modules/*}/{,*/}*.{jpg,png,svg}","fonts":"{fonts,modules/*}/{,*/}*.{otf,eot,svg,ttf,woff}","data":"data/{,*/}*.json","config":"config/*.json"},"sourcemaps":"dev","test":{"cwd":"test","dest":"test","tmp":".tmp","unit":"karma.conf.js","coverage":"coverage","tests":"{,*/}*{.spec,Spec}.js"}}' ]
$ gulp build
2015-02-19T00:30:38.039Z - break: [ 'options',
{ src:
{ scripts: '{scripts,modules}/**/*.js',
views: '{,modules/*/}{views,scripts,modules}/**/*.{jade,html}' },
type: 'application' } ]
2015-02-19T00:30:38.041Z - break: [ 'defaults',
{ src:
{ cwd: 'app',
dest: 'dist',
### Keybase proof
I hereby claim:
* I am mgcrea on github.
* I am olouvignes (https://keybase.io/olouvignes) on keybase.
* I have a public key whose fingerprint is 9D05 3F58 760B 6219 7D65 61F2 FED3 7FAB 771E BA2D
To claim this, I am signing this object:
@mgcrea
mgcrea / gist:5912036
Created July 2, 2013 18:57
npm list --json --global
{
"problems": [
"invalid: async@0.1.22 /usr/lib/node_modules/bower/node_modules/async",
"invalid: watch@0.5.1 /usr/lib/node_modules/forever/node_modules/watch"
],
"dependencies": {
"bower": {
"version": "0.9.2",
"from": "bower@",
"problems": [