This is based on the following: https://github.com/troyxmccall/dotfiles/blob/ae78ab87c861efe27aee7ede47cd0e61dac8fe22/.functions#L419-L442
I changed it to be a script, and fixed some issues related to handling of versions.
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}#end | |
import android.view.LayoutInflater | |
import android.view.ViewGroup | |
import androidx.recyclerview.widget.DiffUtil | |
import androidx.recyclerview.widget.ListAdapter | |
import androidx.recyclerview.widget.RecyclerView | |
class ${NAME}(private val onItemClickListener: (${Model_Class}) -> Unit) : | |
ListAdapter<${Model_Class}, ${NAME}.ItemViewHolder>(DiffCallback()) { |
This is based on the following: https://github.com/troyxmccall/dotfiles/blob/ae78ab87c861efe27aee7ede47cd0e61dac8fe22/.functions#L419-L442
I changed it to be a script, and fixed some issues related to handling of versions.
Result: 1 | |
Items { | |
TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
Badge { | |
BadgeType: BADGE_BATTLE_ATTACK_WON | |
BadgeRanks: 4 | |
Targets: "\nd\350\007" | |
} | |
} | |
Items { |
#Google Play Reviews Widget for Dashing.io
Dashing Widget for displaying Google Play Reviews of Android apps. Supports any number of apps, and any number of reviews per app. It shows fancy stars and its background color changes depending on the app's rating.
Don't miss the related Google Play Rating Widget for Dashing!
Attribution: Based on Android Google Play Dashing Widget.Thanks for your work x2on!
#Google Play Rating Widget for Dashing.io
Dashing Widget for displaying current Google Play Ratings of Android apps. Supports any number of apps. It shows fancy stars and its background color changes depending on the app's rating.
Don't miss the related Google Play Reviews Widget for Dashing!
Attribution: Based on Android Google Play Dashing Widget.Thanks for your work x2on!
package com.fewlaps.android.permissiongranter; | |
import android.app.Activity; | |
import android.content.pm.PackageManager; | |
import android.os.Build; | |
import android.support.test.uiautomator.UiDevice; | |
import android.support.test.uiautomator.UiObject; | |
import android.support.test.uiautomator.UiObjectNotFoundException; | |
import android.support.test.uiautomator.UiSelector; | |
import android.support.v4.content.ContextCompat; |
/* | |
* Copyright (C) 2016 Daniel Gallego Vico. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
ffmpeg -i input.mp4 -s hd480 -c:v libx264 -crf 23 -c:a aac -strict -2 output.mp4 |
<?xml version="1.0"?><!DOCTYPE module PUBLIC | |
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | |
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
<module name="Checker"> | |
<!--module name="NewlineAtEndOfFile"/--> | |
<module name="FileLength" /> | |
<module name="FileTabCharacter" /> | |
<!-- Trailing spaces --> |