Posts

Showing posts from 2009

Shortcut URLs in MOSS 2007

Link to Heather Solomon's MOSS URL matrix I am a newbie in SharePoint. As what I've discovered so fat the product may be good for intranet use for medium and large organizations with out of box features, to facilitate cooperation between employees. The internet site developers, however, will immediately facing branding issue which requires master pages, page layouts, CSS, images, almost all Web Parts to be rewritten to fit "in-house" styles. C# programming is essential. Not to mention the development have to be carried on windows server family. The speed of virtual machine, compilation, deployment of features, testing loop will drive you mad. It's not impossible to re-branding, just even a medium organization won't have so much resources to feed the black hole. When I'm working on SharePoint, I couldn't stop thinking about alternative approaches... yes, Drupal, django, pure ASP.NET, even the good old LAMP. What if I could work on things like the op

Force to delete SharePoint items

“This item cannot be deleted because it is still referenced by other pages” When you see this message when you are trying to delete MasterPage or Page Layout, use SharePoint Designer to create a new folder and move the locked item to it and then delete the folder in whole. It's the simplest work around to "unlock" the bizarre dead lock.

Use reverse ssh tunnel to access remote machines behind NAT

Image
If you have ever connected to your cooperate network using VPN you may understand the complexity of the tools and configurations IT engineers must deal with. In Windows world, it's true. To do anything that looks complicated there's always some software available, to make simple tasks over complicated. Say if you want to access your home Linux machine from your office. Both are behind firewall and use NAT. You don't have permission to change firewall settings. We see this a very common scenario in today's world. We don't need VPN or any software to connect to home machine (A). What we need is a machine (B) at middle and through B we can connect to A with ssh connection from the machine (C) you are working on. This is the easiest solution I found so far. No need for VPN, expensive software, configuration, ... all you need is ssh. ssh has a very useful parameter -R. This tells ssh server at remote (B) will forward the given port number to itself (A). For more deta

My Ubuntu 9.04 desktop

Image
It looks nice now. Linux is quite robust. I didn't re-install for more than a year now. It's unbelievable when I was running Windows. Even with the promising Windows 7 I don't believe a heavy user like me don't need to re-install for over a year. The music player is Audacious, nice to render non-unicode characters. Also when use Dust theme and 50% gray background, turn on minimal visual effects it rocks.

Vista supports more devices?

No. Today I tried some of my devices I don't expect to work under Ubuntu: an unknown usb bluetooth dongle and a Logitech webcam. Since I don't use them for long time the last memory with them were in Vista which asks for drivers of these devices. Some could be found online, some not. I can't remember precisely but Ubuntu definitely work out of box. I just installed additional software to provide GUI to use the devices - apt-get install cheese for webcam image/video recording, bluetooth file transfer under Gnome to transfer files to bluetooth devices. I must say that Ubuntu/Linux may support more hardware than Vista.

Linux, Mac, and PC

Image

URL Validator

URL Validator using .Net Download source code

Upgrade packages that have been kept back

After upgrading to Ubuntu 9.04 I found something not upgraded when I work with apt-get commands.

Flash on Firefox (For Ubuntu 9.04 AMD64)

swfdec/gnash does not work well with BBC iplayer. So I decided to remove them. Also the default flash comes with the software repository doesn't work. I removed them all. sudo apt-get remove swfdec-mozilla sudo apt-get remove mozilla-plugin-gnash sudo apt-get remove flashplugin-nonfree Then reinstalled the Flash plugin nonfree with official flash plugin (amd64) unzip and save the file into ~/.mozilla/plugins (create this folder if doesn't exist).

Ubuntu upgrade

Ubuntu upgrade from 8.10 to 9.04 was very successful and straightforward. Everything started normally except VMWare. When I run VMWare on console it returns: $ vmware Logging to /tmp/vmware-ubuntu/setup-15021.log modinfo: could not find module vmmon modinfo: could not find module vmnet modinfo: could not find module vmblock modinfo: could not find module vmci modinfo: could not find module vsock modinfo: could not find module vmmon modinfo: could not find module vmnet modinfo: could not find module vmblock modinfo: could not find module vmci modinfo: could not find module vsock Segmentation fault I thought it was the same problem as before when the kernel is updated. So I ran the setup program again with root account. The bundle program uninstalled and reinstalled VMWare for me. However the result was the same, it didn't solve the problem. After research on Internet I found the following solution that worked for me: sudo mv /usr/lib/vmware/modules/binary /usr/lib/vmware/modules/bin

A web based tool to test GFW of China

Well, this is a quite useful tool for web masters like me, especially when the major audiences are from China.