Skip to content

Instantly share code, notes, and snippets.

@bigdragon1977
bigdragon1977 / fpv_hw_beginners.md
Created May 22, 2022 17:40
FPV квадрокоптеры: обзор оборудования для новичков
@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>
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 / 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;
@bigdragon1977
bigdragon1977 / install.txt
Created December 29, 2020 14:45
Установка Flectra 2 на Ubuntu 18.04
## Установка Flectra 2 на Ubuntu 18.04 с master https://gitlab.com/flectra-hq/flectra
по мотивам
https://gitlab.com/whotopia/flectra2-centos8-installation/-/blob/master/install-flectra2-centos8.sh
на ситему где уже стоит Flectra 1 так что некоторые шаги пропущены за не надобностью.
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.7
@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.

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@bigdragon1977
bigdragon1977 / Rotate Videos using ffmpeg
Created July 3, 2018 12:22 — forked from cseringgo/ Rotate Videos using ffmpeg
Rotate videos 90 or 180 degrees using ffmpeg
Rotate videos 90 or 180 degrees using ffmpeg.
@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 / ts.vim
Created February 22, 2017 13:11
Qt 5 Linguist: использование Vim для проверки орфографии
#http://freemapping.blogspot.com/2015/12/qt-5-linguist-vim.html
set spell spelllang=ru,en_us
===
set nospell
menu Spell.off :setlocal spell spelllang=<CR<:setlocal nospell<CR>
menu Spell.Russian+English :setlocal spell spelllang=ru,en_us<CR>
menu Spell.Russian :setlocal spell spelllang=ru<CR>
menu Spell.English :setlocal spell spelllang=en_us<CR>
menu Spell.-SpellControl- :