Skip to content

Instantly share code, notes, and snippets.

@SrIzan10
SrIzan10 / docker.yml
Created August 13, 2024 18:05
default docker build github actions for my projects (replace REPLACE)
name: Publish Docker image
on:
push:
branches:
- main
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
@SrIzan10
SrIzan10 / gq.sh
Created July 19, 2024 10:43
git quick shell command
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 \"Your commit message\""
exit 1
fi
git add .
git commit -m "$1"
git push
@SrIzan10
SrIzan10 / stats.js
Created August 18, 2023 13:15
Vinci's stats webserver
const port = 7271
const express = require('express');
const app = express();
const si = require('systeminformation');
const os = require('os');
function formatBytes(bytes, decimals = 2) {
if (bytes === 0) return '0 Bytes';
const k = 1024;
const dm = decimals < 0 ? 0 : decimals;
@SrIzan10
SrIzan10 / neofetch.txt
Created July 4, 2023 14:26
main pc neofetch
./o. srizan@srizan-ryzen
./sssso- -------------------
`:osssssss+- OS: EndeavourOS Linux x86_64
`:+sssssssssso/. Kernel: 6.3.7-arch1-1
`-/ossssssssssssso/. Uptime: 2 hours, 46 mins
`-/+sssssssssssssssso+:` Packages: 1855 (pacman), 36 (flatpak)
`-:/+sssssssssssssssssso+/. Shell: bash 5.1.16
`.://osssssssssssssssssssso++- Resolution: 1366x768
.://+ssssssssssssssssssssssso++: DE: GNOME 44.2
.:///ossssssssssssssssssssssssso++: WM: Mutter
@SrIzan10
SrIzan10 / branding.md
Last active March 4, 2024 17:13
sern branding

colors

sern pink (top part of logo) (actually called dark pink)

#CE436D

sern blue (bottom part of logo) (actually called cobalt)

#0C3478

logo

main

sern logo

automata

croppedlogo

@SrIzan10
SrIzan10 / guide.md
Last active March 24, 2024 18:14
How to install a Google font on BetterDiscord!

Hey!

Today I'll be showing how to use any font that is on the Google Fonts website right on Discord!

Step 1: Install BetterDiscord

Go to the website and install it.

Step 2: Choose the font.

@SrIzan10
SrIzan10 / shorten.ts
Created August 31, 2022 18:32
Shorten a link in sern handler with axios and YOURLS!
const { commandModule, CommandType } = require('@sern/handler');
import axios, { AxiosError, AxiosResponse } from "axios";
import { ApplicationCommandOptionType } from "discord.js";
import { publish } from "../../src/plugins/publish";
export default commandModule({
name: 'shorten',
type: CommandType.Slash,
plugins: [],
description: 'Shorten a link!',
@SrIzan10
SrIzan10 / owncast.md
Created June 9, 2022 17:58
A guide for running owncast for raspberry pi or x86 servers!

Hey!

This guide is NEVER GOING TO BE PERFECT, and will be up for future instances that I'll be making or for people who want a guide that'll (almost) get you to the end.

We'll be covering:

  • Owncast on Docker
  • Nginx proxy on Docker for SSL (w/certbot)

Let's get started!

@SrIzan10
SrIzan10 / skins.txt
Last active January 12, 2024 19:09
A little text file that I made a while ago for minecraft skin URLs.
Aquatic Assault
https://www.minecraftskins.com/uploads/skins/2020/12/16/aquatic-assault---incinerator-v2--16068107.png?v302
WilburSoot
https://imgur.com/5weNBEM
Panda
https://es.namemc.com/texture/cfa633ed81b8f521.png
Panda Hugo
https://www.minecraftskins.com/uploads/skins/2020/12/17/panda-boy-16082392.png?v302
Skin Alma
https://www.minecraftskins.com/uploads/skins/2015/07/30/skin_20150730135317110577.png?v357
@SrIzan10
SrIzan10 / braveinstall.sh
Created November 15, 2021 19:42
A little copypasta from the official Brave Linux install script website.
sudo apt install apt-transport-https curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser