Computer Talk

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...

Alt Keyboard Cuts

15 Jun 2015, Posted by BoB in All Posts, Computer Talk

table.post {border:1px solid;width:100%;} th.post {border:1px solid;width:50%;padding:10px;vertical-align:top;font-weight:bold;font-size:16px;} td.post {border:1px solid;width:50%;padding:10px;vertical-align:top;height:40px;} By holding the ALT key and pressing a series of numbers, the following symbols can be output as text...

Linux Sheet

23 Aug 2013, Posted by BoB in All Posts, Computer Talk, Website Talk

Just some commands that I found useful since using Linux: http://mysql-apache-php.com/ Above is a good link to get a web server up and running. /etc/init.d/apache2 start  -  start apache services /etc/init.d/apache2 stop  -  stop apache services /etc/init.d/apache2 restart  -  restart apache services apt-get install <package>  -  install packages apt-get upgrade  -  upgrade...

Bash Sheet

13 Aug 2013, Posted by BoB in All Posts, Computer Talk

Here is an example of a loop that will compress and send how ever many files are found to another server. !/bin/bash first_list='/ [path] / [to] / [files] / *.*' for raw in $first_list do gzip -9 $raw done second_list='/ [path] / [to] / [files] / *.gz' for gz in $second_list do scp $gz [user]...

Iptables Sheet

13 Aug 2013, Posted by BoB in All Posts, Computer Talk, Network Talk

Here is a breakdown of some iptable commands. udp - User Datagram Protocol (streams without checking) tcp - Transmission Control Protocol (checks if destination is available) # input and output commands -A OUTPUT -d [IP ADDRESS] -o eth0 -p tcp --dport [DESTINATION PORT NUMBER] -j ACCEPT -A INPUT -d [IP...

DNS Changer Info

09 Jul 2012, Posted by BoB in All Posts, Computer Talk, Network Talk

Here are some useful links if you are concerned about this DNS changer malware. http://www.youtube.com/watch?v=Gl7d6cDFDHo (Video breakdown of malware and resolution) http://gizmodo.com/5924272/your-internet-might-shut-off-tomorrow-because-of-a-virusheres-how-to-fix-it (Website with more info) Make sure DNS IPs in your computer and/or router do not match these before any other steps are taken: 64.28.176.0 - 64.28.176.255 67.210.0.0 - 67.210.0.255 77.67.83.0 -...