echo '{"sentence": "Did Uriah honestly think he could beat the game in under three hours?"}' > examples.jsonl
allennlp/run predict https://s3-us-west-2.amazonaws.com/allennlp/models/srl-model-2017.09.05.tar.gz examples.jsonl
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
Remember "Only wimpy managers write down their own tips. Real managers ask employees to recite them in Slack." | |
1. Google Slides and Spreadsheets are the only applicataions you need. | |
2. Keep a tight ship? | |
3. The most efficient option is definately to just TAKE ANOTHER SCREENSHOT! | |
4. ??? | |
5. ??? | |
6. ??? | |
7. if you see a cheap trick take it | |
8. stop trying to figure it out in LastPass and just switch to 1password. |
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 | |
import os | |
import re | |
import subprocess | |
import socket | |
import sys | |
def pids_of_jid(jid): | |
result = subprocess.run(["sstat", "-p", "--format=PID", "-j", jid, "--noheader"], stdout=subprocess.PIPE) |
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
{ | |
"sections": [ | |
{ | |
"heading": "1 Introduction", | |
"text": "Most vertebrates, including humans, can move their eyes. They use this ability to sample in detail the most relevant features of a scene, while spending only limited processing resources elsewhere. The ability to predict, given an image (or video), where a human might xate in a xed-time freeviewing scenario has long been of interest in the vision community. Besides the purely scienti c goal of understanding this remarkable behavior of humans, and animals in general, to consistently xate on \"important\" information, there is tremendous engineering application, e.g. in compression and recognition [13]. The standard approaches (e.g., [2], [9]) are based on biologically motivated feature selection, followed by center-surround operations which highlight local gradients, and nally a combination step leading to a \"master map\". Recently, Bruce [5] and others [4] have hypothesized that fundamental quantities such as \"self-information\" and \ |
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
Call me Ishmael. Some years ago- never mind how long precisely- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people's hats off- then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising in this. If they but knew it, almost all men in their degree |
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() { | |
$(function() { | |
$('input[name="s2"]').click(function() { | |
var query = $('input[name="q"]').val(); | |
document.location = 'https://www.semanticscholar.org/search?q=' + encodeURIComponent(query); | |
return false; | |
}); | |
}); | |
}()); |
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
{ | |
"_shards": { | |
"total": 3, | |
"successful": 3, | |
"failed": 0 | |
}, | |
"my-title-suggestions-1": [ | |
{ | |
"text": "open", | |
"offset": 0, |
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
list.sum | |
(a zip b).map(_.productIterator).flatten | |
def fib100 = { | |
def fib(x: BigInt, y: BigInt): Stream[BigInt] = { | |
val z = x + y | |
z #:: fib(y, z) | |
} | |
(0 #:: 1 #:: fib(0, 1)).take(100).toList |
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 scalas | |
/*** | |
scalaVersion := "2.11.5" | |
libraryDependencies += "com.github.rodneykinney" % "quisp_2.11" % "0.5.0" | |
*/ | |
import quisp.Plot._ |
NewerOlder