I just published a blog post with a few other options and info on decluttering Google's search results page.
😡😡😡
| @Preview | |
| @Composable | |
| private fun DashedDividerPreview() { | |
| DashedDivider( | |
| color = Color.Black, | |
| thickness = 1.dp, | |
| modifier = Modifier | |
| .fillMaxWidth() | |
| .padding(16.dp) | |
| ) |
| package datasizeformatter | |
| import kotlin.math.abs | |
| import kotlin.math.pow | |
| import kotlin.math.roundToLong | |
| /** | |
| * Format a human-readable representation of data size, in binary base form. | |
| * e.g. 1024 -> 1 KiB | |
| * @param byteCount The number of bytes to represent in human-readable form. `Long.MIN_VALUE` is unsupported. |
I just published a blog post with a few other options and info on decluttering Google's search results page.
😡😡😡
| android { | |
| signingConfigs { | |
| getByName("debug") { | |
| keyAlias = "debug" | |
| keyPassword = "my debug key password" | |
| storeFile = file("/home/miles/keystore.jks") | |
| storePassword = "my keystore password" | |
| } | |
| create("release") { | |
| keyAlias = "release" |
| #!/usr/bin/python3 | |
| """ | |
| Usage: | |
| plasmasetconfig # List all widget namespaces | |
| plasmasetconfig org.kde.plasma.digitalclock # List all config groups+keys | |
| plasmasetconfig org.kde.plasma.digitalclock Appearance showSeconds true | |
| Install: | |
| chmod +x ~/Downloads/plasmasetconfig.py | |
| sudo cp ~/Downloads/plasmasetconfig.py /usr/local/bin/plasmasetconfig | |
| Uninstall: |
For an emulator that mimics a Pixel 5 Device with Google APIs and ARM architecture (for an M1/M2 Macbook):
List All System Images Available for Download: sdkmanager --list | grep system-images
Download Image: sdkmanager --install "system-images;android-30;google_atd;arm64-v8a"
| package com.biocare.services; | |
| import android.app.Notification; | |
| import android.app.NotificationChannel; | |
| import android.app.NotificationManager; | |
| import android.app.PendingIntent; | |
| import android.app.Service; | |
| import android.content.Context; | |
| import android.content.Intent; | |
| import android.graphics.Color; |
| From the WebKit documentation at: | |
| http://www.opensource.apple.com/source/WebKit/WebKit-7533.16/chromium/src/mac/WebInputEventFactory.mm | |
| // Of Mice and Men | |
| // --------------- | |
| // | |
| // There are three types of scroll data available on a scroll wheel CGEvent. | |
| // Apple's documentation ([1]) is rather vague in their differences, and not | |
| // terribly helpful in deciding which to use. This is what's really going on. | |
| // |