Skip to content

Instantly share code, notes, and snippets.

View arunavo4's full-sized avatar
馃彔
Working from home

ARUNAVO RAY arunavo4

馃彔
Working from home
View GitHub Profile
@arunavo4
arunavo4 / global.css
Created February 27, 2025 07:36
Custom global.css working with tailwind v4 intellisense
@import 'tailwindcss';
/*
---break---
*/
@plugin 'tailwindcss-animate';
/*
---break---
*/
@plugin 'tailwind-scrollbar';
/*

How to setup Plex with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent using Docker

Before continuing: This guide is currently outdated but I'm working on a new one with upgrading steps included. I'll link it here once it's finished :)

This is a guide that will show you how to setup Plex Media Server with Sonarr, Radarr, Jackett, Overseerr and qBitTorrent with Docker. It is written for Ubuntu 20.04 but should work on other Linux distributions as well (considering supported distributions by Docker). It is also written for people who have some experience with Linux and Docker. If you are new to Docker, I recommend you to read the Docker documentation, and if you are new to Linux, I recommend you to read the Ubuntu documentation.

Now, let's get started!

Please note: This guide was written without considering hardlinking for Sonarr/Radarr. If you want to use hardlinking refer to #Hardlinking

@arunavo4
arunavo4 / Dockerfile
Created September 16, 2024 04:26
Reduce Next.js Docker Image Size
FROM node:20-alpine AS deps
COPY package*.json ./
RUN npm ci
FROM node:20-alpine AS builder
COPY . .
COPY --from=deps /node_modules ./node_modules
@arunavo4
arunavo4 / fishy-domains.txt
Created July 28, 2024 02:50
Fishy Domains List - Use this to block new users from creating new accounts
This file has been truncated, but you can view the full file.
skiff.com
0-mail.com
027168.com
0815.ru
0815.ry
0815.su
0845.ru
0box.eu
0clickemail.com
@arunavo4
arunavo4 / n8n-caddy-aci.yaml
Created April 2, 2024 14:19
n8n integration on Azure Container Instances protected with Caddy
apiVersion: '2019-12-01'
location: westeurope
name: n8n-2020-caddy-262-aci
properties:
containers:
- name: n8n-2020-aci
properties:
environmentVariables: []
image: docker.io/n8nio/n8n:0.202.0
ports:
@arunavo4
arunavo4 / index.html
Created November 5, 2021 15:06
Particles
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>ParticleSlider</title>
</head>
<body id="particle-slider">
<div class="slides">
<div id="first-slide" class="slide" data-src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3MjUiIGhlaWdodD0iMTU2IiB2aWV3Qm94PSIwIDAgNzI1IDE1NiI+CiAgPHRleHQgaWQ9Ik1BTklGT0xEIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDEyOSkiIGZpbGw9IiMwMGZmM2MiIGZvbnQtc2l6ZT0iMTUwIiBmb250LWZhbWlseT0iT0NSQUV4dGVuZGVkLCBPQ1IgQSI+PHRzcGFuIHg9IjAiIHk9IjAiPk1BTkk8L3RzcGFuPjx0c3BhbiB5PSIwIiBmaWxsPSIjZmZmIj5GT0xEPC90c3Bhbj48L3RleHQ+Cjwvc3ZnPg==">
</div>
</div>
import android.app.Application
import androidx.databinding.Observable
import androidx.databinding.PropertyChangeRegistry
import androidx.lifecycle.AndroidViewModel
abstract class ObservableViewModel(app: Application): AndroidViewModel(app), Observable {
@delegate:Transient
private val mCallBacks: PropertyChangeRegistry by lazy { PropertyChangeRegistry() }
@arunavo4
arunavo4 / c_sharp_for_python.md
Last active September 20, 2020 18:40 — forked from mrkline/c_sharp_for_python.md
An intro to C# for a Python developer. Made for one of my coworkers.

C# For Python Programmers

Syntax and core concepts

Basic Syntax

  • Single-line comments are started with //. Multi-line comments are started with /* and ended with */.

  • C# uses braces ({ and }) instead of indentation to organize code into blocks. If a block is a single line, the braces can be omitted. For example,

@arunavo4
arunavo4 / NestedScrollWebView.java
Created November 18, 2018 10:27 — forked from alexmiragall/NestedScrollWebView.java
NestedWebView compatible with CoordinatorLayout
package com.tuenti.nestedwebscrollview;
import android.content.Context;
import android.support.v4.view.MotionEventCompat;
import android.support.v4.view.NestedScrollingChild;
import android.support.v4.view.NestedScrollingChildHelper;
import android.support.v4.view.NestedScrollingParent;
import android.support.v4.view.VelocityTrackerCompat;
import android.support.v4.view.ViewCompat;
import android.support.v4.widget.ScrollerCompat;
@arunavo4
arunavo4 / GetStatusBarHeight.java
Created October 15, 2018 14:18 — forked from stephenparish/GetStatusBarHeight.java
Get android status bar height
public int getStatusBarHeight() {
int result = 0;
int resourceId = getResources().getIdentifier("status_bar_height", "dimen", "android");
if (resourceId > 0) {
result = getResources().getDimensionPixelSize(resourceId);
}
return result;
}