For anyone that frequently accesses remote file systems or actively develops on remote servers, you may find this brief tutorial helpful. SSHFS allows for mounting remote file systems over SSH. For example you have a server, let’s call it foobar.com. On this server you have your web root directory you want to access directly (/var/www/htdocs). From your local machine you could simply go to /media/foobar.com and view the files contained on foosprinkle.com:/var/www/htdocs. Here’s how…
Step 1:
$ sudo apt-get install sshfs
Note: It may fetch some dependencies. This is okay.
Step 2:
Now go ahead and create a local directory for your mounted directory. You’ll want permissions for that fresh directory so let’s do that as well.
You are going to need to add your account to fuse group. Not a problem, it’s simple.
$ sudo adduser yourusername fuse
Note: If you are running Ubuntu (perhaps others do this as well), you will need to logout and log back in. For added security this is required in order for your system to recognize you in your newly added group.
Carnegie Mellon Professor Randy Pausch, who is dying from pancreatic cancer, gave his last lecture at the university September 18th, 2007, before a packed McConomy Auditorium. In his moving talk, “Really Achieving Your Childhood Dreams,” Pausch talked about his lessons learned and gave advice to students on how to achieve their own career and personal goals.
At work I spend 8 hours a day invested in one facet of web development or another. I have been noticing that I spend less and less time working directly from my Windows box. PuTTy is my BFF! While working with Java based web services it’s not very practical, or good practice to be, developing on a Windows machine when ultimately it will be shipped over to Linux for production. What is the point of developing through Windows when the target is *nix? The sole reason I haven’t made the change prior is because much of the licensed software is for Windoze. I’ve been giving it some thought and since any IDE or DBMS application that I need have a greater, or at very least an acceptable, *nix counterpart. So today I popped in the Ubuntu install disk, kissed Windows goodbye, and am now looking forward to a more streamlined development approach. Just in case I feel the need to play with DLL’s I have a Windows box with VNC that I can remote into
Obviously I am for Obama, I’ll let you decide what you think of John McCain…
The work we face and our time is great
In a time of war and the terrible sacrifices it entails
The premise of better future is not always clear
There’s going to be other wars. I’m sorry to tell you there going to be other wars.
We’re going to have a lot of combat booms…
And my friends its going to be tough and were going to have a lot to do
That old beach boys song bomb Iran
Bomb bomb bomb bomb bomb Iran
Bomb bomb bomb bomb bomb Iran
I’m still convinced that withdraw means chaos and if you think that things are bad know and if we withdraw now you aint seen nothing yet
Ba-ba-baby…
You aint seen nothing yet
Was the war a good idea and worth blood shed?
It was a good idea.
President Bush has talked about our staying in Iraq for 50 years
Maybe a hundred…
Say what?
Maybe a hundred…
That’s fine with me…
A hundred years?
I don’t think American people are concerned if were there for a hundred years a thousand years or ten thousand years.
Before the flames start flooding in, let me first say, I am not suggesting that CakePHP is superior or even comparable to Ruby on Rails (RoR). I doubt any creditable web developer would say otherwise. My company is a LAMP shop (M in our case is MSSQL, ughh) so a little more than six months ago I managed to convince the powers that be to switch over to an MVC framework (CakePHP).
The development team and business immediately noticed the reduction in development time. Like most companies though the requirements of many applications and preexisting code/databases fails to allow using the framework to its full potential.
This week I sat down and read Agile Web Development With Rails by Dave Thomas, David Hansson, Leon Breedt, Mike Clark, Thomas Fuchs, and Andrea Schwarz. Even though the book focuses on development with the Rails framework it offers a wealth information and programming best practices that can be carried over to PHP as well. I must say the simplicity of implementation has given me a strong desire to give RoR a try on my next freelance project. In my current Cake developmet the practices outlined in this book will most certainly come into play.
Even diehard PHP programmers that love their Cake should read this book!
In mid-November Barack Obama spoke at Google in Mountain View, California. At the conclusion of his speech he responded to a two part Q&A session. He was asked by co-founder Eric Schmidt, “What is the most efficient way to sort a million 32-bit integers?” Obama responded “the bubble sort would be the wrong way to go.”
I ask everyone, Dare to Hope. This has blogged thousands of times and received millions of views… spread the word (e-mail, send to your friends and colleagues). It’s no secret that our nation is hurting and we need true inspiration. So please Dare to Hope!
It was a creed written into the founding documents that declared the destiny of a nation.
Yes we can.
It was whispered by slaves and abolitionists as they blazed a trail toward freedom. Yes we can. Yes we can.
It was sung by immigrants as they struck out from distant shores
and pioneers who pushed westward against an unforgiving wilderness. Yes we can. Yes we can.
It was the call of workers who organized;
women who reached for the ballots;
a President who chose the moon as our new frontier;
and a King who took us to the mountain-top and pointed the way to the Promised Land. Yes we can to justice and equality. (yes we can, yes we can, yes we can, yes we can…) Yes we can to opportunity and prosperity. Yes we can to opportunity and prosperity. Yes we can heal this nation. Yes we can repair this world. Yes we can. Si Se Puede (yes we can, yes we can, yes we can, yes we can…)
We know the battle ahead will be long,
but always remember that no matter what obstacles stand in our way,
nothing can stand in the way of the power of millions of voices calling for change.
We want change!
(We want change! We want change! We want change…)
We have been told we cannot do this by a chorus of cynics who will only grow louder and more dissonant.
We’ve been asked to pause for a reality check.
We’ve been warned against offering the people of this nation false hope.
But in the unlikely story that is America, there has never been anything false about hope. We want change!
(We want change! I want change! We want change! I want change…)
The hopes of the little girl who goes to a crumbling school in Dillon are the same as the dreams of the boy who learns on the streets of LA;
we will remember that there is something happening in America;
that we are not as divided as our politics suggests;
that we are one people;
we are one nation;
and together, we will begin the next great chapter in America’s story with three words that will ring from coast to coast;
from sea to shining sea - Yes. We. Can. (yes we can, yes we can, yes we can, yes we can, yes we can, yes we can, yes we can, yes we can…)
This holiday extravaganza known to the masses as Festivus is celebrated around the world. There will be millions upon several billion homes containing tinsel(less) poles, grievous airing, and of course the feats of strength.I’ve got a lot of problems with you people …
Over the past week I have been migrating my sites to their new home on DreamHost. Kind of strange seeing xBuzz go third party after 10 years hosted on various Linux boxes I have set up. From 24/7 dedicated dial up to cable modem to partial T1… it’s been an adventure of sorts. Linux has came along way since I ran my first installation… Either way, since I’ve moved to Virginia Beach maintaining a server in Richmond has became too much and drives are far to long to perform maintenance outside the scope of SSH. I still have a few domains I need to transfer that are substantially larger in scope so I’ll be working on them over the next couple weekends.
In case you are interested DreamHost offers an excellent hosting plan… Here’s what made me feel more comfortable with the switch:
Over the past three months my team and I have been hard at work developing our newest website. Health Career Web (http://www.healthcareerweb.com) in the past was simply a skin of the Employment Guide website. The health care industry over the past few years has exploded and the need for nurses and doctors has increased exponentially. We decided that it was time to capitalize on this exciting growth and give the health care community something valuable that until now was unavailable. Health Career Web features the largest niche job board across the United States along with what looks to be the fastest growing social networking site related to the industry. This site has been loaded with a free video center, event listings, medical forums, and much more… In the early hours of Wednesday morning the site was officially released to the public. In less than 24 hours after its initial debut we have had over one hundred new members sign up and a very nice increase in site traffic. Take a look and let me know what you think (http://www.healthcareerweb.com)