sudo apt-get install gnome-panel
gnome-desktop-item-edit ~/Desktop/ --create-new
Tuesday, November 11, 2014
Saturday, October 18, 2014
Install ChromeDriver and PhantomJS on Ubuntu
http://yizeng.me/2014/04/20/install-chromedriver-and-phantomjs-on-linux-mint/
Install ChromeDriver
- Install unzip
sudo apt-get install unzip
- Download latest version from official website and upzip it (here for instance, to
~/Downloads
)
wget -N http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip -P ~/Downloads unzip ~/Downloads/chromedriver_linux64.zip -d ~/Downloads
- Make it executable and move to
/usr/local/share
chmod +x ~/Downloads/chromedriver sudo mv -f ~/Downloads/chromedriver /usr/local/share/chromedriver
- Create symbolic links
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver
Install PhantomJS
- Download latest version from official website and extract it (here for instance, to
~/Downloads
)
wget -N https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -P ~/Downloads tar xjf ~/Downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 -C ~/Downloads
- Move the folder to
/usr/local/share
sudo mv -f ~/Downloads/phantomjs-1.9.7-linux-x86_64 /usr/local/share/phantomjs-1.9.7-linux-x86_64
- Create symbolic links
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/bin/phantomjs
Thursday, October 2, 2014
Install SCID vs PC on Ubuntu
sudo apt-get install auto-apt
sudo auto-apt update-local
sudo auto-apt update
sudo auto-apt updatedb
download and install 'Scid vs PC'
wget http://sourceforge.net/projects/scidvspc/files/latest/download
tar -xzf scid_vs_pc-4.12.tgz
cd scid_vs_pc-4.12
sudo auto-apt run ./configure
sudo auto-apt run make
sudo auto-apt run make install
start the program type 'scid'
sudo auto-apt update-local
sudo auto-apt update
sudo auto-apt updatedb
download and install 'Scid vs PC'
wget http://sourceforge.net/projects/scidvspc/files/latest/download
tar -xzf scid_vs_pc-4.12.tgz
cd scid_vs_pc-4.12
sudo auto-apt run ./configure
sudo auto-apt run make
sudo auto-apt run make install
start the program type 'scid'
Tuesday, March 25, 2014
Remove attribute from html using javascript, webdriver, python
EXAMPLE:
<tag id="id" name="name" class="class" readonly="readonly">EXAMPLE</tag>
self.find_elem_by_id("id").get_attribute("innerHTML") => EXAMPLE
self.find_elem_by_id("id").get_attribute("outerHTML") => <tag id="id" name="name" class="class" readonly="readonly">EXAMPLE</tag>
self.driver.execute_script('document.getElementById("id").removeAttribute("readonly")') => <tag id="id" name="name" class="class">EXAMPLE</tag>
<tag id="id" name="name" class="class" readonly="readonly">EXAMPLE</tag>
self.find_elem_by_id("id").get_attribute("innerHTML") => EXAMPLE
self.find_elem_by_id("id").get_attribute("outerHTML") => <tag id="id" name="name" class="class" readonly="readonly">EXAMPLE</tag>
self.driver.execute_script('document.getElementById("id").removeAttribute("readonly")') => <tag id="id" name="name" class="class">EXAMPLE</tag>
Wednesday, March 12, 2014
Install PhantomJS
http://phantomjs.org/download -> phantomjs-1.9.7-linux-x86_64.tar.bz2
cd /usr/local/share/
sudo tar jxvf phantomjs-1.9.7-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/ /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
cd /usr/local/share/
sudo tar jxvf phantomjs-1.9.7-linux-x86_64.tar.bz2
sudo ln -s /usr/local/share/phantomjs-1.9.7-linux-x86_64/ /usr/local/share/phantomjs
sudo ln -s /usr/local/share/phantomjs/bin/phantomjs /usr/local/bin/phantomjs
Sunday, February 9, 2014
Cucumber github location
https://github.com/cucumber/cucumber/wiki/Given-When-Then
Wednesday, February 5, 2014
Remote desktop from Ubuntu to Windows using command line
sudo apt-get install rdesktop
rdesktop -g 1280x900 1.1.1.1
rdesktop -g 1280x900 1.1.1.1
Sunday, February 2, 2014
install rar on Ubuntu 13.10
https://apps.ubuntu.com/cat/applications/saucy/rar/
Friday, January 31, 2014
Ubuntu install gnome commander and pinta from command line
gnome sudo apt-get install gnome-commander
pinta sudo apt-get install pinta -> Same as Paint from windows
pinta sudo apt-get install pinta -> Same as Paint from windows
Install chrome from comand line on Ubuntu
Download latest version https://www.google.com/intl/en/chrome/browser/
sudo dpkg -i [chrome.deb]
sudo apt-get -f install
sudo dpkg -i [chrome.deb]
sudo apt-get -f install
Virtual box download the latest VBoxGuestAddition for high resolution
http://download.virtualbox.org/virtualbox/
skype for ubuntu 11.04 <-> 13.10
Skype For Ubuntu 13.10
sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ saucy partner' >> /etc/apt/sources.list.d/canonical_partner.list"
Skype For Ubuntu 13.04
sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ raring partner' >> /etc/apt/sources.list.d/canonical_partner.list"
Skype For Ubuntu 12.10
sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ quantal partner' >> /etc/apt/sources.list.d/canonical_partner.list"
Skype For Ubuntu 12.04
sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ precise partner' >> /etc/apt/sources.list.d/canonical_partner.list"
Skype for Ubuntu 11.10
sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ oneiric partner' >> /etc/apt/sources.list.d/canonical_partner.list"
Skype for Ubuntu 11.04
sudo sh -c "echo 'deb http://archive.canonical.com/ubuntu/ natty partner' >> /etc/apt/sources.list.d/canonical_partner.list"
sudo apt-get update
sudo apt-get install skype
Subscribe to:
Posts (Atom)