Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...]
[-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw]
[[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm]
[no-dso] [no-krb5] [sctp] [386] [--prefix=DIR]
[--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity]
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
echo off | |
:: Handle CLI Args | |
IF [%1]==[] ( | |
echo No wallpaper path provided, please provide a full qualified path. Ex: C:\dir1\dir2\wallpaper.jpg | |
exit /b 1 | |
) | |
:: Commands | |
echo Changing wallpaper to: %1 |
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
<?php | |
$output = "# changelog\n\n"; | |
$previousTag = 0; | |
$gitTags = shell_exec("git tag --sort=-creatordate"); | |
$gitTagsArray = explode("\n", $gitTags); | |
foreach ($gitTagsArray as $gitTag) { |
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
[global] | |
read raw = Yes | |
write raw = Yes | |
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=131072 SO_SNDBUF=131072 | |
min receivefile size = 16384 | |
use sendfile = true | |
aio read size = 16384 | |
aio write size = 16384 | |
protocol = SMB3 |
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 | |
wp core download | |
wp core config --dbhost=localhost --dbname=press --dbuser=press --dbpass=asasaasasasa --dbprefix=wp_ | |
wp core install --url=example.com --title="Test Site" --admin_user=admin --admin_password=admin --admin_email=admin@example.com | |
wp core update | |
wp core update -db | |
wp plugin uninstall hello | |
wp theme install micro | |
wp theme activate micro | |
wp theme uninstall twentynineteen twentyseventeen twentytwenty |
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
<?php | |
class 🤘 { | |
const 😁 = '👽'; | |
public function 🤡() | |
{ | |
return self::😁; | |
} | |
} |
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
<?php | |
function isLeapYear(int $year): bool | |
{ | |
return $year % 4 == 0 && $year % 100 != 0 || $year % 400 == 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/bash | |
#Ensure we have the quantity specified on the CLI | |
if [ -z "$3" ]; then ARG_ERR=ERR; fi | |
if [ -z "$2" ]; then ARG_ERR=ERR; fi | |
if [ -z "$1" ]; then ARG_ERR=ERR; fi | |
if [ -n "$ARG_ERR" ]; | |
then | |
echo "Usage: <filecount> <filenamebase> <filenameextension>" | |
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/bash | |
who -b | |
last reboot | less | |
last reboot | head -1 | |
last -x|grep shutdown | head -1 |
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
tailf-with-colors () { | |
if [ -z "$1" ] ; then | |
echo "Please specify a file for monitoring" | |
return | |
fi | |
tail -f $1 | awk ' | |
{matched=0} | |
/INFO:/ {matched=1; print "\033[0;37m" $0 "\033[0m"} # WHITE | |
/DEBUG:/ {matched=1; print "\033[0;37m" $0 "\033[0m"} # WHITE |