<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-387694198459979554</id><updated>2012-02-16T19:14:38.745+08:00</updated><category term='port forwarding'/><category term='du'/><category term='blocks'/><category term='Disk usage'/><category term='disk space'/><category term='cron jobs'/><category term='Dell XPS'/><category term='terminal'/><category term='SSH'/><category term='analysis'/><category term='shell access'/><title type='text'>Alexander's Blog</title><subtitle type='html'>For testing use only...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://godalexander.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://godalexander.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>godalexander</name><uri>http://www.blogger.com/profile/09691763845606791173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-387694198459979554.post-3764735825806601453</id><published>2009-05-31T14:42:00.001+08:00</published><updated>2009-06-05T21:48:09.088+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='shell access'/><category scheme='http://www.blogger.com/atom/ns#' term='SSH'/><category scheme='http://www.blogger.com/atom/ns#' term='port forwarding'/><category scheme='http://www.blogger.com/atom/ns#' term='terminal'/><title type='text'>The magic of SSH port forwarding</title><content type='html'>&lt;p&gt;The problem - your department’s network won’t let you ssh or connect directly to your work Mac, you can only ssh to one special computer, and then from there you can ssh to your Mac. But, you’d like to be able to use Apple file sharing or sftp directly to your work Mac.&lt;/p&gt; &lt;p&gt;Well, &lt;strong&gt;SSH Tunneling (Port Forwarding)&lt;/strong&gt;[sic] is great, clear, explanation of how to use SSH tunneling to directly connect to an ssh-enabled machine that doesn’t allow ssh connections from people offsite/off-campus, etc. It shows how, even when you can only access the work machine through the “gateway” machine (a situation I face here at UF), that you can setup an ssh tunnel through the gateway machine to access your work machine directly.&lt;/p&gt; &lt;p&gt;The best part about this? I can now use sftp (specifically fugu and its ability to edit external text files in TextWrangler) on my work quad core mac from home. I always knew this sort of thing was possible but … now at last I’ve figured out how to do it!&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Update&lt;/strong&gt; Oh, it gets so much better. Because in addition of using port 22 to forward ssh to your work machine, you can also forward port 548 (appleshare).&lt;/p&gt; &lt;p&gt;So, a variation on the tip from the site would be like so (where work is the Mac on your desk that has ssh and appleshare running (actually for this tip, your Mac only need be running file sharing, not ssh) and gateway is the one machine you’re allowed to ssh into from off-campus.&lt;/p&gt; &lt;p&gt;Code:&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;ssh  -l myuserid  -L 7778:work:548 gateway cat&lt;/em&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;Then minimize this terminal window, and then use the Finder to “Connect to Server” in the Go menu. Enter “localhost:7778? as the server address and boom, you should see the standard apple file sharing login window for your work machine. Enter your user name, password, and choose what you want to mount. Nice. (I use 7778 here, but you could use 7777. Obviously, if you use 7777 for forwarding port 22, you need to use a different port to forward 548).&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/387694198459979554-3764735825806601453?l=godalexander.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://godalexander.blogspot.com/feeds/3764735825806601453/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://godalexander.blogspot.com/2009/05/magic-of-ssh-port-forwarding.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default/3764735825806601453'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default/3764735825806601453'/><link rel='alternate' type='text/html' href='http://godalexander.blogspot.com/2009/05/magic-of-ssh-port-forwarding.html' title='The magic of SSH port forwarding'/><author><name>Mick Genie</name><uri>http://www.blogger.com/profile/05786751079572147523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-387694198459979554.post-6119457065809776946</id><published>2009-05-29T16:37:00.001+08:00</published><updated>2009-06-05T21:42:24.868+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='blocks'/><category scheme='http://www.blogger.com/atom/ns#' term='du'/><category scheme='http://www.blogger.com/atom/ns#' term='analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='Disk usage'/><category scheme='http://www.blogger.com/atom/ns#' term='cron jobs'/><category scheme='http://www.blogger.com/atom/ns#' term='disk space'/><title type='text'>Disk usage analysis</title><content type='html'>&lt;p class="xar-clearleft"&gt;Most of us use our hard disks like closets, stuffing in files and then forgetting about them. But no matter how big a disk you have, it’s going to run out of free space one day, and running out of disk space during a system update could hurt you badly. Keeping an eye on disk usage doesn’t take much time or effort. Here are some tips and tools.&lt;/p&gt; &lt;p&gt;Some distributions set up cron jobs that warn you when disk usage exceeds a certain percentage. But when your usage gets flagged as high, it’s deciding what goes and what stays that takes time. Finding the right file or folder to get rid of can be a chore if you have a huge disk.&lt;/p&gt; &lt;p&gt;The &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;&lt;code&gt;df&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; utility displays the disk space usage on all mounted filesystems. The &lt;em&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;code&gt;-T&lt;/code&gt;&lt;/span&gt;&lt;/em&gt; option prints the filesystem type as well. By default, &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;&lt;code&gt;df&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; measures the size in &lt;span style="color: rgb(0, 0, 153);"&gt;1K&lt;/span&gt; blocks, which could be a little difficult for a desktop user to decipher. Use the &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;&lt;code&gt;-h&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; option to get more understandable output:&lt;/p&gt; &lt;pre&gt;$ df -h -T&lt;br /&gt;Filesystem    Type    Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/hda6     ext3     20G  9.3G  9.1G  51% /&lt;br /&gt;/dev/hda7 reiserfs     13G  2.1G   11G  17% /mnt/suse&lt;br /&gt;/dev/sda1     vfat    241M  152M   90M  63% /media/usbdisk&lt;/pre&gt; &lt;p&gt;You can use the &lt;em&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;code&gt;du&lt;/code&gt;&lt;/span&gt;&lt;/em&gt; command to determine which files or directories need to be deleted — or at least trimmed. A simple &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;&lt;code&gt;du&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; will print usage for the present working directory and its subdirectories, along with the size of each directory.&lt;/p&gt; &lt;p&gt;The &lt;em&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;&lt;code&gt;-c&lt;/code&gt;&lt;/span&gt;&lt;/em&gt; option prints the grand total size of the directory at the end.&lt;/p&gt; &lt;p&gt;The &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;&lt;code&gt;-a&lt;/code&gt; &lt;/em&gt;&lt;/span&gt;option also displays the file names along with directories and can be of use when you want to see a list of files in a particular directory.&lt;/p&gt; &lt;p&gt;The &lt;span style="color: rgb(255, 0, 0);"&gt;&lt;em&gt;&lt;code&gt;-s&lt;/code&gt;&lt;/em&gt;&lt;/span&gt; option will display a summary, without showing all of the subdirectories.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/387694198459979554-6119457065809776946?l=godalexander.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://godalexander.blogspot.com/feeds/6119457065809776946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://godalexander.blogspot.com/2009/05/disk-usage-analysis.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default/6119457065809776946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default/6119457065809776946'/><link rel='alternate' type='text/html' href='http://godalexander.blogspot.com/2009/05/disk-usage-analysis.html' title='Disk usage analysis'/><author><name>Mick Genie</name><uri>http://www.blogger.com/profile/05786751079572147523</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-387694198459979554.post-711898796527327982</id><published>2009-05-27T13:02:00.002+08:00</published><updated>2009-06-01T12:52:39.196+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Dell XPS'/><title type='text'>DELL XPS</title><content type='html'>Q1.) Why you chose this product? Does the product offer good value?&lt;br /&gt;&lt;br /&gt;I chose the DELL XPS M1330 notebook 2.0 GHz, 4 GB RAM, 320GB hard disk and black color, because this product is cheaper than other people auction’s price. Other same products were dealt in $711, but what I choose only $699. &lt;br /&gt;Yes, this product is giving a good value. It’s cheaper than other same product and it’s not only cheaper it’s also can save up to $300 and no sales tax. The other benefits are if you buy upon promotion it also gives you $80 cash back thru live.com and 1 year full manufacturer warranty. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q2.) Do you simply accept as gospel truth all the good things a merchant says about their own product? Or, do you ask friends' opinions and look for independent product reviews before opening your wallet?&lt;br /&gt;&lt;br /&gt;No, no matter how the merchant said, I will consider first, because they can says anything depend on them. I don’t think so that, they will tell me the truth. What I will do is asking friends and tries to find the product’s detail via online. Friend can give good opinion and also can give you bad opinion. For example, you ask for 2 friends’ opinion, friend A told you that product is not good enough, and got weakness, but friend B said in the other way, they said that the product is good because he/she is using now, and list down the product’s benefits for you. At that time, it will make you blur. For me, what the important is compare the product’s specifications with other brand or same brand but other products. You will get benefits if you make a lot of comparison. If want to know about the seller’s fame, you can see over their feedback from the other buyer. They always rate to the product’s seller.&lt;br /&gt;In my own experience, I prefer don’t take so long time to think and do not impulse, because you will loss the chance to purchase the product and will miss out other good product. So, I will think before I buy a new product from eBay or other auction website.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q3.) Who is your reader and what is their problem?&lt;br /&gt;&lt;br /&gt;For the new century, many people are advocating and want to use the fashion things. For these reasons, DELL designed the new and powerful XPS M1330 high performance notebook. My reader is people who want to buy an innovative design and portability laptop. This laptop only has 1.9kg. So, it can easily bring to any place. The laptop not only light, it also has fashion modeling. &lt;br /&gt;In contrast to many DELL notebooks, the XPS M1330 scores points by an elegant form.  Also the tapered front edge looks beautiful. However, the design o f the hinges and the notebook’s back side are crucial for the overall appearance of the notebook. Regarding color, the XPS M1330 has a black finished trough made aluminum, roughened aluminum palm rest areas, and a black display with silver molding. The used materials and the slightly roughened surfaces contribute to the notebook’s comfortable and high-quality hap tics. The display cover is designed in the same way. To prevent the risk of object penetration between display and base unit, Dell provides a notebook bag for the XPS M1330 instead. &lt;br /&gt;&lt;br /&gt; &lt;br /&gt;Q4.)What does the product promise?&lt;br /&gt;&lt;br /&gt;The product promise that they will save up to $300 and no sales tax on this product and immediate shipping. $80 cash back thru live.com if the promotion is running. It also eligible for $17 EBAY bucks. The most important is they have 1 year full manufacturer warranty.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Q5.)How well does the product solve the problem? What does it do? How does it work?&lt;br /&gt;&lt;br /&gt;The product is very powerful. The price is cheaper than other product and it weight is light. The laptop has wide screen and high performance. It include Intel Core 2 Duo Processor T6400, 13” wide-screen WXGA LCD display panel with Integrated 2.0 MP Webcam, fingerprint reader, 4 GB DDR2 RAM, 667 MHz, Combo DVD player, 320 GB hard disk, DELL 1390 Wireless Card, Intel Integrated video card, Standard Lithium Ion battery, McAfee 15 months virus protection.&lt;br /&gt;This product is slim, light and very sexy modeling. It is a true portable machine that attracts a lot of attention.  The system is very fast and has a fingerprint reader. They come with great accessories such as remote control, headphones, slip case, Manual and CD holder. And don’t forget, it’s also has a discreet graphics card. 4 GB RAM can let you do anything work you want. 320 GB hard disk can save many projects. And Dell XPS M1330 use Genuine Windows Vista® Home Basic to run the system.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/387694198459979554-711898796527327982?l=godalexander.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://godalexander.blogspot.com/feeds/711898796527327982/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://godalexander.blogspot.com/2009/05/dell-xps-m1330-notebook.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default/711898796527327982'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/387694198459979554/posts/default/711898796527327982'/><link rel='alternate' type='text/html' href='http://godalexander.blogspot.com/2009/05/dell-xps-m1330-notebook.html' title='DELL XPS'/><author><name>godalexander</name><uri>http://www.blogger.com/profile/09691763845606791173</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry></feed>
