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 csv | |
| import requests | |
| GITHUB_USER = 'REDACTED' | |
| GITHUB_PASSWORD = 'REDACTED' | |
| REPO = 'USER/REPO' # format is username/repo | |
| ISSUES_FOR_REPO_URL = 'https://api.github.com/repos/%s/issues' % REPO | |
| AUTH = (GITHUB_USER, GITHUB_PASSWORD) | |
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
| :benchmarkException in thread "main" com.thoughtworks.xstream.converters.ConversionException: For input string: ".02" : For input string: ".02" | |
| ---- Debugging information ---- | |
| message : For input string: ".02" | |
| cause-exception : java.lang.NumberFormatException | |
| cause-message : For input string: ".02" | |
| class : java.lang.Integer | |
| required-type : java.lang.Integer | |
| converter-type : com.thoughtworks.xstream.converters.SingleValueConverterWrapper | |
| wrapped-converter : com.thoughtworks.xstream.converters.basic.IntConverter | |
| line number : 114 |
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
| apply plugin: 'java' | |
| apply plugin: 'groovy' | |
| repositories { | |
| mavenCentral() | |
| } | |
| dependencies { | |
| compile 'org.antlr:antlr4:4.1' | |
| compile 'org.codehaus.groovy:groovy-all:2.1.7' |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <title>Tracking Millions of Ganks in Near Real Time</title> | |
| <meta http-equiv="pragma" content="no-cache" /> |
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
| from PIL import Image | |
| height = 1039 | |
| width = 1039 | |
| im = Image.new("RGB", (width,height), "white") | |
| pixels = im.load() | |
| f = open('prime_colors', 'r') | |
| for x in range(width): |
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
| Offending resource: file [$projectPath/resources/spring/fails.groovy]; nested exception is groovy.lang.MissingPropertyException: No such property: locationHourFormat for class: grails.spring.BeanBuilder | |
| Line | Method | |
| ->> 479 | loadBeans in grails.spring.BeanBuilder | |
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
| | 441 | loadBeans in '' | |
| | 194 | importBeans . . . . . . . in '' | |
| | 3 | doCall in resources$_run_closure1 | |
| | 757 | invokeBeanDefiningClosure in grails.spring.BeanBuilder | |
| | 584 | beans in '' | |
| | 757 | invokeBeanDefiningClosure in '' |
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
| = League of Legends eSports Overview | |
| :neo4j-version: 2.0.0 | |
| :author: Kevin Greene | |
| :twitter: @SurrealAnalysis | |
| In the game League of Legends, teams of five players compete against one another, with each person on a team having a unique position and champion each game. | |
| Over the past two years, http://www.riotgames.com/[Riot Games] has created multiple leagues for competitive play, known as the League Championship Series, or LCS. As with most competitions, people are very interested in the various statistics, and below is a possible representation in Neo4j. |
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
| = Issue Tracking with Graphs | |
| :neo4j-version: 2.0.0 | |
| :author: Kevin Greene | |
| :twitter: @SurrealAnalysis | |
| == Motivation | |
| As with most tech companies, we at http://spantree.net/[Spantree Technology Group, LLC] strive to be as efficient as possible. One aspect of this is efficiently tracking issues and ownership across several projects. While there are many solutions out there, e.g. Pivotal Tracker, JIRA, etc., there is always room for improvement. This GraphGist represents a possible backend solution to the issue, using Neo4j. |
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
| bindkey -e | |
| bindkey '^[[1;9C' forward-word | |
| bindkey '^[[1;9D' backward-word | |
| alias rake='noglob rake' | |
| grebase() {local GIT_BRANCH=$(git symbolic-ref --short HEAD); git checkout develop; git pull origin develop; git checkout ${GIT_BRANCH#}; git rebase develop;} | |
| ghpr() {local GIT_BRANCH=$(git symbolic-ref --short HEAD); hub pull-request -b Spantree:develop -h Spantree:${GIT_BRANCH#};} | |
| alias tree="find . -print | sed -e 's;[^/]*/;|____;g;s;____|; |;g'" |
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
| amqp = require 'amqp' | |
| _ = require 'underscore' | |
| console.log 'creating connection' | |
| connection = amqp.createConnection | |
| host: 'rabbitmq.local' | |
| connection.addListener 'error', (e) -> throw e |
OlderNewer