Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
<?xml version="1.0" encoding="UTF-8"?> | |
<gexf version="1.2" xmlns="http://www.gexf.net/1.2draft" xmlns:viz="http:///www.gexf.net/1.1draft/viz"> | |
<meta> | |
<title>hsa_circ_0005568.gexf</title> | |
<authors>NetworkX 3.2.1</authors> | |
</meta> | |
<graph defaultedgetype="directed"> | |
<attributes class="node"> | |
<attribute id="type" title="type" type="string"/> | |
<attribute id="degree" title="degree" type="integer"/> |
# If you are using Spark 1.4, then launch SparkR with the command | |
# | |
# ./bin/sparkR --packages com.databricks:spark-csv_2.10:1.0.3 | |
# as the `sparkPackages=` flag was only added in Spark 1.4.1. | |
# # This will work in Spark 1.4.1. | |
sc <- sparkR.init(spark_link, sparkPackages = "com.databricks:spark-csv_2.10:1.0.3") | |
sqlContext <- sparkRSQL.init(sc) | |
flights <- read.df(sqlContext, "s3n://sparkr-data/nycflights13.csv","com.databricks.spark.csv", header="true") |
#Install scipy: http://glowingpython.blogspot.it/2012/05/analyzing-your-gmail-with-matplotlib.html | |
from imaplib import IMAP4_SSL | |
from datetime import date,timedelta,datetime | |
from time import mktime | |
from email.utils import parsedate | |
from pylab import plot_date,show,xticks,date2num | |
from pylab import figure,hist,num2date | |
from matplotlib.dates import DateFormatter |
.DS_Store | |
build | |
node_modules |
Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").
Author: Chris Jacob @_chrisjacob
Tutorial (Gist): https://gist.github.com/833223
I wrote this as a guide for a financial analyst friend of mine looking to learn Python. He is already fairly well versed in doing Project Euler problems in Ruby. All italicized text is for the benefit of any other readers, such as yourself.
Each section is divided into a short resource (10 minutes or less), a long resource (days to weeks or more), and a challenge.
~
So what you're looking to do is to be able to recreate financial models in code. And other types of models. This is a noble pursuit.
/** | |
* Other transients stuff here http://www.catswhocode.com/blog/wordpress-transients-api-practical-examples | |
*/ | |
function my_followers_count($screen_name = 'kovshenin'){ | |
$key = 'my_followers_count_' . $screen_name; | |
// Let's see if we have a cached version | |
$followers_count = get_transient($key); | |
if ($followers_count !== false) |