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
// child functions | |
export default ( | |
<Connect mapStateToProps={mapStateToProps} mapDispatchToProps={mapDispatchToProps}> | |
{props => ( | |
<WithRouter> | |
{router => ( | |
<Foo router={router} {...props}/> | |
)} | |
</WithRouter> | |
)} |
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
{ | |
"@type": "http://example.org/vocab#Library" | |
} |
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
from elasticsearch.helpers import scan | |
from elasticsearch import Elasticsearch | |
from multiprocessing import Pool | |
import gensim | |
import logging | |
import nltk | |
import os | |
import re | |
import string | |
import unicodedata |
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
'use strict'; | |
function ready(data){ | |
var nodes = document.querySelectorAll('script[type="text/eval+javascript"]'); | |
Array.prototype.forEach.call(nodes, function(node) { | |
var script = node.innerHTML.trim(); | |
var figure = document.createElement('figure'); | |
node.parentNode.insertBefore(figure, node); |
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 | |
git branch -r --merged origin/master | \ | |
grep origin | \ | |
grep -v '>' | \ | |
grep -v master | \ | |
cut -d "/" -f 2- | \ | |
xargs git push origin --delete |