Tuesday, November 9, 2010

Reverse tunneling SSH ... manual extract

-L [bind_address:]port:host:hostport
Specifies that the given port on the local (client) host is to be
forwarded to the given host and port on the remote side. This
works by allocating a socket to listen to port on the local side,
optionally bound to the specified bind_address. Whenever a con‐
nection is made to this port, the connection is forwarded over
the secure channel, and a connection is made to host port
hostport from the remote machine. Port forwardings can also be
specified in the configuration file. IPv6 addresses can be spec‐
ified with an alternative syntax:
[bind_address/]port/host/hostport or by enclosing the address in
square brackets. Only the superuser can forward privileged
ports. By default, the local port is bound in accordance with
the GatewayPorts setting. However, an explicit bind_address may
be used to bind the connection to a specific address. The
bind_address of “localhost” indicates that the listening port be
bound for local use only, while an empty address or ‘*’ indicates
that the port should be available from all interfaces.

Wednesday, November 3, 2010

ssh-copy-id copying ssh id (public key) to another host

From http://sysadminsjourney.com/content/2009/11/12/quicktip-make-life-easier-ssh-copy-id :

$ ssh-copy-id myhost
...enter password...

...and that's it

Handy, eh?

Sherlock Holmes on Knowledge

Sherlock Holmes closed his eyes and placed his elbows upon the arms of his chair, with his finger-tips together. “The ideal reasoner,” he remarked, “would, when he had once been shown a single fact in all its bearings, deduce from it not only all the chain of events which led up to it but also all the results which would follow from it. As Cuvier could correctly describe a whole animal by the contemplation of a single bone, so the observer who has thoroughly understood one link in a series of incidents should be able to accurately state all the other ones, both before and after. We have not yet grasped the results which the reason alone can attain to. Problems may be solved in the study which have baffled all those who have sought a solution by the aid of their senses. To carry the art, however, to its highest pitch, it is necessary that the reasoner should be able to utilise all the facts which have come to his knowledge; and this in itself implies, as you will readily see, a possession of all knowledge, which, even in these days of free education and encyclopaedias, is a somewhat rare accomplishment. It is not so impossible, however, that a man should possess all knowledge which is likely to be useful to him in his work, and this I have endeavoured in my case to do. If I remember rightly, you on one occasion, in the early days of our friendship, defined my limits in a very precise fashion.”
“Yes,” I answered, laughing. “It was a singular document. Philosophy, astronomy, and politics were marked at zero, I remember. Botany variable, geology profound as regards the mud-stains from any region within fifty miles of town, chemistry eccentric, anatomy unsystematic, sensational literature and crime records unique, violin-player, boxer, swordsman, lawyer, and self-poisoner by cocaine and tobacco. Those, I think, were the main points of my analysis.”
Holmes grinned at the last item. “Well,” he said, “I say now, as I said then, that a man should keep his little brain-attic stocked with all the furniture that he is likely to use, and the rest he can put away in the lumber-room of his library, where he can get it if he wants it. Now, for such a case as the one which has been submitted to us to-night, we need certainly to muster all our resources. Kindly hand me down the letter K of the American Encyclopaedia which stands upon the shelf beside you. Thank you. Now let us consider the situation and see what may be deduced from it.

Excerpt from 'The Five Orange Pips'... partial quote in Pro Git book piqued my interest. Will read the book @ some stage ... it's PD and available on Project Gutenberg

Amoocon?

http://www.amoocon.de/2010

Mobile / VoIP themes - and Git! :)

Git Quick Reference online - Scott Chacon

http://gitref.org/

By Scott Chacon - the same author as the Pro Git (Apress pub.) book

Looks very handy

Friday, October 29, 2010

Attention and Information

How simple was rural, pre-industrial life, really?
http://theaporetic.com/?p=228

Saturday, October 16, 2010

Wednesday, October 13, 2010

Sunday, October 10, 2010

Saturday, October 9, 2010

Super RARE video: BEATLES with PINK FLOYD !!! TAKE 20 & 21



Lolol - definitely *not* real - entertaining nonetheless :)

Super RARE video: BEATLES with PINK FLOYD !!! TAKE 20 & 21

rare beatles sessions#7



Peter Sellers as American Hippie Stoner in first sequence :)

BTW *Everyone* looks stoned when played back at half-real-speed... obviously done for (political?) effect (last sequence in particular)

Ringo Starr - John Lennon 70th Birthday Tribute

Yoko Ono Imagines John Lennon at 70

Monday, October 4, 2010

Monday, September 13, 2010

Reptile Bob?

http://bobparkerengineeredthechchquake.blogspot.com/

Batshit Crazy ..... or *is* it? ;-)

Ruby Quine Globe ... Quobe

http://mamememo.blogspot.com/2010/09/qlobe.html

