Archive

Archive for the ‘non-programming’ Category

How to SSH Tunneling in Windows and Linux

November 9th, 2009 sadegh No comments

If you ever wanted to ssh tunnel your traffic here is how to do that on Linux box or Windows box.

On Linux box then just enter the following line :

ssh -fND localhost:3443 ServerUName@Server

You gotta change ServerUName to Username and Server to the IP or the name of server you are logging into.

On Windows Box you need to download putty ( Download ) then Open it up

It doesn’t require any installation just double click on putty.exe after it opened up in the left menu select SSH in the “Preferred SSH protocol version” choose 2 and above it check the “Enable Compression”

Figure 1

Figure 1

Then click the plus sign beside SSH in left menu to expand it, then select “Tunnels” afterward in the right section in “Source port” enter for example 3443 and below the destination choose dynamic as in the below figure. ( Sorry in this figure I entered 9191 instead of 3443 but it doesnt matter you can enter whatever you want but you gotta change all the others 3443 as well if you change it)

Figure 2

Figure 2

Then hit “Add”, Now in forwarded lists you would see “D3443”.

Now scroll up the left menu and choose “Session” in the “Host Name” enter the IP Address or the host name and then click on “Open” button

Figure

Figure

Then it will ask your credential enter them.

Figure 4

Figure 4

So now in Firefox I go to Edit → Preferences → Advanced → Network → Settings → Choose Manual proxy configuration , Uncheck Use this proxy server for all protocols and clean HTTP proxy and its port Field and all the other fields then go to SOCKS Host and enter localhost into that field and in the port field enter 3443.

Figure 5

Figure 5

Then click on ok and close all the window ,

Now all the traffics in Firefox first go to your server and then from that server goes to outside world or to your Computer.

You can confirm that by going to ipchicken.com, You should see the IP Address of the server that you just set for tunneling not your own IP Address.

How to start your own country ?

October 24th, 2009 sadegh No comments

Have you ever thought or wanted to start your country ? Or at least wanted to know whether its possible or not ? Are there any other people who thought about it before or did they take action ?

If your answer to any of above question is Yes then read the rest ;)

I really wondered to see whether am I able to start my own country, suddenly one day I found “How to start your own country” BBC TV series. Actually its a comedy but its inspiring , it shows that not only others are thinking about it, but also they created a documentary comedy based on this idea !

Then I started googling about this thought, In the “How to start your own country” , Danny introduced a micronation called Sealand

Sealand

Sealand

Its far from what I thought to be my country. But its a country ! And there are other micronations

but I want something bigger than just a micronation.

Then I found this article that teaches you how to start your own country in just four easy steps.

The first step is “Make sure your are eligible”

and the fist item in this step is to have a defined territory.

Unfortunately my search for a territory failed, On one hand it costs a lot and on the other hand it must be somewhere that the current government accept it unless I’ve got enough army power to defend my country.

So we go to second item which says I should have enough permanent population. I think if I find enough population then I can establish my own army and then I can define my territory and defend it, so it must be the first Item.

I thought to start a web site that let people to register themselves to be citizens of my country , It seemed good thought until I find “Cyber Yugoslavia”.

Its a site that ask citizen of Yugoslavia to register and when their registered member reached 5 million they are gonna apply to the UN for member status and then they start to establish their physical real country. This site launched in 1999 and till now ( 2009 ) only 16768 person registered. For ten years 16768 means 1677 per year and 139 per month and 4 and half per day ( in their site they claim that they receive 600 application per day :) ).

For an army I need at least 5-10 thousand man and with my calculation It takes 6 years even if I become as successful as “Cyber Yugoslavia” !

Well I think I should investigate more and its not appropriate time for me to starting a country, Coz I dont have enough money and population.

Beside that I wanna establish a developed country not a micronation like Sealand.

Categories: fun, non-programming Tags:

The Best VNC Software

October 13th, 2009 sadegh 1 comment

I really like VNC, It helps me in my every day work. Most of the time I wanna share screen to see my Colleagues screen and help them out or vice versa.

There are different VNC software which you can use, for example, TightVNC , RealVNC and UltraVNC. So lets see which one is the best.

TightVNC

tightvnc

tightvnc

I didn’t use this one very much, because of the other ones ;) but it seems quite cool software beside its Open Source and free. But it has ~ like many other remote screen software, problem with multiple monitors.

RealVNC

RealVNC

RealVNC

I used this one for quite long time and I really enjoyed using it But you gotta purchase it.

It has also free version but free-version is featureless and has nothing compared to other free VNC software.

Like TightVNC it has problem with multiple monitors.

UltraVNC

UltaVNC

UltaVNC

Now I use this guy. I think its The best one. First of all its Open Source and free and the other one it doesn’t have any problem with multiple monitors.

UltvaVNC has cool Addons, you may like to check them out here.

One of them is called singleclick. Its awesome , you can create a single file and send it to your customer, this file is just 166k. When they click on it and run it you can connect to their computer remotely. Its better than Remote Assistance or any other solutions

VNC Software in other environments


PortableVNC ~ PSP

There is a application called portablevnc, Its vnc viewer for psp

PalmVNC ~ Palm

Its vnc viewer for Palm OS® platform.

SymVNC - Symbian

