Filter | Description | Example |
---|---|---|
allintext | Searches for occurrences of all the keywords given. | allintext:"keyword" |
intext | Searches for the occurrences of keywords all at once or one at a time. | intext:"keyword" |
inurl | Searches for a URL matching one of the keywords. | inurl:"keyword" |
allinurl | Searches for a URL matching all the keywords in the query. | allinurl:"keyword" |
intitle | Searches for occurrences of keywords in title all or one. | intitle:"keyword" |
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 | |
set -euo pipefail | |
clear | |
echo "Thank you for using the automatic database & user initialization tool" | |
echo "This script is developed by Andrew Henke - https://andrewhenke.com" | |
clear | |
sudo apt-get install mysql-server &>/dev/null | |
#Install Screen |
I hereby claim:
- I am andrewhenke on github.
- I am andrewhenke (https://keybase.io/andrewhenke) on keybase.
- I have a public key ASBZA-o73RWqfi7SrvK5Kqh5ghfZ7kH1AYjGWpakpfb2yAo
To claim this, I am signing this object:
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
## To make sure that your .bash_aliases file is loaded by bash, make sure that you have the following code in your ~/.bashrc file: | |
# if [ -e $HOME/.bash_aliases ]; then | |
# source $HOME/.bash_aliases | |
# fi | |
# | |
# If you don't have the above code snippet in your .bashrc file, add it to the file, save it, and then run the command "source ~/.bashrc" | |
#All the standard automatic color formatting of the typical commands - these are in your .bashrc file by default. | |
alias ls='ls --color=auto' | |
alias dir='dir --color=auto' |
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
FILE=$HOME/.bash_aliases | |
if [ -f "$FILE" ]; then | |
echo "Bash Aliases file detected - backing up" | |
mv $HOME/.bash_aliases $HOME/.bash_aliases.bak | |
else | |
echo "Bash Aliases file does not exist, proceeding" | |
fi | |
if grep -Fxq "if [ -f ~/.bash_aliases ]; then" $HOME/.bashrc; | |
then |
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 | |
// PHP memory limit for this site | |
define( 'WP_MEMORY_LIMIT', '128M' ); | |
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit. | |
// Database | |
define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database. | |
define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users) | |
// Explicitely setting url |