сперва настраиваем Ubuntu или Debian: подключение к серверу через терминал с SSH c логином от root
ssh root@ip_server
Обновляет систему
#!/bin/sh | |
# Remove the performance overlay, it meddles with some tasks | |
unset LD_PRELOAD | |
# Fetch Resolution | |
RES=$(xdpyinfo | awk '/dimensions/{print $2}') | |
# Apply Resolution in env and start a new nested gnome with a new dbus | |
env MUTTER_DEBUG_DUMMY_MODE_SPECS=$RES dbus-run-session -- gnome-shell --wayland --nested |
blueprint: | |
name: Bathroom Humidity Exhaust Fan | |
description: > | |
# 🚿 Bathroom Humidity Exhaust Fan | |
**Version: 2.6** | |
Step into the future of freshness - customize it your way and experience the convenience of automated humidity control! 🌿🚿 | |
#!/bin/sh | |
# Remove the performance overlay, it meddles with some tasks | |
unset LD_PRELOAD | |
## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper | |
## whilst being launched by plasma-session | |
mkdir $XDG_RUNTIME_DIR/nested_plasma -p | |
cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper | |
#!/bin/sh |
// ==UserScript== | |
// @name noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2a | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
user = User.new(username: 'user', email: '[email protected]', name: 'user', password: 'user', password_confirmation: 'user') | |
# Use it only if you wish user to be automatically confirmed. If skipped, user receives confirmation e-mail | |
user.skip_confirmation! | |
user.admin = true | |
user.save! |
Note: This is all almost full YouTube ID informations. Original owner goes to AgentOak, modified version by Martin Eesmaa.
See the credits and also special thanks in below.
Last updated: June 2025
Also known as itag or format codes and way back they could be specified with the fmt parameter (e.g. &fmt=22
).
Depending on the age and/or popularity of the video, not all formats will be available.
""" | |
This is a small python script to clear up old gitlab build artifacts. | |
There are 3 variables you should modify: | |
* base_url: path to your gitlab | |
* access_token: your personal access token to make gitlab api calls | |
* delete_everything_older_than: configure the timedelta as you wish | |
!!IMPORTANT!! | |
By default this script does only make dry-runs and does not actually delete any files! |
FROM node:16.14.2-alpine3.15 as client-builder | |
RUN apk update | |
RUN apk add git protoc | |
RUN mkdir /grpc | |
WORKDIR /grpc | |
RUN git clone -b 1.3.1 https://github.com/grpc/grpc-web | |
WORKDIR /grpc/grpc-web/net/grpc/gateway/examples/helloworld | |
RUN npm install | |
RUN wget -O /usr/local/bin/protoc-gen-grpc-web https://github.com/grpc/grpc-web/releases/download/1.3.1/protoc-gen-grpc-web-1.3.1-linux-x86_64 |
# Used on Ubuntu 18.04 and 20.04 | |
# Find instructions for other OSes here: https://certbot.eff.org/instructions | |
# Install Certbot via Snaps | |
sudo snap install core; sudo snap refresh core | |
sudo snap install --classic certbot | |
sudo ln -s /snap/bin/certbot /usr/bin/certbot | |
# Install DNS CloudFlare plugin | |
sudo snap set certbot trust-plugin-with-root=ok |