Skip to content

Instantly share code, notes, and snippets.

View liponex's full-sized avatar
🎯
Focusing

Liponex liponex

🎯
Focusing
View GitHub Profile
@liponex
liponex / yt-shorts-autoplay.js
Last active April 12, 2023 12:52 — forked from SubhrajitPrusty/yt-shorts-autoplay.js
Script that automatically scroll YouTube Shorts
// ==UserScript==
// @name YouTube Shorts autoscroll
// @version v0.0.2
// @grant none
// @author Subhrajit Prusty, liponex
// @description Just auto scroll through youtube shorts
// @match https://www.youtube.com/*
// ==/UserScript==
(function () {
@cccaaannn
cccaaannn / YouTube_Shorts_ProgressBar.js
Created March 5, 2022 16:54
Brings 'YouTube shorts' to 21st century, where we have control over things that we watch.
// ==UserScript==
// @name YouTube Shorts ProgressBar
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Brings 'YouTube shorts' to 21st century, where we have control over things that we watch.
// @author Can Kurt
// @match *://www.youtube.com/*
// @license MIT
// ==/UserScript==
<p style="code { white-space: pre; }">
<code white-space="pre">
SELECT COUNT(*) FROM pulsar_stars <br>
WHERE (TARGET = 0 AND MIP BETWEEN 83 AND 84) OR <br>
(TARGET = 1 AND MIP BETWEEN 83 AND 89)<br>
^^^^^ R=79<br>
SELECT AVG(MIP) FROM pulsar_stars <br>
WHERE (TARGET = 0 AND MIP BETWEEN 83 AND 84) OR <br>
(TARGET = 1 AND MIP BETWEEN 83 AND 89)<br>
^^^^^ R=84.5427964154411764705882352941176470588<br>
@Obydux
Obydux / Fabric-Quilt-Server-Optimization.md
Last active June 5, 2024 15:12
Fabric/Quilt Server Optimization

Fabric/Quilt Server Optimization

This has updated for 1.20.4, all of the optimization mods mentioned here are compatible with each other and don't affect vanilla behaviour by default.

Mods

Lithium - A mod designed to drastically improve the general performance of Minecraft without breaking things.

VMP - A mod designed to improve general server performance at high playercount.

@justincjahn
justincjahn / README.md
Last active January 16, 2024 20:15
Minecraft server(s) using systemd and screen.

Install

# Install dependencies
sudo yum install -y java-1.8.0-openjdk screen

# Create a new unprivileged user for minecraft
useradd -r -m -d /opt/minecraft minecraft

# Create the directory that will house our minecraft instances

sudo su --shell /bin/bash minecraft

@ohryan
ohryan / responsive-align.less
Last active April 30, 2019 17:27
Bootstrap 3 Responsive Text Align
.text-xs-left { text-align: left; }
.text-xs-right { text-align: right; }
.text-xs-center { text-align: center; }
.text-xs-justify { text-align: justify; }
@media (min-width: @screen-sm-min) {
.text-sm-left { text-align: left; }
.text-sm-right { text-align: right; }
.text-sm-center { text-align: center; }
.text-sm-justify { text-align: justify; }
@rponte
rponte / cmd_as_windowsservice.bat
Created January 3, 2012 17:56
running cmd.exe as a windows service
-- install cmd.exe as a windows service
sc create CmdAsService binpath= "cmd /K start" type= own type= interact
-- now execute this to run cmd.exe service
sc start CmdAsService
-- you can delete cmd.exe service with this command
sc delete CmdAsService