- Make a POST Request (TLDR: Use -X POST argument)
- Add POST Data to a Request (TLDR: Use -d var=val argument)
- Construct a Query String (TLDR: Use -G argument)
- Add HTTP Headers (TLDR: Use -H 'Header: Value' argument)
- Change the User Agent (TLDR: Use -A 'User Agent' argument)
- Set Cookies (TLDR: Use -b name=value argument)
- Add a Referrer (TLDR: Use -e URL argument)
- Follow a 3XX Redirect (TLDR: Use -L argument)
- Use the Basic HTTP Authentication (TLDR: Use -u user:pass argument)
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
var timoutWarning = 60000; // Display warning in 1 min. | |
var timoutNow = 60000; // Warning has been shown, give the user 1 minute to interact | |
var logoutUrl = '/timeout'; // URL to logout page. | |
var warningTimer; | |
var timeoutTimer; | |
// Start warning timer. | |
function StartWarningTimer() { | |
warningTimer = setTimeout("IdleWarning()", timoutWarning); |
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
{"notifications":[{"id":74,"notification_type":9,"read":false,"created_at":"2017-04-18T16:36:41.618Z","post_number":5,"topic_id":21,"slug":"lets-have-fun-here","data":{"topic_title":"Let's have fun here!","original_post_id":59,"original_post_type":1,"original_username":"abi","display_username":"4 replies"}},{"id":48,"notification_type":12,"read":true,"created_at":"2017-01-06T17:07:00.089Z","post_number":null,"topic_id":null,"slug":null,"data":{"badge_id":1,"badge_name":"Basic User","badge_slug":"basic","username":"nick"}},{"id":30,"notification_type":12,"read":false,"created_at":"2017-01-05T21:01:52.450Z","post_number":null,"topic_id":null,"slug":null,"data":{"badge_id":13,"badge_name":"First Flag","badge_slug":"first-flag","username":"nick"}},{"id":27,"notification_type":12,"read":false,"created_at":"2017-01-05T20:56:51.165Z","post_number":null,"topic_id":null,"slug":null,"data":{"badge_id":11,"badge_name":"First Like","badge_slug":"first-like","username":"nick"}},{"id":18,"notification_type":6,"read":true," |
If struggling with a working MySQL install on an Apple Silicon Mac...
See https://dev.to/truemark/solved-error-while-installing-mysql2-gem-in-m1-mac-1mab
Update mysql and zstd version numbers and paths as appropriate for you system:
rbenv exec gem install mysql2 -- \
--with-mysql-lib=/opt/homebrew/Cellar/mysql/8.1.0/lib \
--with-mysql-dir=/opt/homebrew/Cellar/mysql/8.1.0 \
OlderNewer