Skip to content

Instantly share code, notes, and snippets.

06-17 10:34:32.891 2731 2731 D clear_devicesInfo: Called
06-17 10:34:32.906 2731 2731 D BluetoothManager: getConnectedDevices
06-17 10:34:32.911 2731 2731 D BluetoothGatt: cancelOpen() - device: 68:0A:E2:28:77:94
06-17 10:34:32.913 2731 2731 D BluetoothGatt: close()
06-17 10:34:32.913 2731 2731 D BluetoothGatt: unregisterApp() - mClientIf=5
06-17 10:34:32.913 32354 32414 I bt_stack: [INFO:gatt_api.cc(1271)] GATT_Disconnect conn_id=5
06-17 10:34:32.914 32354 32414 E bt_stack: [ERROR:bta_gattc_utils.cc(509)] bta_gattc_mark_bg_conn unable to find the bg connection mask for: 68:0a:e2:28:77:94
06-17 10:34:32.915 2731 2788 D BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=68:0A:E2:28:77:94
06-17 10:34:32.915 2731 2731 D BluetoothGatt: cancelOpen() - device: 68:0A:E2:28:77:94
06-17 10:34:32.915 2731 2731 D BluetoothGatt: close()
06-16 14:45:58.371 31739 31739 D DirectoryFragment: Showing directory: content://com.android.providers.downloads.documents/document/downloads
06-16 14:45:58.371 31739 31739 D DirectoryFragment: Creating new fragment for directory: content://com.android.providers.downloads.documents/document/downloads
06-16 14:45:58.450 32688 32705 D OpenGLRenderer: endAllActiveAnimators on 0x750e976000 (RippleDrawable) with handle 0x7512bac4a0
06-16 14:45:58.460 31739 31739 D AbstractActionHandler: Creating new directory loader for: content://com.android.providers.downloads.documents/document/downloads
06-16 14:45:58.487 3296 3519 I ActivityManager: Displayed com.android.documentsui/.picker.PickActivity: +255ms (total +389ms)
06-16 14:45:58.539 31739 31739 D AbstractActionHandler: Loader has finished for: content://com.android.providers.downloads.documents/document/downloads
06-16 14:45:58.539 31739 31739 I Model : Updating model with new result set.
06-16 14:45:58.540 31739 31739 D DirectoryFragment: Received model updat
all: alfa.pdf
alfa.pdf: alfa.latex
latexmk -pdf $<
alfa.png: alfa.pdf
convert -density 150 -flatten $< $@
clean: alfa.latex
latexmk -CA $<
@rhssk
rhssk / adc_example.c
Created November 28, 2017 14:16 — forked from Wollw/adc_example.c
ATmega328P ADC conversion example
/* A simple ADC example that checks the analog reading on ADC0 and turns
* an LED on if the reading is higher than a threshold value and turns if
* off if it is under that value. */
#include <avr/io.h>
#include <stdint.h>
/* Which analog pin we want to read from. The pins are labeled "ADC0"
* "ADC1" etc on the pinout in the data sheet. In this case ADC_PIN
* being 0 means we want to use ADC0. On the ATmega328P this is also
* the same as pin PC0 */
@rhssk
rhssk / fix-infinality.md
Created January 11, 2017 14:09 — forked from cryzed/fix-infinality.md
A set of instructions on how to fix the harfbuzz + Infinality issue and restoring good-looking, Infinality-like font rendering.

Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.

Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.

Check the gist's comments for any further tips and instructions, especially if you are running into problems!

Changelog