Certificate errors in Internet Explorer and Google Chrome

This was a weird one.  I’m surfing the web this evening and web pages are acting funny and I start getting certificate errors on a few websites.  Ok, this can happen from time to time when a website fails to renew their certificate and such.  But GMail.com?  And several other huge sites?  I’ve been using Google Chrome so I figure it’s just acting up.  I clear my history and open and close it…still getting errors.  I open Internet Explorer, same thing certificate errors on most all websites.  I clear it’s history and reset it back to defaults.  After a few Google searches someone in a forum mentions the date and time on your computer might be off.  Sure enough.  My date was set back 2 months.  Set the correctly and voila.  No more certificate errors.  Weird.  My Dell XPS 15Z laptop started having a line of dead pixels on the screen.  Dell promptly sent a replacement screen and a technician out the next day onsite to fix it.  They put in the wrong display and left something rattling around inside.  The very next day they had another technician replace the screen and fix the rattling which turned out to be the CMOS battery.  I guess they unplugged it during the repair and it changed the date on my laptop which caused the certificate errors.

Wallpaper – Worry Why Should I Care?

WorryWhyShouldICare

Alive in the age of worry
Smile in the age of worry
Go wild in the age of worry
And sing Worry, why should I care?

– John Mayer

  • Camera: NIKON D7000
  • Taken: 21 June, 2011
  • Aperture: ƒ/5.3
  • Focal length: 75mm
  • ISO: 250
  • Shutter speed: 1/1000s

Setting up VNCServer on Linux CentOS 6.2

CentOS does have a built in VNC server I found called Remote Desktop (not to be confused with Windows Remote Desktop).  I managed to get that turned on and working but the performance of it seemed slow.
I then tried RealVNC but had troubles getting it started at boot.   I found these instructions  and used them to form my set of instructions.

These instructions will help you install VNCServer (TigerVNC), open ports on the firewall and start VNCServer at boot.
A few things about VNCServer on Linux.  It doesn’t work quite the same as on Windows.  You get connected to a new instance of X Windows for each user.
If you log off the user it tends to kill the session and it won’t work again unless vncserver is restarted or you reboot.
This doesn’t connect you to the “console” session, the session that’s present at the keyboard and monitor.
I didn’t take time to figure out the best way to do that.

These instructions assume you know how to edit text files using vi.
If no here is a good cheat sheet: http://www.lagmonster.org/docs/vi.html

Install VNCServer as root: yum install vnc-server

Login and create vnc password: vncpasswd (logged in as vnc user not root)

Edit vnc server configuration: vi /etc/sysconfig/vncservers

Remove the # sign from the VNCSERVERS AND VNCSERVERARGS
Add a port for each user you need (2:username means port 2)
Remove -localhost or you won’t be able to connect to the server.
That is for encrypted connections through ssh.
So mine looks like:
VNCSERVERS=”2:myusername”
VNCSERVERARGS[2]=”-geometry 1280×768″

Start VNC Server manually /sbin/service vncserver start

Add VNC ports to firewall (iptables)

vi /etc/sysconfig/iptables
Add these under the :OUTPUT ACCEPT [0:0]
-A INPUT -m tcp -p tcp –dport 5900 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 5800 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 6000 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 5901 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 5801 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 6001 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 5902 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 5802 -j ACCEPT
-A INPUT -m tcp -p tcp –dport 6002 -j ACCEPT
(Note: you don’t have to put in all of these sets if you only are connecting one user.)
(Also if you only want to allow the connections from one interface and not all you can add  -i eth0 after the second tcp.
This would allow connections to only interface eth0)

Restart iptables: service iptables restart

Test connecting from another VNC client with

Set VNCServer to start at boot: /sbin/chkconfig vncserver on

To see if the vncserver is running: netstat -tulpan | grep vnc

Create Instagram like images in Photoshop

If you are like me and enjoy the filters that Instagram uses in it’s iOS and Android apps but would like to create the look in Photoshop you are in luck!  Daniel Box has created a set of Photoshop actions that mimic the filters found in Instagram.
I know there are lots of people who absolutely hate these types of effects, but I rather enjoy them.  :)

They can be found here on his blog.

This sample is the “Brannan” action.

  • Camera: NIKON D7000
  • Taken: 16 May, 2012
  • Aperture: ƒ/5.6
  • Focal length: 300mm
  • ISO: 250
  • Shutter speed: 1/1250s

Sky

Sky_Wallpaper

  • Camera: NIKON D7000
  • Taken: 4 May, 2012
  • Aperture: ƒ/5
  • Focal length: 58mm
  • ISO: 500
  • Shutter speed: 1/1250s