Skip to content

Instantly share code, notes, and snippets.

@TheCoderRaman
TheCoderRaman / MediaVideoConverterListener.php
Created October 9, 2025 09:43 — forked from Nks/MediaVideoConverterListener.php
Laravel Media Library converting video to .mp4 after saving
<?php
namespace App\Listeners;
use App\Media;
use FFMpeg\FFMpeg;
use FFMpeg\Format\Video\X264;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\SerializesModels;
@TheCoderRaman
TheCoderRaman / Windows Ricing Guide.md
Created August 25, 2025 08:51 — forked from triplrrr/Windows Ricing Guide.md
Windows Ricing Kit 2020

Ricing Windows in 2020

Many people like their things to look nice. I am one of those people. I like things to look nice all the time. One of the things I like to look nice is my PC's desktop. I have to look at it constantly, so it might as well be pretty.

What is 'ricing?'

Ricing is the term used to describe the process of making a desktop environment look nice. This usually involves at least several steps, including installing a window manager, a theme, custom icons, and making the terminal look nice. Windows, however isn't meant to have every single part of it tweaked and customized, so we have to make some concessions.

Note that many ricers think that ricing is about making their computer more efficient for their workflow. I disagree. I believe that improved workflow is a sideeffect of good aesthetic, and my personal aesthetic is based in functionality. Also cyberpunk.

What does this guide include?

This guide aims to be a resource for entry level ricers to ricing their Windows 10 environment.

@TheCoderRaman
TheCoderRaman / ShakedownHawaiiBFP2.cs
Created July 8, 2025 10:34 — forked from barncastle/ShakedownHawaiiBFP2.cs
Code for reading Vblank Entertainment' Shakedown: Hawaii's BFP archives
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Runtime.InteropServices;
using System.Text.RegularExpressions;
using System.Linq;
using ICSharpCode.SharpZipLib.Zip.Compression.Streams;
using System.IO.Compression;
@TheCoderRaman
TheCoderRaman / how-to-find-forks-of-deleted-repo.md
Created April 26, 2025 16:50 — forked from rjeczalik/how-to-find-forks-of-deleted-repo.md
How to find forks of a deleted repository?
@TheCoderRaman
TheCoderRaman / main.cpp
Created January 10, 2025 08:25 — forked from lxndrdagreat/main.cpp
SFML Tile culling and drawing using sf::VertexArray
#include <SFML/Graphics.hpp>
#include <vector>
#include <iostream>
int main() {
sf::RenderWindow window(sf::VideoMode(640, 480), "Tile Culling");
// our view
sf::View camera;
@TheCoderRaman
TheCoderRaman / tailwind.config.js
Created May 11, 2024 19:59 — forked from searls/tailwind.config.js
A sample Tailwind configuration file, heavily inspired by @PixelJanitor
function spacing () {
const scale = Array(201)
.fill(null)
.map((_, i) => [i * 0.5, `${i * 0.5 * 8}px`])
const values = Object.fromEntries(scale)
values.px = '1px'
values.xs = '2px'
values.sm = '4px'
return values
}
@TheCoderRaman
TheCoderRaman / Email Server (Windows Only).md
Created May 5, 2024 16:43 — forked from raelgc/Email Server (Windows Only).md
Setup a Local Only Email Server (Windows Only)

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@TheCoderRaman
TheCoderRaman / Common-Currency.json
Created December 4, 2023 09:11 — forked from ksafranski/Common-Currency.json
Common Currency Codes in JSON
{
"USD": {
"symbol": "$",
"name": "US Dollar",
"symbol_native": "$",
"decimal_digits": 2,
"rounding": 0,
"code": "USD",
"name_plural": "US dollars"
},
@TheCoderRaman
TheCoderRaman / downloader.php
Created October 5, 2023 10:38 — forked from ARACOOOL/downloader.php
Download remote file with progress bar (PHP, curl)
#!/usr/bin/php
<?php
/**
* Usage:
* php downloader.php http://path.to/remote/file.ext /local/file/path
*
* Output:
* [############################################################################################### ] 96%
*/