How I made TortoiseGit to work with Bitbucket

hi there
here's steps i did to make git, TortoiseGit to work with Bitbucket
it's personal note but i thought it'll be helpful to someone so put it on the blog :D
first of all create bitbucket account,create new repo and get the url of that repo (you can get it by clicking' i am starting from scratch' button or something), it's pretty basic as i learn more things i'll update this article

Getting set up-ed

1. install git and TortoiseGit
2. search and execute puttey key generater (Puttygen.exe)
3. click generate and move your mouse on blank area
4. enter 'key passphrese' and press 'save public key'
5. create new folder, right click it and select  TortoiseGit ->Settings and fill 'name' and 'email'
6. again right click the folder you just created and select 'Git create repository here ..'
7. new dialog will popup saying 'make it bare' just click ok
8. now add test.txt file to that folder and right click that folder and select 'Git Commit'
9. in the commit dialog fill in the details, following screen-shot may help


10. press ok in the process dialog click 'Push'
11. in the push dialog add remote url you can do it from manage button


after clicking manage button set remote repo



12. Press OK and provide password
13. see the message everything went well ? (yes) ? woohooo : google
14. have fun !
15. i wanted to reach at 15 steps hehe so have more fun

Now to commit changes

1. change the content of test.txt file
2. right click the file after you save changes and select 'Git Commit tool'
3. in it, first press 'stage changed' then press 'sign off' then press 'commit', dialog may close automatically
4. then go back to repo folder and right click, select 'Commit' and do same process that you did previously
5. have fun !

How to run your Slick2D game as applet

In order to run your jar file as applet you need to sign it first or you have to use policy but signing jar file is more practicle than using policy so you will need to learn how to sign your jar file with your own digital sign.

Download lwjgl applet package [Link] which comes with signed jars it also contains example :)

After buiding your game goto 'dist' folder ( i am using netbeans ) and copy your game's jar file and then open it with any archive program (winrar,7zip etc) and add your 'data' folder in it which contains all the images,sounds etc to game's jar file.then sign the jar with this method : Link

Now make one folder named applet and put game and all the libraries your game uses in that folder.Make game.html and put applet code in it and execute. If everything is went well then it will run your game in browser. :)

Sample HTML file : http://pastebin.com/HY2Mxh9n

Just a note, my game requires mysql connector and i needed to sign mysql jar and then add it to the 'al_jars' param of the html applet code then it worked fine.

Some Tips :

1) Check that your game is not using System.Exit() in any ways.

2) Move game's frame-rate code to init method because applet does not call the main() of main class.

3) You can enable java console to view exception stack from
control-panel -> java -> goto advanced tab in 'java console' select 'show console' and press ok.

4) If signing jar is not working then first make a file named java.policy.applet in your applet folder with following code
grant { permission java.security.AllPermission; };
after saving it open cmd and goto applet folder through cmd
and then run following command
appletviewer -J-Djava.security.policy=java.policy.applet your-applet.html

Have Fun :D !!

Bluetooth Connectivity In Puppy Linux With Blueman

Hello there !
This article explains you 'how to connect to the internet with your bluetooth and mobile' When you are using XFCE Window Manager.If you don't use XFCE window manager than it's better follow this article [Link] because it's easy and it's bluetooth files will take small space.

Note :
I am using Lucid Puppy 5.2.8 With XFCE Window Manager
I suggest you to create a save file at-least 512 MB because blueman+python .pet will take big space

Step 1 :
install following pet and Reboot
http://hotfile.com/dl/129175521/d604f21/blueman121.528.pet.html
http://hotfile.com/dl/117232563/c197fe0/python26.pet.html 

Step 2 : 
You may get error saying 'failed to apply network setting' simply press OK
select menu go to setting and select wm switcher, select jwm and press Restart X

Step 3 :

in 'jwm' right click select utility and open 'roxterm'
and copy and paste following code

#!/bin/sh
dbus-uuidgen --ensure &
dbus-daemon --system
modprobe bluetooth
modprobe l2cap
modprobe rfcomm
modprobe btusb
/usr/local/sbin/hciconfig hci0 up
/usr/local/sbin/hciconfig hci0 class 0x3e0100
mknod -m 666 /dev/rfcomm0 c 216 0
/usr/local/sbin/bluetoothd
mkdir /root/a
hcitool scan
blueman-applet


If you get error 'failed to apply network settings' than again press OK and you will find bluetooth manager icon as per picture shown below ..

click to enlarge
if you dont get that icon than close roxterm in which you pasted above code and open new roxterm and type lxtask and search for blueman-applet if you find it than right click and kill it than redo this step

Step 4 :
now click on that icon and select search and pair your mobile device
after pairing you can follow same steps as this article [Link] From STEP 3

P.S : I'm the same guy who posted this same article on puppy-linux forum  Link
Ref and Help Link : http://www.murga-linux.com/puppy/viewtopic.php?t=67113
Enjoy Puppy Linux With Internet :)