At www.instructables.com/member/computothought we reached 600,000 views Yahoo! We also have our first 25,000 view instructable.

—————————————————————

The internet?

Screenshot from 2013-07-09 21:22:22

—————————————————————

If you are getting eyestrain in from of the monitor.  Does your office or room use Florescent  lighting? Using 60hz refresh rate on the monitor with 70hz lighting can cuase a flitter that will cause eyestrain fairly quickly. Change the refresh rate to 70 in the monitor settings. You should have less eyestrain now.

—————————————————————-

Bash networking:

Simple port scan

Usage portscan.sh host 1stport lastport

$ ./portscan.sh  oesrvr1  1  1024
“22 open”
“25 open”
“80 open”
“110 open”
“111 open”
“143 open”
“993 open”
“995 open”

<code>
#!/bin/bash

IP=$1
firstport=$2
lastport=$3

function portscan

{
for ((counter=$firstport; counter<=$lastport; counter++))

do
(echo >/dev/tcp/$IP/$counter) > /dev/null 2>&1 && echo “$counter open”
done
}

portscan
</code>

Grab a root webpage and save the code. Great for seeing if a server is up.

Usage:  ./webpageget.sh site outputfile

./getwebpage.sh oesrvr1 oesrvr1_rootpage
rm: cannot remove `oesrvr1_rootpage’: No such file or directory
<html>
<head>
<title> Offshore Educators (Main Page) 1 </title>
<base href=”http://oesrvr1/oe/”&gt;
</head>

<FRAMESET ROWS=”15%,*”>
<FRAME SRC=”title.html” NAME=TITLE SCROLLING=NO>

<FRAMESET COLS=”20%,*” FRAMEBORDER=no>
<FRAME SRC=”tools.html” NAME=SIDEBAR noresize>
<FRAME SRC=”notes.html” NAME=NOTES noresize>
</FRAMESET>

<NOFRAMES>
<H1> Offshore Educators</H1>
No frames? No Problem! Take a look at our
<A HREF=”plain.html”>no-frames</A> version.
</NOFRAMES>

</FRAMESET>

</html>

<code>

exec 3<>/dev/tcp/$1/80
echo “GET /” >&3
rm $2
cat <&3 > $2
cat $2

</code>

—————————————————————-

You can make a web page that points to your instructables. Great for putting on your own server or any server. that accepts html. Included is an example file.

Bring up your instructable list and then you will copy the links and data to your newly create html file.

Screenshot from 2013-07-06 16:07:02

Screenshot from 2013-07-06 16:04:37

Screenshot from 2013-07-06 16:07:49

Screenshot from 2013-07-06 16:03:58

Example file:

<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
<html xmlns=”http://www.w3.org/1999/xhtml”&gt;
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Untitled Document</title>
<style type=”text/css”>
html, body {
margin: 0px;
padding: 0px;
border: 0px;
}
#container {
width: 900px;
margin: 0 0 0 20px; /* top right bottom left */
padding: 0;
background-color: #fff;
}
#container h1 {
margin: 0;
padding: 0;
width: 100%;
height: 150px;
float: left;
border-bottom: #c00 solid 3px;
}
#container #col1 {
width: 250px;
float: left;
}
#container #col2outer {
width: 610px;
float: right;
margin: 0;
padding: 0;
}
#col2outer #col2mid {
width: 300px;
float: left;
}
#col2outer #col2side {
width: 300px;
float: right;
}
#container #footer {
float: left;
width: 900px;
border-top: #c00 solid 3px;
}
</style>
</head>

<body>
<div id=”container”>
<h1>Our instructables</h1>
<div id=”col1″>
<br />
<img style=”float: left; padding: 0px 5px 0px 3px;” src=”http://www.instructables.com/files/deriv/FNH/FRA3/HI3TWSQV/FNHFRA3HI3TWSQV.SQUARE.jpg&#8221; alt=”” align=”left” />
<a href=”http://www.instructables.com/id/Spiral-antenna/”>Spiral antenna.</a>
Just a simple bipolar antenna that has no scientific basis for how it was done. O… posted on Jun 17, 2013
<br /> <br />

</div>
<div id=”col2outer”>
<div id=”col2mid”>
<br />
</div>
<div id=”col2side”>
<br />
</div>
</div>
<br />
<div id=”footer”>
<p>Copyright © 2013 </p>
</div>
</div>

</body>
</html>

—————————————————————-

Convert a youtube embeded link to a link usable by youtube-dl for those of us who do not use Adobe Flash

Take a page:such as:

Screenshot from 2013-07-07 19:27:37

View the souce:

Screenshot from 2013-07-07 19:28:26

Extract the youtube string:

src="http://www.youtube.com/embed/Efg1Wiq7vGU?list=UUJbYgMyjTBaeMtDsYtz2mFA&amp;hl=en_US"

We only need part of that:


Now a small little change from embed to watch

http ://www.youtube.com/watch?v=Efg1Wiq7vGU 

Note: remove the space. Just did that so WP would not interpret it to display as a videp.
Then we can go to the command line and download it with youtube-dl

$ youtube-dl https://www.youtube.com/watch?v=GlOwf6KnkhY -f 34

That’s all there is to it. God ahead and watch it with your favorite movie player/

----------------------------------------------------------------

Apple Macintosh keyboard on a 32 bit linux box. Seems to work at least minimally.

SUNP0080

—————————————————————-

Talked about IAAS a while back, now here is another part of the cloud.

From Wikipedia – History of SAAS:

Centralized hosting of business applications dates back to the 1960s. Starting in that decade, IBM and other mainframe providers conducted a service bureau business, often referred to as time-sharing or utility computing. Such services included offering computing power and database storage to banks and other large organizations from their worldwide data centers.
The expansion of the Internet during the 1990s brought about a new class of centralized computing, called Application Service Providers (ASP). ASPs provided businesses with the service of hosting and managing specialized business applications, with the goal of reducing costs through central administration and through the solution provider’s specialization in a particular business application. Two of the world’s pioneers and largest ASPs were USI, which was headquartered in the Washington, D.C. area, and Futurelink Corporation, headquartered in Orange County California.
Software as a service essentially extends the idea of the ASP model. The term Software as a Service (SaaS), however, is commonly used in more specific settings:

  • whereas most initial ASPs focused on managing and hosting third-party independent software vendors‘ software, as of 2012 SaaS vendors typically develop and manage their own software
  • whereas many initial ASPs offered more traditional client-server applications, which require installation of software on users’ personal computers, contemporary SaaS solutions rely predominantly on the Web and only require an internet browser to use
  • whereas the software architecture used by most initial ASPs mandated maintaining a separate instance of the application for each business, as of 2012 SaaS solutions normally utilize a multi-tenant architecture, in which the application serves multiple businesses and users, and partitions its data accordingly

The SAAS acronym allegedly first appeared in an article called “Strategic Backgrounder: Software As A Service”, internally published in February 2001 by the Software & Information Industry’s (SIIA) eBusiness Division.
DbaaS (Database as a Service) has emerged as a sub-variety of SaaS.

Saas is a big reponcibility. Not only do you have to have virtually a 24/7 service, but you must also protect data and access. So more than likely you will see a two level or tier setup. That separates the client data from the direct web access for more security. Since there are several web servers usually set up in a cluster formation. if one goes down the rest of the servers can take up the slack until the downed server can ber resolved. To the web user, it will seem like they are just accessing one server.

SAAS advantages are you do not have to have the infra structure  and IT support a larger business might need. All you need are systems that can access the web. Reasons why the touchpads are so popular. For example a doctors office could access a specific web application running on an SAAS  server such as EMR to keep all the records. So whether the doctor is in the hospital or at a patients home, all the medical data is at the doctors fingertips. (As long as you have internet access).

You could also use a generic application where word processing , spreadheets and etc are at your finger tips. Eyeos for example runs on the server. No software to install and keep updated on a client machine except the web browser.

SAAS is not just for business, you can also serve out home applications also. That means applications such as games or even a web based recipe program can be at your fingertips.

Businesses and home users do not have to depend on big business to have their own SAAS. In some cases, it is more secure to do so (with proper setup).  We have our own server and you can see some of the applications that we have installed at:

http://www.instructables.com/id/Uses-for-your-own-private-cloud/

Probably means you will need some kind of IT support to have your own server. We use older hardware for servers running open source software which allows us to recycle our own equipment saving many dollars.

—————————————————————-

Oldies but goodies of instructables for XP computers including home automation: http://www.instructables.com/id/Microsoft-themed-instructables/.

—————————————————————-

Hot dog meatloaf.

P000-256-315-635-df026

Good day.

Advertisements