#React
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
import "github.com/motemen/go-loghttp" | |
httpClient.Transport = &loghttp.Transport{ | |
Transport: httpClient.Transport, | |
LogRequest: func(req *http.Request) { | |
b, _ := httputil.DumpRequestOut(req, true) | |
log.Printf("out body: %s", string(b)) | |
}, | |
LogResponse: func(resp *http.Response) { | |
b, _ := httputil.DumpResponse(resp, true) |
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
(query, config) => (BaseComponent) => (props) => React.createFactory(graphql(query(props), config(props))(BaseComponent))(props) |
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
title: Informatik - Tutorium - 2016 | |
tutoriumData: | |
- key: '1' | |
title: Überblick und Historie | |
link: https://moodle.thm.de/mod/resource/view.php?id=143268 | |
deadline: 10/31/2016 | |
- key: '2' | |
title: Zahlensysteme und Textkodierung | |
link: https://moodle.thm.de/mod/resource/view.php?id=143270 | |
deadline: 11/17/2016 |
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
{ | |
page: page(url: "http://www.mittelhessen.de/lokales/region-wetzlar_artikel,-21-Jaehrige-bei-Frontalzusammenstoss-lebensgefaehrlich-verletzt-_arid,809009.html") { | |
content: query(selector: ".article.detail") { | |
heading: text(selector: "h1.article_headline") | |
date: text(selector: ".article_date") | |
category: text(selector: ".article_category") | |
teaser: text(selector: ".article_teaser") | |
body: query(selector: ".article_body p"){ | |
text | |
} |
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
config.resolve.root = path.resolve(__dirname, './src'); |
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
# Frameworks and Libs | |
Style: http://yeticss.com/ ? | |
Maybe: https://github.com/jxnblk/rebass + https://github.com/jxnblk/reflexbox | |
Icons: https://github.com/gorangajic/react-icons | |
Server: apollo server | |
Client: apollo client, redux | |
Helper libs | |
https://github.com/acdlite/recompose | |
https://github.com/ramda/ramda |
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
#MAC: http://sourabhbajaj.com/mac-setup/index.html | |
#z shell | |
sudo apt-get install zsh | |
#instal git | |
sudo apt-get install git | |
#Restart Terminal |