How to Enable Remote Screen Sharing and SSH with Mac OS and Ubuntu

November 22nd, 2011 ruggershawn No comments

These directions should help you enable Remote screen sharing and SSH remotely through Mac OS and Ubuntu.  This tutorial is for the following routers: D-Link, Belkin, LinkSys and Netgear.

_______________________________________________

Log into your router:

default credentials:
admin
password

D-LINK

Browse to:  http://192.168.0.1

Go to Advanced Tab > Virtual Server

BELKIN

Browse to:  http://192.168.2.1

Go to Firewall > Virtual Servers

LINKSYS

Browse to:  http://192.168.1.1

Go to Applications & Gaming > Port Range Forward

NETGEAR

Browse to: http://192.168.1.1

Go to Advanced > Port Forwarding /Port Triggering

Add a name, ‘Public Port’, IP Address(local ipaddress of computer) and ‘Private Port’. Click on checkmark and hit save.

Default for Mac and Linux:
VNC = 5900 port
SSH = 22 port

Enable Sharing on Mac:

System Preferences > Sharing > Remote Management > Computer Settings

Enable Sharing on Ubuntu Linux:

System > Preferences > Remote Desktop


Find your IPAddress by going to:

http://whatismyipaddress.com/

Download VNC:

http://www.realvnc.com/

Enter the following in VNC from a remote computer:

{IPAddress}:5900

Open up terminal and enter the following:

ssh {username}@{ipaddress}

Cheers! Enjoy!

Categories: Remote Tags:

Steve Jobs 1955-2011

October 6th, 2011 ruggershawn No comments

Categories: Uncategorized Tags:

2011 Google I/O Streaming Live – May 10th-11th

May 9th, 2011 ruggershawn No comments

Categories: Uncategorized Tags:

Debugging Tomcat using Eclipse ‘Remote Java Application’

August 1st, 2010 ruggershawn No comments

It’s often useful debugging tomcat using eclipse remote java application.

Here are instructions for doing so:

1)      Open %tomcat_home%\bin\tomcat6w.exe which will open a configuration UI.

2)      Select the Java tab and enter two Java Options at the bottom:

a.       –Xdebug
b.      -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8005
i.      8005 is the port – you can pick any available port

3)      Restart your tomcat service.

4)      From Eclipse, set up a Debug Configuration under Remote Java Application (as usual for debugging)

Categories: Eclipse Tags:

Eclipse Tips and Shortcuts

November 15th, 2009 ruggershawn 13 comments

Here is a list of the most commonly used shortcuts and tips our development team uses. I believe mastering these shortcuts help developers be more efficient in their software development.

I am always looking for more tips. If you have any tips that I am missing below please comment!!

Enjoy!!

Shortcuts

Most Common

Delete line ctrl + d
Go to Method ctrl + o
Format Code ctrl + shift + f
Last Edit ctrl + q
Line Number ctrl + l
Move line(s) alt + up/down
Open Resource ctrl + shift + r
Open Proj Prop alt + enter
Open Type ctrl + shift + t
Run Java App alt + shift + x, j
Run JUnit alt + shift + x, t
Shortcut List ctrl + shift + l

Refactoring Tips

Extract Method alt + shift + m
Extract Variable alt + shift + l
Rename alt + shift + r
Surround alt + shift + z

Templates

Go to Windows->Preferences->Java->Editor->Templates

To Activate templates press ctrl + space after command

For loop for
If statement if
Main Method main
System.out.println() sysout
System.err.println() syserr
While statement while

Custom Templates

  • Logger
    • private static final Logger logger = Logger.getLogger(${enclosing_type}.class);

Automatically Organize Imports on save

Eclipse is capable of adding imports to your classes automatically which is surely one of the most used features. The command can easily be accessed by using the appropriate keyboard shortcut. I recommend to let Eclipse automatically organize imports on save. Go to Preferences -> Java -> Editor -> Save Actions and activate Organize Imports

Categories: Eclipse Tags:

My First Blog Post

November 13th, 2009 ruggershawn 1 comment

Hey everyone! This is obviously my first blog post. Stay tuned, should have some interesting material very soon!

More details to follow!

Shawn

Categories: Uncategorized Tags: