# Running xdebug in the console, for debugging Laravel artisan commands. Useful as I keep forgetting this one... | |
php -dxdebug.remote_autostart artisan | |
#Running phpcs for 5.3: | |
phpcs -pv --standards= --runtime-set testVersion 5.3 --ignore=*/public/*,*.js,*.css,*/tests/*,*/views/training/* . |
#!/usr/bin/python3 | |
import sys | |
import pyvips | |
im = pyvips.Image.new_from_file(sys.argv[1], access="sequential") | |
text = pyvips.Image.text(sys.argv[3], width=500, dpi=300, align="centre") | |
text = (text * 0.3).cast("uchar") | |
text = text.rotate(45) |
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
0-mail.com | |
007addict.com | |
020.co.uk | |
027168.com | |
0815.ru | |
0815.su | |
0clickemail.com | |
0sg.net | |
0wnd.net | |
0wnd.org |
Here is an updated list of the colors that are currently implemented with a name.
To using colors on discord.js, this is a typedef Colors, Colors.Aqua
to get the Aqua color.
Name | Int value | Hex Code |
---|---|---|
Default |
0 | #000000 |
Aqua |
1752220 | #1ABC9C |
DarkAqua |
1146986 | #11806A |
Green |
5763719 | #57F287 |
DarkGreen |
2067276 | #1F8B4C |
Make a rule that allows port 80/443 access only from redirector: | |
iptables -A INPUT -p tcp -s <REDIRECTOR_IP> --dport 443 -j ACCEPT | |
iptables -A INPUT -p tcp --dport 443 -j DROP | |
iptables -A INPUT -p tcp -s <REDIRECTOR_IP> --dport 80 -j ACCEPT | |
iptables -A INPUT -p tcp --dport 80 -j DROP | |
Change default port teamserver : | |
sed -i 's/50050/<PORT>/g' /path/cobaltstrike/teamserver |
If you have more you can still use this method (3 accounts per instance)
⚠ This guide is for the app available here: https://desktop.telegram.org/ not the one in the Mac/Windows App Store. For the Mac App Store app this should work: https://gist.github.com/Nachtalb/ec590dc974f6ba4674972d4937b230be/#gistcomment-3611415 ⚠
<?php | |
use PhpCsFixer\Config; | |
use PhpCsFixer\Finder; | |
$rules = [ | |
'array_indentation' => true, | |
'array_syntax' => ['syntax' => 'short'], | |
'binary_operator_spaces' => [ | |
'default' => 'single_space', |
#!/usr/bin/env bash | |
# MySQL / MariaDB Dump Helper | |
# =========================== | |
# FEATURES: Progress bar with ETA, support multiple databases (dump into separated files) and password as argument | |
# REQUIREMENTS: | |
# ============= | |
# GNU Core Utilities, mysql, mysqldump, pv (https://github.com/icetee/pv) |