- Select the object(s) to export
- Open the document properties window (Ctrl+Shift+D)
- Select "Resize page to drawing or selection"
- File > Save As Copy...
- Select Optimized SVG as the format if you want to use it on the web
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
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"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
I just published a blog post with a few other options and info on decluttering Google's search results page.
😡😡😡
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Preview | |
@Composable | |
private fun DashedDividerPreview() { | |
DashedDivider( | |
color = Color.Black, | |
thickness = 1.dp, | |
modifier = Modifier | |
.fillMaxWidth() | |
.padding(16.dp) | |
) |