Skip to content

Instantly share code, notes, and snippets.

@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%
*/
@TheCoderRaman
TheCoderRaman / paint
Created September 13, 2023 08:38 — forked from robopuff/paint
Draw image in terminal (True Color) with PHP
#!/usr/bin/env php
<?php
define('VERSION', '1.0.24');
define('DEFAULT_PIXEL', "\xE2\x96\x84");
define('RC', "\e[0m");
define('RCNL', RC . PHP_EOL);
define('CURRENT_FILE', array_shift($argv));
error_reporting(0);
@TheCoderRaman
TheCoderRaman / Microsoft.PowerShell_profile.ps1
Created July 3, 2023 20:51 — forked from cetoh/Microsoft.PowerShell_profile.ps1
PowerShell Profile including Oh My Posh, Terminal Icons, PSReadLine IntelliSense, and z
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
Import-Module -Name Terminal-Icons
@TheCoderRaman
TheCoderRaman / yt.php
Created June 15, 2023 19:06 — forked from lhuxman-lhux/yt.php
youtube download
<?php
if (file_exists('sig1.php')) {
unlink('sig1.php');
}
function getc($url)
{
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_ENCODING, 'gzip');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);