Wave loader animation for website/application like Last.fm
Forked from Mattonit's Pen Wave loader animation.
A Pen by Captain Anonymous on CodePen.
Wave loader animation for website/application like Last.fm
Forked from Mattonit's Pen Wave loader animation.
A Pen by Captain Anonymous on CodePen.
| ### Install Oracle Java 8, this means you agree to their binary license!! | |
| cd ~ | |
| sudo add-apt-repository -y ppa:webupd8team/java | |
| sudo apt-get update | |
| echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections | |
| echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections | |
| sudo aptitude -y install oracle-java8-installer | |
| ### Download and Install ElasticSearch |
| First install brew if you don't have it and XCode if you don't have them already. Also get pip if you don't have it. | |
| Get the 10.9 GFortran from http://coudert.name/software/gfortran-4.8.2-Mavericks.dmg | |
| (http://gcc.gnu.org/wiki/GFortranBinaries) | |
| brew install readline | |
| brew install zeromq | |
| sudo pip install ipython pyzmq tornado pygments jinja2 | |
| #optional python -c 'from IPython.external import mathjax; mathjax.install_mathjax()' |
| import Image | |
| from __future__ import division | |
| import math | |
| import os | |
| """ | |
| This is a bit of Python code that uses PIL to slice very long images into segment sizes of your choice. | |
| For example take a 10,000px tall image, and slice it into 10 10,00px tall images. | |
| thanks to the great docs at http://www.packtpub.com/article/python-image-manipulation |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <style> | |
| .country { | |
| fill: #b8b8b8; | |
| stroke: #fff; | |
| stroke-width: .5px; | |
| stroke-linejoin: round; | |
| } |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>Bootstrap, from Twitter</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> | |
| <link href="../assets/css/bootstrap.css" rel="stylesheet"> | |
| <style type="text/css"> |
| <html> | |
| <head> | |
| <title>Checkbox</title> | |
| <style> | |
| input[type=checkbox] { | |
| display:none; | |
| } | |
| input[type=checkbox] + label | |
| { |
| # this way is best if you want to stay up to date | |
| # or submit patches to node or npm | |
| mkdir ~/local | |
| echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.profile | |
| # could also fork, and then clone your own fork instead of ry's | |
| git clone git://github.com/ry/node.git | |
| cd node |
| #Newbie programmer | |
| def factorial(x): | |
| if x == 0: | |
| return 1 | |
| else: | |
| return x * factorial(x - 1) | |
| print factorial(6) | |
| #First year programmer, studied Pascal |