- Go to http://cloud.google.com/console and log-in
- Activate youtube-data API (APIs & auth -> APIs)
- Register a new app (APIs & auth -> registered apps)
- Name it, select
native
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
| RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$ | |
| RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] |
How to hide apache information with ServerTokens and ServerSignature directives
$ e2enmod headers
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
| iiii iiii iiii | |
| i::::i i::::i i::::i | |
| iiii iiii iiii | |
| rrrrr rrrrrrrrr eeeeeeeeeeee mmmmmmm mmmmmmm iiiiiii iiiiiii iiiiiii | |
| r::::rrr:::::::::r ee::::::::::::ee mm:::::::m m:::::::mm i:::::i i:::::i i:::::i | |
| r:::::::::::::::::r e::::::eeeee:::::eem::::::::::mm::::::::::m i::::i i::::i i::::i | |
| rr::::::rrrrr::::::re::::::e e:::::em::::::::::::::::::::::m i::::i i::::i i::::i | |
| r:::::r r:::::re:::::::eeeee::::::em:::::mmm::::::mmm:::::m i::::i i::::i i::::i | |
| r:::::r rrrrrrre:::::::::::::::::e m::::m m::::m m::::m i::::i i::::i i::::i | |
| r:::::r e::::::eeeeeeeeeee m::::m m::::m m::::m i::::i i::::i i::::i |
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
| Alain Dupond | alain.dupond@gmail.com | |
|---|---|---|
| Roger Dupont | roger.dupont@gmail.com |
$ grep -rnw 'directory' -e "pattern"
-r is recursive, -n is line number and -w stands match the whole word. Along with these, --exclude or --include parameter could be used for efficient searching. Something like below:
$ grep --include={*.c,*.h} -rnw 'directory' -e "pattern"
This will only search through the files which have .c or .h extensions. Similarly a sample use of --exclude: