Skip to content

Instantly share code, notes, and snippets.

View nexy791's full-sized avatar
🎓

Olexandr Yasinskyi nexy791

🎓
View GitHub Profile
@nexy791
nexy791 / json
Last active March 31, 2021 12:57
{
"hashtags": [
"hashtag100",
"hashtag1",
"hashtag2"
]
}
{
"articles":[
{
"id":1,
"date":"21 марта",
"text": "Тут очень много текста который будет в одной большой статье с разными хештегами но текст очень большой",
"hashtags": ["hashtag1", "hashtag2"]
},
{
"id":2,
@nexy791
nexy791 / json
Last active January 7, 2025 17:44
{
"v":2,
"url":"http://192.168.0.19/app-debug.apk",
"modes": [
{
"name": "Null’s Brawl",
"description": "На сервере работает весь заявленный в оригинальной игре функционал, только на нем, в отличие от официального клиента, нет никаких ограничений для игроков.",
"url": "https://brawl-stars-pro.ru/Nulls%20Brawl%20Alpha%2034.141.apk",
"v": "34.141 с новым бравлером Сту"
<vector ...>
<path android:name="long-shadow"
android:pathData="...">
<aapt:attr name="android:fillColor">
<gradient
android:type="radial"
android:centerX="54"
android:centerY="54"
android:gradientRadius="76.37">
<!-- 15% black from center to 32% stop -->
package com.ribsky.dokiquote;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.text.Editable;
import android.text.Selection;
import android.text.TextWatcher;
import android.text.style.UnderlineSpan;
import android.widget.TextView;
String intent1 = Settings.ACTION_APPLICATION_SETTINGS; // Приложения. Вкладка Сторонние приложения
String intent2 = Settings.ACTION_WIRELESS_SETTINGS; // Беспроводные сети
String intent3 = Settings.ACTION_SETTINGS; // Основное окно приложения Настройки
String intent4 = Settings.ACTION_DATA_ROAMING_SETTINGS; // роуминг
String intent5 = Settings.ACTION_LOCALE_SETTINGS; // настройки локали
String intent6 = Settings.ACTION_INTERNAL_STORAGE_SETTINGS; // настройки внутреннего хранилища
String intent7 = Settings.ACTION_MEMORY_CARD_SETTINGS; // настройка карты-памяти
String intent8 = Settings.ACTION_FINGERPRINT_ENROLL; // настройка Fingerprint
String intent9 = Settings.ACTION_HOME_SETTINGS; // настройка Default apps API 21
String intentX = Settings.ACTION_NETWORK_OPERATOR_SETTINGS; // настройка Mobile network
package com.ribsky.dokiquote;
import android.content.SharedPreferences;
import android.content.SharedPreferences.Editor;
import android.text.Editable;
import android.text.Selection;
import android.text.TextWatcher;
import android.text.style.UnderlineSpan;
import android.widget.TextView;
@nexy791
nexy791 / Permission.java
Created December 7, 2020 11:28 — forked from droibit/Permission.java
Helper class for runtime permission of Android M
import android.Manifest;
import android.annotation.TargetApi;
import android.app.Activity;
import android.content.Context;
import android.content.pm.PackageManager;
import android.os.Build;
import android.support.annotation.NonNull;
package com.ribsky.vmistlauncher;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.drawable.BitmapDrawable;
import android.graphics.drawable.Drawable;
import androidx.palette.graphics.Palette;
package com.ribsky.vmistlauncher;
import android.content.Context;
import android.view.GestureDetector;
import android.view.MotionEvent;
import android.view.View;
import androidx.recyclerview.widget.RecyclerView;
public class RecyclerItemClickListener implements RecyclerView.OnItemTouchListener {