"1. Copy one of the above programs as a.rb.

2. Run:

while true; do clear; ruby a.rb | tee b.rb; sleep 1; mv -f b.rb a.rb; done

JAWDROP"

Sunday, September 12, 2010

Ian Piumarta's S3 2008 talk on youTube

YouTube posting of Ian Piumarta's S3 2008 talk on simplicity and everything in 20k lines :)
http://video.google.com/videoplay?docid=5488338253021492539#
The link to the slides shown in the description is invalid; the slides can be got from
http://piumarta.com/papers/S3-2008-slides.pdf

Successful LISP

http://www.psg.com/~dlamkins/sl/contents.html

Saturday, September 11, 2010

Converting LyX Documents to Word

http://www.physics.utah.edu/gsac/42/thesis.php

Grab the Physics Thesis Template (zip file); read the ReadMeFirst.pdf contained therein.

tex4ht is the key :)

Export to HTML (NOT HTML (Word))

Open converted html document in Word

Save as a .doc file

Do special stuff if there are any graphics files linked in the document (must be saved into the document itself) - see the ReadMeFirst.pdf instructions.

Suggested alternative: http://www.zamzar.com/ to convert online (result emailed to you) - less secure of course - don't send your top-secret stuff thru this :)

Saturday, September 4, 2010

Khan Academy

http://www.khanacademy.org/

This is so kewl!

Thanks to Dave and Ravi for pointing this out to me :)

Thursday, September 2, 2010

Computer Programming Stupidity

http://www.rinkworks.com/stupid/cs_programming.shtml

A Sample:
"
Me: "What compiler do you use?"
Him: "Well, Qbasic is my favorite."
Me: "Nobody over the age of eight uses QBasic for serious purposes."
Him: "But they made windows with QBasic."
"

Some of these are pretty funny IMO :)

Homemade Conductive Play Dough (Doh?)

Mmmm.... squishy circuits :)
http://www.ohgizmo.com/2010/08/31/design-your-own-squishy-circuits-with-homemade-conductive-play-doh/

Tuesday, August 31, 2010

Like Mom, Like Dad...

http://www.zefrank.com/lmld/

Spooky, eh? :)

Many of these are posed, obviously, but the point is not lost.

Time is shorter than you think, and you have more in common with your parents than you think (for better or worse).

Tuesday, August 24, 2010

UFB is a piece of...

http://computerworld.co.nz/news.nsf/news/ufb-is-a-piece-of

Vodafone’s DNS settings

I'm having problems surfing the internet? How do I change the DNS settings?
I'm having problems surfing the internet? How do I change the DNS settings?
If you're having occasional browsing issues, you can specify 'domain name servers' on your computer to see if this fixes the problem.

Vodafone’s DNS settings are:
• Preferred/Primary DNS: 203.109.129.67
• Alternate/Secondary DNS: 203.109.129.68
How to change these settings if you're using broadband:
• Go to Control Panel > Network Connections and select your local network
• Click Properties, then select Internet Protocol (TCP/IP)
• Click Properties
• You will see 'Use the following DNS server addresses' and enter the desired DNS server(s) in the space(s) provided
• Click apply and then try browsing the internet again

Vodafone Broadband settings

What are the basic settings for my Vodafone broadband?


These settings are the same for all our Vodafone fixed line broadband products.

Login: username (your username for broadband is your Vodafone fixed line email address eg. username@vodafone.co.nz)
Password: your password (lower case)
PPP: PPP over ATM (RFC2364) VCMUX encapsulation
VPI - 0
VCI - 100
Every ADSL modem or router has a slightly different way of entering in these basic settings. Simply look at the instruction manual that was supplied with your ADSL modem or router for full details on how to enter these settings correctly.Some brands of router ask for the DNS settings. If required these are
Preferred DNS server: 203.109.129.67
Alternate DNS server: 203.109.129.68
If you're switching to Vodafone broadband from another provider, we've put together a handy guide of all the settings you need to change.

If you're a consumer customer download a copy here
If you're a business customer download a copy here

Thursday, August 19, 2010

Nice Things About the Web...

http://scripting.com/stories/2010/08/17/niceThingsAboutTheWeb.html

:)
Dave Winer's very often worth a read... this being no exception to that trend.

"4. If I want to write more than 140 characters on the web, I can damn well do it. (78 characters.) "

Zing! :)

Lies, Damned Lies and Statistics...

http://www.boingboing.net/2010/08/17/is-the-web-really-de.html

Rob Beschizza (BoingBoing) does the obvious thing and debunks the hype with facts.

Tufte (and Twain) would be proud :)

"Does 50MB of YouTube kitteh represent more meaningful growth than a 5MB Wired feature?"

If this is typical of the quality of Wired's content, I would venture a hearty 'Yes!' :)