Oracle Secure Global Desktop

I had this error “Error – SGD Client” Failed to install the SGD Client; I’m using Ubuntu
I didn’t have that problem before; I already had 32 bit dependencies installed

Solution:
sudo apt-get install libstdc++6:i386 libxpm4:i386 libxinerama1:i386 libxcursor1:i386 libxkbfile1:i386 libxt6:i386 libxm4:i386 libxrandr2:i386

It should work now 🙂

Enable Java in Firefox Ubuntu

I’ve been trying to get Java applet working to be able to remotely access my UCL desktop through Oracle Secure Global Desktop Web Server

Googling around seems to get me to the answer that it is not possible to get it working with Chrome as it has changed its policy. However, it’s possible with Firefox

Instructions on Java website aren’t helping at all

Here’s how I made it to work:
http://askubuntu.com/questions/354361/how-to-install-the-java-plugin-for-firefox

sudo apt-get install icedtea-plugin

then go to about:addons

You should have IcedTea-Web Plugin (using IcedTea-Web 1.5 (1.5-1ubuntu1)) on the plugin list and it’s not enable

Change it to Always Active and restart browser
It should work fine now 🙂

Install from tar.gz file

http://askubuntu.com/questions/25961/how-do-i-install-a-tar-gz-or-tar-bz2-file

How you compile a program from a source

open a console
use the command cd to navigate to the correct folder. If there is a README file with installation instructions, use that instead.
extract the files with one of the commands

If it’s tar.gz use tar xvzf PACKAGENAME.tar.gz
if it’s a tar.bz2 use tar xvjf PACKAGENAME.tar.bz2

./configure

make

sudo make install

to run it, usually call it by it’s name

Github repo on 2 computers

Github repo on 2 computers
http://stackoverflow.com/questions/6012073/how-do-i-code-against-one-github-repo-on-2-computers

adila@adila-VPCZ13V9E:~$ cd Desktop/adila/
adila@adila-VPCZ13V9E:~/Desktop/adila$ git clone https://github.com/myName/myFolder
Cloning into 'multichannel-RPL'...
remote: Counting objects: 5278, done.
remote: Total 5278 (delta 0), reused 0 (delta 0), pack-reused 5277
Receiving objects: 100% (5278/5278), 19.14 MiB | 300.00 KiB/s, done.
Resolving deltas: 100% (2753/2753), done.
Checking connectivity... done.
adila@adila-VPCZ13V9E:~/Desktop/adila$ git init
Initialised empty Git repository in /home/adila/Desktop/adila/.git/
adila@adila-VPCZ13V9E:~/Desktop/adila$ git push
fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using

git remote add

and then push using the remote name

git push

adila@adila-VPCZ13V9E:~/Desktop/adila$ git status
On branch master

Initial commit

Untracked files:
(use "git add ..." to include in what will be committed)

multichannel-RPL/

nothing added to commit but untracked files present (use "git add" to track)
adila@adila-VPCZ13V9E:~/Desktop/adila$ cd multichannel-RPL/
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git init
Reinitialised existing Git repository in /home/adila/Desktop/adila/multichannel-RPL/.git/
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ ls
contiki-2.7 Readme.txt senseapp_2015 setCh xSetCh
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

nothing to commit, working directory clean
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git status
On branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified: senseapp_2015/senseapp_2015.aux
modified: senseapp_2015/senseapp_2015.log
modified: senseapp_2015/senseapp_2015.pdf
modified: senseapp_2015/senseapp_2015.synctex.gz

no changes added to commit (use "git add" and/or "git commit -a")
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git commit -a

*** Please tell me who you are.

Run

git config --global user.email "you@example.com"
git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'adila@adila-VPCZ13V9E.(none)')
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git config --global user.email "adilaEmail@gmail.com"
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git config --global user.name "myName"
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git statusOn branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
(use "git add ..." to update what will be committed)
(use "git checkout -- ..." to discard changes in working directory)

modified: senseapp_2015/senseapp_2015.aux
modified: senseapp_2015/senseapp_2015.log
modified: senseapp_2015/senseapp_2015.pdf
modified: senseapp_2015/senseapp_2015.synctex.gz

no changes added to commit (use "git add" and/or "git commit -a")
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git commit -a
[master 3aceb6b] updated paper
4 files changed, 22 insertions(+), 20 deletions(-)
rewrite senseapp_2015/senseapp_2015.synctex.gz (97%)
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git push origin master
Username for 'https://github.com': myName
Password for 'https://myName@github.com':
Counting objects: 14, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (7/7), 73.31 KiB | 0 bytes/s, done.
Total 7 (delta 5), reused 0 (delta 0)
To https://github.com/myName/multichannel-RPL
7520e8c..3aceb6b master -> master
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$ git push origin master
Username for 'https://github.com': myName
Password for 'https://myName@github.com':
Counting objects: 16, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 69.12 KiB | 0 bytes/s, done.
Total 8 (delta 6), reused 0 (delta 0)
To https://github.com/myName/myFolder
3aceb6b..a689d97 master -> master
adila@adila-VPCZ13V9E:~/Desktop/adila/multichannel-RPL$

Github

Extract from:
http://readwrite.com/2013/09/30/understanding-github-a-journey-for-beginners-part-1
http://readwrite.com/2013/10/02/github-for-beginners-part-2
https://help.github.com/articles/set-up-git/

after signing up,

git config --global user.name "Your Name Here"
git config --global user.email "your_email@youremail.com"

Authenticating with GitHub from Git
https://help.github.com/articles/caching-your-github-password-in-git/

Creating Your Local Repository
mkdir ~/MyProject
cd ~/MyProject

Create file
touch Readme.txt

git status
git add Readme.txt
git commit -m “Add Readme.txt”

Connect Your Local Repository To Your GitHub Repository
git remote add origin https://github.com/username/myproject.git
git remote -v
git push origin master

if have problem with the last step,
git pull origin master
git push

There are quite a few GUI available: http://git-scm.com/downloads/guis
I’m using giggle
sudo apt-get install giggle

and to use it, go into the git folder,
cd ~/MyProject
and giggle