Its VNC viewer for Symbian 3rd Edition .

J2ME VNC ~ J2me

Its VNC viewer that uses j2me api. Theoretically it must run on every smart phones.

JaaduVNC ~ iPhone

Its VNC viewer for iphone

Running Homebrew Application

August 18th, 2009 sadegh No comments

If you got a psp with a CFW higher than 1.5 ( Mine  is 5.00 ),  You can not run Homebrew ( HomeMade) Application on it . If you want to run Homebrew application ( Apps like Bookr or psppdf or … ) you gotta downgrade it to CFW version 1.5.  Here is two way to achieve that :

1.You can use Time machine , here is instruction how to install it.

If you wanna try Time machine , You need a lot of stuff including : JigKick Battery ( Pandora’s Battery) . 1.50 EBOOT.PBP download, 3.40 EBOOT.PBP download, 360.PSAR download , Time machine itself download
Consider that Time machine currently just support :> Classic PSP: Offical 1.50, 3.40 OE. Slim PSP: Modified 1.50 (with 3.40 modules for Slim support), 3.60 M33 Dark_AleX a

I got a 5.00 M33-6 so time machine is not an option to me ;)

2.Using LEDA

In my idea best solution is  LEDA ( Legacy Software Loader )
You can download it easily from here its just about 72 KB ( think of time machine for a moment , time machine and all of the stuff it needs are about 52 MB ). Okay When download finished just extract it and Copy the “LEDA” folder to ms0:/PSP/GAME/ , alright now disconnect your psp from your computer and go to Game and Run LEDA , it will process something for a less than a minute and then you will see “finished” then it will automatically close. Congratulation its finished, just go and get some homebrew and copy them to your psp and enjoy them.

VirtualBox - Sharing

August 14th, 2009 sadegh 2 comments
VirtualBox

VirtualBox


VirtualBox OSE 2.1.4 comes along with Ubuntu jaunty jackalope.
Its a great virtualing solution but one part of it may bother you and that is Sharing.
Actually Sharing files & folders is not that much hard or annoying but sometimes it can be and it really bothered me.
I installed windows xp in virtual box easily and just wanted to share my folders with it. So under Devices menu I choosed Shared Folders and I added folder which I wanted to be shared but it did not work , after some googling I noticed that I should install Guest Addition ( its also an Item in Devices menu ) so I selected Install Guest Additions and It downloaded and asked me whether I want it to mount to my virtual machine and I just selected YUP.

Devices menu

Devices menu

But when I clicked on my cd drive on virtual machine it said that “windows cannot read from this disk the disk might be corrupted or it could be using a format that is not compatible with windows”
I googled more and more and it seemed that I am the only person on earth having this issue
in a thread in Ubuntu Forums one of the post contained the virtual box download link , I thought that I should get a new and clean version of virtual box and install it from scratch so I clicked on that link and suddenly instead of starting Kget firefox opened a page that contained a big forbidden message. Afterward I realized that because my ip address is from Iran and VirtualBox is a Sun product so they forbided me as an iranian to download their package , and more importantly I realized that windows was saying can not read the mounted disc because it was not actually a image of a disc but it was a html page that contained forbidden message coz when I click install guest addition it also try to download it from sun web site , instead of package it just download a forbidden web page.
Eventually I found a alternative link to download it and now it works great

ps : download Guest Addition 2.1.4 from here : http://www.dward.us/software/VBoxGuestAdditions_2.1.4.iso

Ubuntu ME edition

July 28th, 2009 sadegh No comments

I just bought a version of Ubuntu middle east edition
The first sign after installing , was the fact that you got a green color rather than decent brown color
Afterward , Beside the cursor you would see some Islamic terms , its really bothering and the worst part is that you cant change it , its a damn bug , the only workaround is to changing your visual effect to non.
I will write about it more later

——————————————————-
Okay Actually When I let Ubuntu to download its latest update everything works just great.

Dr. UFD is a Life Saver

June 10th, 2009 sadegh 8 comments

Yesterday was a nightmare for me coz I needed a memory storage device for highly needed information and suddenly my memory stick stopped working, I was shocked .

my Cell Phones memory is always full and they were quite big files ( about 6 gig ) and it wasn’t possible to upload them somewhere on net.

God thanks I knew something called Dr. UFD that once before helped me to surviving my Memory Stick , I googled and googled ( ah bing really sucks J ) and finally I found Dr. UFD

And this little tool easily Survived my Memory Stick in less than a minute ( my memory stick is Transcend JF V85 even Transcend own tools and Hp and others didn’t helped)

So I do recommend to having a copy of this cute tool almost everywhere with yourself

You can download it directly from here

Categories: non-programming Tags:

Brand new Windows 8 screenshots

May 25th, 2009 sadegh 2 comments

microsoft just release these new preview from Windows 8

This is from a designers whitepaper and shows the new user interface of Windows 8:
null
And because there have been the first security issues for Windows 7 allready, this next screenshot shows the internal firewall structure of Windows 8:
null
newer build :
null
enjoy :D

Categories: fun, non-programming Tags:

hey guys

May 21st, 2009 sadegh 1 comment

hey

this is my very post here

I’ll write about programming , security , music , management , ….

Stay tuned

Categories: non-programming Tags: