-
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,
public int getStatusBarHeight() { | |
int result = 0; | |
int resourceId = getResources().getIdentifier("status_bar_height", "dimen", "android"); | |
if (resourceId > 0) { | |
result = getResources().getDimensionPixelSize(resourceId); | |
} | |
return result; | |
} |
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; |
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() } |
<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> |
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: |
skiff.com | |
0-mail.com | |
027168.com | |
0815.ru | |
0815.ry | |
0815.su | |
0845.ru | |
0box.eu | |
0clickemail.com | |
0n0ff.net |
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 |
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
@import 'tailwindcss'; | |
/* | |
---break--- | |
*/ | |
@plugin 'tailwindcss-animate'; | |
/* | |
---break--- | |
*/ | |
@plugin 'tailwind-scrollbar'; | |
/* |