sudo pip install selenium
sudo yum install gcc gcc-c++ make git openssl-devel freetype-devel fontconfig-devel
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2
tar -xjvf phantomjs-1.9.1-linux-x86_64.tar.bz2
sudo cp phantomjs-1.9.1-linux-x86_64/bin/phantomjs /usr/bin/
from selenium import webdriver
driver = webdriver.PhantomJS()
driver.set_window_size(1024, 768)
driver.get('http://www.amazon.com/')
driver.save_screenshot('screen.png')
print driver.page_source
driver.quit()
%systemroot%\system32\drivers\etc\
find . -name '*.pyc' -delete
PIE makes Internet Explorer 6-9 capable of rendering several of the most useful CSS3 decoration features.
CSS3 features:
border-radius
box-shadow
linear-gradient
http://css3pie.com/
IE7.js is a JavaScript library to make Microsoft Internet Explorer behave like a standards-compliant browser.
https://code.google.com/p/ie7-js/
http://ie7-js.googlecode.com/svn/test/index.html
Right click on layer in the layers panel and select duplicate layer. Select new document as destination.
New documet opens with only the selected layer.
From the main manu select Image then Trim then Based on transparent pixels and here we go.
dz42 Wiki & Knowledge Base