Skip to content

Instantly share code, notes, and snippets.

@iosifnicolae2
iosifnicolae2 / Readme.md
Last active October 2, 2025 11:50
Youtube is Boring

How To Make Youtube Less Boring

Tutorial: https://www.youtube.com/watch?v=hIqMrPTeGTc
Paste the below code in your browser console (F12 > Console):

(()=>{
    markAllVideosAsNotBeingInteresting({
        iterations: 1
    });
})();
@FreddieOliveira
FreddieOliveira / docker.md
Last active October 11, 2025 15:30
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@prologic
prologic / LearnGoIn5mins.md
Last active August 12, 2025 02:24
Learn Go in ~5mins
@copley
copley / POWER PHRASES TO BUILD YOUR RESUME
Created May 10, 2020 10:37
POWER PHRASES TO BUILD YOUR RESUME
POWER PHRASES TO BUILD YOUR RESUME
ACCURACY
 Recognize the importance of accuracy
 Perform with a high degree of accuracy
 Perform with consistent accuracy
 Achieve results with accuracy and precision
 Maintain high statistical accuracy
 Expect perfection
 Strive for perfection
 Excel in achieving perfection
@damiencarbery
damiencarbery / add-an-post-tracking-provider.php
Last active October 9, 2024 00:29
Tracking Info to WooCommerce order - Use CMB2 to add a custom metabox to add tracking information to WooCommerce orders. The information is then added to the "Completed Order" email. https://www.damiencarbery.com/2020/01/add-tracking-info-to-woocommerce-order/
<?php
/*
Plugin Name: Add Tracking Provider
Plugin URI: https://www.damiencarbery.com/
Description: Add new An Post (Irish postal service) as a tracking provider.
Author: Damien Carbery
Author URI: https://www.damiencarbery.com
Version: 0.1.20240414
*/
@MaxXor
MaxXor / btrfs-guide.md
Last active September 11, 2025 20:51
Btrfs guide to set up an LUKS-encrypted btrfs raid volume with included maintenance & recovery guide

Encrypted Btrfs storage setup and maintenance guide

Initial setup with LUKS/dm-crypt

This exemplary initial setup uses two devices /dev/sdb and /dev/sdc but can be applied to any amount of devices by following the steps with additional devices.

Create keyfile:

dd bs=64 count=1 if=/dev/urandom of=/etc/cryptkey iflag=fullblock
chmod 600 /etc/cryptkey
@JoeyBurzynski
JoeyBurzynski / 55-bytes-of-css.md
Last active October 10, 2025 02:37
58 bytes of css to look great nearly everywhere

58 bytes of CSS to look great nearly everywhere

When making this website, i wanted a simple, reasonable way to make it look good on most displays. Not counting any minimization techniques, the following 58 bytes worked well for me:

main {
  max-width: 38rem;
  padding: 2rem;
  margin: auto;
}
@codesections
codesections / actix-web.rs
Created December 20, 2018 22:03
Basic static file server with actix-web
extern crate actix_web;
use actix_web::{fs, server, App};
fn main() {
server::new(|| {
App::new()
.handler(
"/",
fs::StaticFiles::new("./public")
.unwrap()
@caiorss
caiorss / rpn-calculator.cpp
Created November 20, 2018 15:07
Example HP-48 Reverse Polish Notation Interpreter in moder C++ (>= C++11) - https://caiorss.github.io/C-Cpp-Notes/sample-modern-cpp-programs.html
/** File: rpn-calculator.cpp
* Author: Caio Rodrigues - caiorss <DOT> rodrigues <AT> gmail <DOT> com
* Brief: Reverse Polish Notation Calculator
* Description: A simple reverse polish notation command line calculator
* implemented in modern C++.
* Site: https://caiorss.github.io/C-Cpp-Notes/sample-modern-cpp-programs.htm
***************************************************************************/
#include <iostream>
#include <cmath>
#include <map>