This file contains hidden or 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
import glob | |
import json | |
from copy import deepcopy | |
import pandas | |
def cross_join(left, right): | |
new_rows = [] if right else left | |
for left_row in left: |
This file contains hidden or 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
# Rechnung | |
## Buchungsinformationen | |
- Datum | |
- Betrag | |
# Poste | |
- Bezeichnung |
library(reshape)
setwd('D:/gdrive/FIM_MA/code')
library(gdata)
# Create urls
urls = c()
for (urlyear in 2012:2016){
for (urlmonth in 1:12){
for (urlday in 1:31){
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
This file contains hidden or 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
#models.py | |
class Task(models.Model): | |
title = models.CharField(max_length=255) | |
description = models.TextField() | |
def __unicode__(self): | |
return self.title |
This file contains hidden or 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
#views.py | |
class TaskUpdateView(generic.UpdateView): | |
model = Task | |
form_class = TaskForm | |
@json_view | |
def dispatch(self, *args, **kwargs): | |
return super(TaskUpdateView, self).dispatch(*args, **kwargs) | |
This file contains hidden or 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
date,open,high,low,close | |
2015-12-30,21.94,22.72,21.93,22.62 | |
2015-12-29,22.34,22.42,21.71,21.79 | |
2015-12-28,22.22,23.06,22.14,22.61 | |
2015-12-23,21.94,21.95,20.59,20.65 | |
2015-12-22,23.33,24.56,22.63,22.8 | |
2015-12-21,23.79,23.87,22.62,23.8 | |
2015-12-18,23.49,23.96,22.52,23.43 | |
2015-12-17,22.95,23.15,21.69,22.75 | |
2015-12-16,26.85,27.03,25.26,25.58 |
This file contains hidden or 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
# TODO - Code Cleaning | |
################################# | |
# | |
# Packages | |
# | |
################################# | |
library(RCurl) | |
library(reshape) | |
library(xts) |
This file contains hidden or 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
name: "CaffeNet" | |
input: "data" | |
input_shape { | |
dim: 10 | |
dim: 3 | |
dim: 227 | |
dim: 227 | |
} | |
layer { | |
name: "conv1" |
NewerOlder