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
| import gzip | |
| import re | |
| def load_all_movies(filename): | |
| """ | |
| Load and parse 'plot.list.gz'. Yields each consecutive movie as a dictionary: | |
| {"title": "The movie's title", | |
| "year": The decade of the movie, like 1950 or 1980, | |
| "identifier": Full key of IMDB's text string, | |
| "summary": "The movie's plot summary" | |
| } |
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
| # Based on scitools meshgrid | |
| def meshgrid(*xi, **kwargs): | |
| """ | |
| Return coordinate matrices from coordinate vectors. | |
| Make N-D coordinate arrays for vectorized evaluations of | |
| N-D scalar/vector fields over N-D grids, given | |
| one-dimensional coordinate arrays x1, x2,..., xn. | |
| .. versionchanged:: 1.9 |
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
| { | |
| "metadata": { | |
| "name": "", | |
| "signature": "sha256:78d15dad8876f550bbf2e9f489381146f98b271e5ec4e609219ad11ddaa39658" | |
| }, | |
| "nbformat": 3, | |
| "nbformat_minor": 0, | |
| "worksheets": [ | |
| { | |
| "cells": [ |
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
| Here, amidst the morning mist, | |
| 'Fore man or creature stirs their eye | |
| I sing with bliss at daybreak's kiss | |
| And share the world my gleaming cry | |
| Though I invite a new respite, | |
| my neighbors rage and curse my name. | |
| They wage their fight for restful night | |
| And toss and turn to sleep again. |
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
| {"Grid 16": {"Choose 2": {"Rep 1": [20.961, 14.768, 10.074, 16.1, 15.083, 7.513, 14.66, 9.925, 8.167, 14.523, 9.56, 3.68, 9.153, 5.742, 12.037, 8.52, 18.35, 8.728, 10.757, 6.067, 8.35, 9.133, 10.946, 13.658, 9.397, 8.845, 5.71, 6.772, 8.743, 13.979, 43.508, 12.854, 39.307, 22.901, 29.341, 18.18, 15.774, 17.143, 18.639, 18.973, 13.567, 14.023, 6.033, 9.871, 2.895, 10.262, 7.469, 11.15, 9.217, 9.357, 14.139, 10.104, 19.717, 16.122, 6.469, 17.429, 11.508, 8.297, 20.366, 10.904, 7.394, 3.378, 9.426, 11.709, 15.101, 16.563, 3.94, 9.798, 18.307, 9.549, 17.654, 9.284, 6.113, 5.953, 9.56, 6.337, 18.597, 12.745, 7.7, 12.516, 11.626, 8.894, 6.586, 11.221, 13.456, 5.275, 9.118, 15.404, 14.114, 6.723, 9.711, 11.088, 20.584, 18.233, 5.7, 11.365, 10.859, 11.679, 5.045, 10.802, 21.339, 8.977, 6.738, 9.211, 8.501, 5.638, 16.427, 15.058, 16.696, 12.387, 11.177, 12.914, 10.722, 10.343, 8.054, 8.987, 10.265, 6.15, 11.762, 10.815, 16.804, 3.742, 5.093, 3.809, 8.395, 4.336, 3.234, 2.86, 5.525, 12.311, 9.662, 5.748, 4.493, 3.751, |
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
| javascript:(function(){var probeUrl=$(".probe.picker .image").css("background-image").replace(/^url\((.*)\)$/,"$1");var num_cells=$(".grid-strip .picker").length;var num_close=$("#data").data()["templateMinSelected"];var num_far=num_cells-num_close;function unpicked_things(){return $(".grid-strip .picker").filter(function(){return!$(this).data("picked-id")})}function random_unpicked_thing(){var picks=unpicked_things();return picks.eq(Math.floor(Math.random()*picks.length))}function select_image(imgurl){var which_one_to_fill=random_unpicked_thing();which_one_to_fill.trigger(jQuery.Event("click",{shiftKey:true}));var correct_image=$(".image-grid .image-wrapper .image").filter(function(){return $(this).css("background-image")=="url("+imgurl+")"});if(correct_image.length==0){throw Error("Image not found. Try scrolling down?")}correct_image.trigger("click");return pickedField}var EMBEDDING=[{url:"https://s3.amazonaws.com/vibe-content/photos/38aab5a720aa4b8780146c541ac84bb6.jpg",loc:[-17.422579142432237,-11.9447860 |
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
| #lang at-exp racket | |
| (require racket/draw | |
| slideshow | |
| unstable/gui/pict | |
| (planet gcr/pdf-render)) | |
| (define-syntax-rule (inches: n) (* n 72)) | |
| (define-syntax-rule (feet: n) (* n 12 72)) | |
| (define-syntax-rule (einches: n) (inexact->exact (round (inches: n)))) | |
| (define-syntax-rule (efeet: n) (inexact->exact (round (feet: n)))) |
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> | |
| <style> | |
| #target { | |
| background-color: #800; | |
| display: inline-block; | |
| position: absolute; | |
| padding: 0.5em; | |
| border-radius: 0.3em; | |
| color: #fff; | |
| } |