Viewing the graph
match (n:MyNode)-[r]->(m)
return n, r, m
Finding paths between specific nodes:*
Viewing the graph
match (n:MyNode)-[r]->(m)
return n, r, m
Finding paths between specific nodes:*
Download Raspbian from the official site
Flash it to the USB drive following the procedure detailed here
Fomat an SD Card 2/4 GB as FAT32
, label "boot"
, flag "lba"
. Generate a UUID. You can use GParted for this task.
Get the UUID of the USB drive and the SD Card partitions using sudo blkid
.
mogrify -fuzz 15% -trim +repage *.jpg |
<link rel="icon" href="/favicon.ico" sizes="16x16 32x32 48x48 64x64" type="image/vnd.microsoft.icon"> |
function FBshares(url) { | |
var jsondata = UrlFetchApp.fetch("http://graph.facebook.com/"+url); | |
var object = Utilities.jsonParse(jsondata.getContentText()); | |
return object.shares; | |
} | |
function Tweets(url) { | |
var jsondata = UrlFetchApp.fetch("http://urls.api.twitter.com/1/urls/count.json?url="+url); | |
var object = Utilities.jsonParse(jsondata.getContentText()); | |
return object.count; |
name: My Web Cluster | |
location: aws-ec2:us-east-1 | |
services: | |
- serviceType: brooklyn.entity.webapp.ControlledDynamicWebAppCluster | |
name: My Web | |
brooklyn.config: | |
wars.root: http://search.maven.org/remotecontent?filepath=io/brooklyn/example/brooklyn-example-hello-world-sql-webapp/0.6.0-M2/brooklyn-example-hello-world-sql-webapp-0.6.0-M2.war | |
java.sysprops: | |
brooklyn.example.db.url: $brooklyn:formatString("jdbc:%s%s?user=%s\\&password=%s", |
import math | |
from dbfpy import dbf | |
import matplotlib.pyplot as plt | |
#create a plot | |
fig = plt.figure(1, figsize = [10,10], dpi=90) | |
axScatter = plt.subplot(111) | |
def candMedian(dataPoints): | |
#Calculate the first candidate median as the geometric mean |
wget --no-check-certificate https://github.com/mojombo/jekyll/archive/v0.11.2.tar.gz > jekyll-0.11.2.tar.gz | |
tar -zxf jekyll-0.11.2.tar.gz | |
tar -zxf v0.11.2.tar.gz | |
cd jekyll-0.11.2 | |
gem build jekyll.gemspec | |
sudo gem install jekyll-0.11.2.gem | |
Installed in: | |
/Library/Ruby/Gems/2.0.0/gems/jekyll-0.11.2/bin/jekyll |
source /usr/local/git/contrib/completion/git-completion.bash | |
source /usr/local/git/contrib/completion/git-prompt.sh | |
export GIT_PS1_SHOWDIRTYSTATE=True | |
export PATH=/opt/local/bin:/opt/local/sbin:$PATH | |
export PATH=${PATH}:$HOME/gsutil | |
MAGENTA="\[\033[0;35m\]" | |
YELLOW="\[\033[0;33m\]" |