Spring Boot your Hello World app will not "start"
add this to dependencies
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
package main | |
import ( | |
"fmt" | |
"labix.org/v2/mgo" | |
"labix.org/v2/mgo/bson" | |
"time" | |
) | |
type Person struct { |
Spring Boot your Hello World app will not "start"
add this to dependencies
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
import subprocess | |
class RouteEntity(object): | |
def __init__(self, data): | |
self.data = data | |
@property | |
def destination(self): | |
return self.data[0] |
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
bunzip2 phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
tar xf phantomjs-1.9.1-linux-x86_64.tar | |
mv phantomjs-1.9.1-linux-x86_64/ /opt/ | |
ln -s /opt/phantomjs-1.9.1-linux-x86_64/ /opt/phantomjs | |
ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/ | |
#check what you've just done | |
which phantomjs | |
phantomjs --version |
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
bunzip2 phantomjs-1.9.1-linux-x86_64.tar.bz2 | |
tar xf phantomjs-1.9.1-linux-x86_64.tar | |
mv phantomjs-1.9.1-linux-x86_64/ /opt/ | |
ln -s /opt/phantomjs-1.9.1-linux-x86_64/ /opt/phantomjs | |
ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/ | |
#check what you've just done | |
which phantomjs | |
phantomjs --version |
cd; | |
wget http://www.open.com.au/mikem/bcm2835/bcm2835-1.3.tar.gz; | |
tar xvfz bcm2835-1.3.tar.gz; | |
cd bcm2835-1.3; | |
./configure; | |
make; | |
sudo make install |