script Tag

SQS Message Retrieval (File Based)

20 May 2021, Posted by BoB in All Posts, Computer Talk

First, thank you to Tamás Sallai for getting me on the right track. I originally started building this script with "for msg in `aws sqs receive-message --queue-url $QUEUE_URL --max-number-of-messages 10`" but then came across his post. For those struggling with this right now hope it...

HTML Characters

28 Apr 2011, Posted by BoB in All Posts, Website Talk

Symbol Symbol Description Name Code Number Code € Euro Symbol € € © Copyright © © ® Registered Trademark ® ® ™ Trademark Sign (TM) ™ - @ At Symbol - @ & Ampersand & & ¶ Paragraph ¶ ¶ - Hyphen - - – En Dash – &#150 — Em Dash — — ¬ Not Sign ¬ ¬ ‹ Single Left Pointing Angle ‹ - › Single Right Pointing Angle › - « Double Left Pointing Angle « « » Double Right Pointing Angle » » ← Left Arrow ← - ↑ Upward Arrow ↑ - → Right Arrow → - ↓ Downward Arrow ↓ - ♠ Black Spade Suit (Not available in Firefox) ♠ - ♣ Black Clubs Suit (Not available in Firefox) ♣ - ♥ Black Hearts Suit (Not available in...

.htaccess Sheet

26 Apr 2011, Posted by BoB in All Posts, Website Talk

span.post {text-decoration: underline;} Disable directory listing: IndexIgnore * -or- Options -Indexes Change default "index" page: DirectoryIndex anyfilename.html Custom 404 page redirect: # 404 error redirect # ErrorDocument 404 /full/directory/path/404.html Hotlinking protection: # hotlink protection # RewriteEngine On RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://domain.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://www.domain.com/.*$ [NC] RewriteRule .*\.(gif|jpg|png|ico)$ - [F,L] 1 hour web browser caching (improves site performance): # default expires set...

Script Time Sheet

26 Apr 2011, Posted by BoB in All Posts, Website Talk

table.post {border:1px solid;width:100%;} th.post {border:1px solid;width:20%;padding:10px;vertical-align:top;font-weight:bold;font-size:16px;} td.post {border:1px solid;width:20%;padding:10px;vertical-align:top;height:40px;} This is a script time reference sheet (in seconds) (known to be used in .htaccess): 300 = 5 MINS 600 = 10 MINS 900 = 15 MINS 1800 = 30 MINS 2700 = 45 MINS 3600 = 1 HR 7200 = 2 HRS 10800 = 3 HRS 14400 = 4 HRS 18000...