Skip to content

Instantly share code, notes, and snippets.

@bigdragon1977
bigdragon1977 / Android Privacy Policy Template
Created February 17, 2017 12:43 — forked from alphamu/Android Privacy Policy Template
A template for creating your own privacy policy for Android apps. Look for "[" and "<!--" to see where you need to edit this app in order to create your own privacy olicy.
<html>
<body>
<h2>Privacy Policy</h2>
<p>[Individual or Company Name] built the [App Name] app as a [open source | free | freemium | ad-supported | commercial] app. This SERVICE is provided by [Individual or company name] [at no cost] and is intended
for use as is.</p>
<p>This page is used to inform website visitors regarding [my|our] policies with the collection, use, and
disclosure of Personal Information if anyone decided to use [my|our] Service.</p>
<p>If you choose to use [my|our] Service, then you agree to the collection and use of information in
relation with this policy. The Personal Information that [I|we] collect are used for providing and
improving the Service. [I|We] will not use or share your information with anyone except as described
@bigdragon1977
bigdragon1977 / Java8DateTimeExamples.java
Created July 2, 2018 09:27 — forked from mscharhag/Java8DateTimeExamples.java
Examples for using the Java 8 Date and Time API (JSR 310)
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.time.format.FormatStyle;
import java.time.temporal.ChronoUnit;
import java.time.temporal.TemporalAdjusters;
import java.util.*;
import static java.time.temporal.TemporalAdjusters.*;
public class Java8DateTimeExamples {
@bigdragon1977
bigdragon1977 / Rotate Videos using ffmpeg
Created July 3, 2018 12:22 — forked from cmlewis/ Rotate Videos using ffmpeg
Rotate videos 90 or 180 degrees using ffmpeg
Rotate videos 90 or 180 degrees using ffmpeg.

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@bigdragon1977
bigdragon1977 / README.md
Created September 25, 2020 08:41 — forked from lopspower/README.md
All InputType for EditText

All InputType for EditText

Twitter

Constant Description
none There is no content type. The text is not editable.
@bigdragon1977
bigdragon1977 / SimpleRecyclerView.java
Created January 5, 2021 10:02 — forked from saber-solooki/SimpleRecyclerView.java
Sticky Header RecyclerView
package com.saber.customstickyheader;
import android.graphics.Color;
import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
fun addDecoration() {
recyclerView.addItemDecoration(
StickyHeaderItemDecoration(
epoxyController,
listOf(
TitleBindingModel_().id("title 3").id(), // steal the conversion from the ID constructors to its long value
TitleBindingModel_().id("title 20").id()
)
)
)
@bigdragon1977
bigdragon1977 / Hierarchy_widget_configuration
Created September 24, 2021 14:24 — forked from AlexDoanTB/Hierarchy_widget_configuration
ThingsBoard vidoe tutorials: Examples of configuration of Hierarchy widget
//Configuration code for HTML widget//
<div class='card'>
<div class='content'>
<div class='column'>
<h1>Current entity</h1>
<div class='value'>
${entityName}
</div>
</div>
@bigdragon1977
bigdragon1977 / fpv_hw_beginners.md
Created May 22, 2022 17:40
FPV квадрокоптеры: обзор оборудования для новичков