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
data class RecordPoint( | |
val speedMph: Int, | |
val distanceIncrementMm: Int, | |
val localTime: Date, | |
) | |
@Test | |
fun arduinoToTcx() { | |
//----- CHANGE ME------- | |
val startDay = "2021-03-10" |
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
import android.content.Context | |
import android.util.AttributeSet | |
import android.view.View | |
import androidx.core.widget.NestedScrollView | |
import androidx.recyclerview.widget.RecyclerView | |
/** | |
* A [NestedScrollView] that first scrolls itself and then the [RecyclerView] child. | |
* Useful for collapsing header without coordinator layout | |
*/ |
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
; Alt + minus = En dash | |
!-:: | |
Send {U+2013} | |
return | |
; Alt + Shift + minus = Em dash | |
+!-:: | |
Send {U+2014} | |
return |
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
; Mac-like language switch (Replace Win+Space with Ctrl+Win+Space) | |
#SPACE:: | |
Send ^#{SPACE} | |
Return | |
; Disable single left Windows key press | |
LWin & vk07::Return | |
LWin::Return |
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
! Мусор на Батеньке | |
batenka.ru##.header__logo | |
batenka.ru##.popup--show | |
! Дай деняк на SVG конверторе | |
svg2vector.com##.open.ng-tns-c10-9 | |
svg2vector.com##.ng-trigger-fade | |
svg2vector.com##.ng-trigger-fadeDown.ng-trigger.modal-dialog | |
svg2vector.com##.ng-star-inserted.ng-tns-c10-2.modal |
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
{"dials":[{"id":1,"title":"Google","url":"http://google.com","thumbnail":"https://radiokot.com.ua/Radiokot/speeddial/google.jpg","ts_created":1443342591,"visits":1432,"visits_morning":260,"visits_afternoon":505,"visits_evening":544,"visits_night":123,"position":0,"idgroup":0},{"id":2,"title":"Strava","url":"https://www.strava.com/dashboard","thumbnail":"https://radiokot.com.ua/Radiokot/speeddial/stava.png","ts_created":1443312919,"visits":754,"visits_morning":943,"visits_afternoon":1462,"visits_evening":2358,"visits_night":483,"position":1,"idgroup":0},{"id":3,"title":"Погода","url":"https://www.meteoprog.ua/ru/weather/Dnipropetrovsk/","thumbnail":"https://radiokot.com.ua/Radiokot/speeddial/weather.jpg","ts_created":1443312835,"visits":83,"visits_morning":123,"visits_afternoon":353,"visits_evening":334,"visits_night":41,"position":2,"idgroup":0},{"id":5,"title":"Deezer","url":"https://www.deezer.com/","thumbnail":"https://radiokot.com.ua/Radiokot/speeddial/music.jpg","ts_created":1443312580,"visits":13,"visit |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Edge] | |
"ManagedSearchEngines"="[ { \"allow_search_engine_discovery\": false }, { \"is_default\": true, \"keyword\": \"google.com\", \"name\": \"Google\", \"search_url\": \"https://www.google.com/search?q={searchTerms}\", \"image_search_url\": \"https://www.google.com/searchbyimage/upload\", \"image_search_post_params\": \"encoded_image={google:imageThumbnail},original_width={google:imageOriginalWidth},original_height={google:imageOriginalHeight}\" } ] " | |
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
import org.apache.commons.io.input.ReversedLinesFileReader | |
import org.junit.Test | |
import java.io.File | |
class KindleMyClippings { | |
class Clipping( | |
val bookDetails: String, | |
val date: String, | |
val content: String, | |
) { |
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
import android.content.res.ColorStateList | |
import android.graphics.Canvas | |
import android.graphics.Color | |
import android.graphics.ColorFilter | |
import android.graphics.Paint | |
import android.graphics.PixelFormat | |
import android.graphics.RectF | |
import android.graphics.drawable.Drawable | |
import androidx.annotation.ColorInt | |
import com.google.zxing.common.BitMatrix |
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
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
<item | |
android:id="@android:id/background" | |
android:bottom="1dp" | |
android:left="1dp" | |
android:right="1dp" | |
android:top="1dp"> | |
<!-- 1 dp padding makes the background thinner --> | |
<shape> | |
<corners android:radius="1dp" /> |
OlderNewer