Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.black_overlay { | |
display: none; | |
position: absolute; | |
top: 0%; | |
left: 0%; | |
width: 100%; | |
height: 100%; | |
background-color: black; | |
z-index:1001; | |
-moz-opacity: 0.8; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Note: This command was automatically generated by the create-new-search-command command. | |
CmdUtils.makeSearchCommand({ | |
name: "alibaba-search", | |
url: "http://www.alibaba.com/trade/search?SearchText={QUERY}&IndexArea=product_en&=&=&=&ssk=y", | |
icon: "http://www.alibaba.com/favicon.ico", | |
description: "Searches www.alibaba.com" | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### | |
# | |
# Copyright (c) 2011 Cake Development Corporation (http://cakedc.com) | |
# | |
# Ubuntu 11.04 based web server installation script | |
# Run this by executing the following from a fresh install of Ubuntu 11.04 server: | |
# | |
# bash -c "$(curl -fsSL https://raw.github.com/gist/1264701)" <mysqlPassword> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @author Jesse Lucas <jesse@forestgiant.com> | |
*/ | |
var j = document.createElement("script"); | |
j.type = "text/javascript"; | |
j.onload = loadGPlus; | |
j.src = "http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"; | |
document.getElementsByTagName("head")[0].appendChild(j); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################### | |
# Getting started # | |
################### | |
# Setup a workspace | |
mkdir va_benefits | |
cd va_benefits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Interactive charts and slides with R, googleVis and knitr | |
======================================== | |
```{r results='asis', echo=FALSE, message=FALSE, tidy=FALSE} | |
library(googleVis) | |
G <- gvisGeoChart(Exports, "Country", "Profit", | |
options=list(width=250, height=120), chartid="c1") | |
T <- gvisBarChart(Exports[,1:2], yvar="Profit", xvar="Country", | |
options=list(width=250, height=260, | |
legend='none'), chartid="c2") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2012 Sindre Sorhus <http://sindresorhus.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(shiny) | |
library(gmp) | |
drawStar <- function(center, length, pts, direction=0, segments=F, colour=F) { | |
if(length(pts)==0) return() | |
if(segments & (pts[1]==2)) direction <- direction + pi/2 | |
for(i in 1:pts[1]) { | |
point <- center + | |
length*c(cos(direction+pi/2+i*2*pi/pts[1]), | |
sin(direction+pi/2+i*2*pi/pts[1])) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf8 -*- | |
""" | |
Comp. Finance Course HW3 : Simulator | |
""" | |
import argparse as ap | |
import datetime as dt | |
import pandas as pd | |
import qstkutil.qsdateutil as du |
OlderNewer