Skip to content

Instantly share code, notes, and snippets.

View djavan-bertrand's full-sized avatar

djavan-bertrand

View GitHub Profile
@djavan-bertrand
djavan-bertrand / fish_install.md
Last active September 10, 2018 15:04
Fish configuration

Install fish and make it default on MacOs

brew install fish
echo "/usr/local/bin/fish" | sudo tee -a /etc/shells
chsh -s `which fish`
adb logcat
MacBookProDjavan:ARFreeFlight d.bertrand$ adb logcat
--------- beginning of system
10-24 12:09:59.599 22586 22613 D ActivityThread: Loading provider com.syntomo.email.provider;com.syntomo.email.notifier: com.syntomo.email.provider.EmailProvider
10-24 12:09:59.606 22586 22614 D ActivityThread: Loading provider com.syntomo.email.provider;com.syntomo.email.notifier: com.syntomo.email.provider.EmailProvider
10-24 12:10:01.052 782 1647 I chatty : uid=1000(system) Binder_A expire 15 lines
10-24 12:10:03.797 782 793 I chatty : uid=1000(system) Binder_2 expire 12 lines
10-24 12:10:20.009 782 1549 I chatty : uid=1000(system) Binder_5 expire 13 lines
10-24 12:10:20.637 782 3362 I chatty : uid=1000(system) Binder_E expire 17 lines
10-24 12:10:56.048 782 885 I chatty : uid=1000(system) ConnectivitySer expire 74 lines
@djavan-bertrand
djavan-bertrand / c
Created August 7, 2015 13:15
Get values of a list command
if (commandKey == ARCONTROLLER_DICTIONARY_KEY_COMMON_COMMONSTATE_SENSORSSTATESLISTCHANGED)
{
ARCONTROLLER_DICTIONARY_ARG_t *arg = NULL;
if (elementDictionary != NULL)
{
ARCONTROLLER_DICTIONARY_ELEMENT_t *dictElement = NULL;
ARCONTROLLER_DICTIONARY_ELEMENT_t *dictTmp = NULL;
eARCOMMANDS_COMMON_COMMONSTATE_SENSORSSTATESLISTCHANGED_SENSORNAME