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 / 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": [
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/opt/local/bin/npm', 'install', 'express' ]
2 info using npm@1.2.28
3 info using node@v0.10.10
4 verbose read json /Users/olivier/package.json
5 verbose read json /Users/olivier/node_modules/express/package.json
6 verbose read json /Users/olivier/node_modules/grunt/package.json
7 verbose read json /Users/olivier/node_modules/jasmine-node/package.json
8 verbose read json /Users/olivier/node_modules/karma/package.json
9 verbose read json /Users/olivier/node_modules/nodeunit/package.json
29/03/2010-16:24:00;4372386.99875
@mgcrea
mgcrea / gist:3722374
Created September 14, 2012 14:50
android target
Available Android targets:
----------
id: 1 or "android-7"
Name: Android 2.1
Type: Platform
API level: 7
Revision: 3
Skins: HVGA, QVGA, WQVGA400, WQVGA432, WVGA800 (default), WVGA854
ABIs : armeabi
----------
.directive('uiPopover', ['$compile', '$http', function($compile, $http) {
return {
restrict: 'A',
scope: {
hide: '&hide' // did not understand what is this
},
link: function postLink(scope, element, attr, ctrl) {
console.warn('postLink', arguments, this);
// scope is the anchor scope
UIBezierPath *buttonPath = [UIBezierPath bezierPathWithRoundedRect:self.bounds cornerRadius:self.layer.cornerRadius];
CAShapeLayer* shadowLayer = [CAShapeLayer layer];
//shadowLayer.cornerRadius = 8.0f;
[shadowLayer setOpacity:1];
[shadowLayer setBackgroundColor:UIColor.redColor.CGColor];
// Standard shadow stuff
[shadowLayer setShadowOpacity:1.0f];
[shadowLayer setShadowColor:[[UIColor colorWithWhite:1 alpha:1] CGColor]];
$admins = Users::all(array('conditions' => array('email' => array('$in' => array('a@gmail.com', 'b@gmail.com'))), 'fields' => array('_id', 'email', 'isAdmin')));
d($admins->data());
$admins->each(function($admin) {
$admin->isAdmin = true;
$admin->save();
});
dd($admins->data());