Skip to content

Instantly share code, notes, and snippets.

View PixelSergey's full-sized avatar
🐈

Sergey PixelSergey

🐈
View GitHub Profile
@PixelSergey
PixelSergey / screensaver_kali.sh
Last active September 4, 2022 19:55
Cowsay screensaver
#!/bin/bash
trap 'tput cnorm; for i in {1..15}; do xdotool key Ctrl+minus; done; clear;' ERR EXIT;
clear;
tput civis;
toilet --gay "$1" | cowsay -n;
for i in {1..15}; do xdotool key Ctrl+plus; done
while true; do
for i in {1..3}; do
@PixelSergey
PixelSergey / uwu.html
Created June 14, 2019 11:42
Shitty weeb site, saving for a friend
<!DOCTYPE html>
<body bgcolor="#ff49c5">
<TITLE>THIS IS SOME SERIOUS WEEB SH*T</TITLE>
<h1>ᵘʷᵘ oh frick ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ frick sorry guys ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ sorry im dropping ᵘʷᵘ my uwus all over the ᵘʷᵘ place ᵘʷᵘ ᵘʷᵘ ᵘʷᵘ sorry</h1>
<p>Imagine reading a post, but over the course of it the quality seems to deteriorate and it gets wose an wose, where the swenetence stwucture and gwammer rewerts to a pwoint of uttew non swence, an u jus dont wanna wead it anymwore (o´ω`o) awd twa wol owdewl iws jus awfwul (´・ω・`)</p>
<img src="https://pbs.twimg.com/profile_images/1040094061057650688/wNO6rNzn.jpg" height=200 alt="AYAYA"><img src="https://media1.tenor.com/images/baf2d324d696b8e0b08daa8cff5c8f12/tenor.gif?itemid=12992329" alt="AYAYAGIF">
<iframe width="560" height="315" src="https://www.youtube.com/embed/D0q0QeQbw9U?autoplay=1" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h2>Watashi wa a victim of cyberbullying. Everyd
@PixelSergey
PixelSergey / dump.md
Last active March 16, 2024 12:22
Dump games with godmode9

Dumping games with Godmode9

Dumping games is the act of taking a game from your system or gamecart and copying it into a readable format onto your SD card. Dumping is perfectly legal if you keep the dumps to yourself, however sharing these dumps is piracy and is illegal.

This guide will tell you how to dump games from various formats and for various purposes. Dumping 3DS cartriges as .cia files is good if you want to install them to your system. Dumping them as .3ds files is good for emulators. Installed titles cannot be dumped as .3ds files. NDS cartiges can only be dumped as .nds files and cannot be installed (however, you can play them with emulators or flashcarts).

Dumping the RomFS of a game is primarily for romhacking purposess.

@PixelSergey
PixelSergey / layeredfs.md
Last active March 24, 2024 18:19
LayeredFS patching guide

Luma LayeredFS game patching guide

This is a guide for patching a game with Luma's built-in LayeredFS feature. This requires the latest Luma3DS and b9s. They can be installed using the guide if you have not already.


Dumping RomFS from a game

You can dump RomFS from any game using Godmode9.

@PixelSergey
PixelSergey / wireless.md
Last active March 26, 2024 00:24
FTP guide

Transferring files wirelessly between your 3DS and computer

This is especially useful if you do not have an SD card reader or if you do not want to open the New 3DS' pesky shell.

There are two options: the official MicroSD management (New 3DS only) (Requires Windows) or FTPD (must have CFW or homebrew installed).

FTPD is quicker and easier to use in the long run and can be used on all systems and computers (and phones!); however, MicroSD management is official and can be done with a stock system.



@PixelSergey
PixelSergey / pyramid.sh
Last active October 10, 2019 06:11
Asterisk pyramid
#!/bin/bash
sudo curl -s -L gist.github.com/PixelSergey/58c86ae2d2fdea9d3327995d6e773b81/raw/setup.sh | sudo bash /dev/stdin arg1 arg2
echo "Asterisk pyramid!"
declare -i n=20
for (( i = 1; i <= n; i++ )); do
for (( k = i; k <= n; k++ )); do
echo -ne " "
done
for (( j = 1; j <= 2 * i - 1; j++ )); do