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
data mytable; | |
input id= name=$12. balance= state=$2.; | |
DATALINES; | |
id=1 name=alice balance=5.12 state=NE | |
id=2 name=bob balance=12.31 state=SC | |
id=3 name=charlie balance=45.14 state=NY | |
id=4 name=daniel balance=32.78 state= | |
id=5 name=alice balance=20.23 state=WA |
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
data mytable; | |
length name $20.; | |
input id name $ balance; | |
DATALINES; | |
1 alice 5.12 | |
2 bob 12.31 | |
3 charlie 45.14 | |
4 daniel 32.78 | |
4 ella 20.23 |
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
version: 0.2 | |
phases: | |
pre_build: | |
commands: | |
- echo Logging in to Amazon ECR... | |
- $(aws ecr get-login --region $AWS_DEFAULT_REGION) | |
build: | |
commands: | |
- echo Build started on `date` |
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
java.lang.NullPointerException | |
at java.util.regex.Pattern.<init>(Pattern.java:1350) | |
at java.util.regex.Pattern.compile(Pattern.java:1028) | |
at scala.util.matching.Regex.<init>(Regex.scala:191) | |
at scala.collection.immutable.StringLike$class.r(StringLike.scala:255) | |
at scala.collection.immutable.StringOps.r(StringOps.scala:29) | |
at scala.collection.immutable.StringLike$class.r(StringLike.scala:244) | |
at scala.collection.immutable.StringOps.r(StringOps.scala:29) | |
at ReadSOStanfordTokenize$$anonfun$2.apply(ReadSOStanfordTokenize.scala:102) | |
at ReadSOStanfordTokenize$$anonfun$2.apply(ReadSOStanfordTokenize.scala:72) |
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
/** | |
* Retrieves all the rows in the active spreadsheet that contain data and logs the | |
* values for each row. | |
* For more information on using the Spreadsheet API, see | |
* https://developers.google.com/apps-script/service_spreadsheet | |
*/ | |
function readRows() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var rows = sheet.getDataRange(); | |
var numRows = rows.getNumRows(); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 8, | |
"metadata": { | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
{ | |
"query": { | |
"multi_match": { | |
"query": "foo", | |
"fields": [ | |
"title", | |
"document" | |
], | |
"fuzziness": "AUTO" | |
}, |
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
before(:each) do | |
# doesn't work for what I need. | |
# allow_any_instance_of(Edge).to receive(:freeze).and_return(nil) | |
@c = Converter.new name: 'c' | |
@edge_in = instance_double(Edge, from: double(), to: @c, freeze: nil) | |
@edge_out = instance_double(Edge, from: @c, to: double(), freeze: nil) | |
@c.attach_edge!(@edge_in).attach_edge!(@edge_out) | |
end |
NewerOlder