I hereby claim:
- I am tonyahowe on github.
- I am thowe (https://keybase.io/thowe) on keybase.
- I have a public key ASBH_HFd_LBELqG0jE-trzGSQfpNvrOhN44uxn4aXXJgIQo
To claim this, I am signing this object:
| genre Decade tconst titleType primaryTitle originalTitle isAdult startYear runtimeMinutes tconst-1 averageRating numVotes | |
| 0 Horror 2000s tt0762131 movie Scarlet Moon Scarlet Moon 0 2006.0 90 tt0762131 4.1 58.0 | |
| 2 Horror 2010s tt10680596 movie Shevenge Shevenge 0 2019.0 \N tt10680596 4.1 61.0 | |
| 7 Horror 2010s tt10801220 movie Urubú Urubú 0 2019.0 90 tt10801220 4.1 70.0 | |
| 15 Horror 2010s tt11089638 movie Where Is She? Where Is She? 0 2019.0 46 tt11089638 4.1 82.0 | |
| 19 Horror 2020s tt10809006 movie The Last Thanksgiving The Last Thanksgiving 0 2020.0 73 tt10809006 4.1 95.0 | |
| 25 Horror 2000s tt1073486 movie Cold Blood Canyon Cold Blood Canyon 0 2007.0 90 tt1073486 4.1 99.0 | |
| 31 Horror 2000s tt1010385 movie The Commitment The Commitment 0 2004.0 92 tt1010385 4.1 104.0 | |
| 32 Horror 2010s tt10188162 movie Bunnyman: Grindhouse Edition Bunnyman: Grindhouse Edition 0 2019.0 89 tt10188162 4.1 104.0 | |
| 36 Horror 2000s tt1125800 movie The Devil's Music The Devil's Music 0 2008.0 97 tt1125800 4.1 118.0 |
| import requests | |
| from bs4 import BeautifulSoup | |
| import pandas as pd | |
| def findByTagAndAttrs(soup, ifFailed, *args): | |
| i = 0 | |
| try: | |
| while True: | |
| result = soup.find(args[i][0], args[i][1]) | |
| i += 1 |
| declare function app:upload($node as node(), $model as map(*)) { | |
| let $collection := '/db/apps/NiC/inReview/' | |
| let $filename := request:get-uploaded-file-name('file') | |
| (: make sure you use the right user permissions that has write access to this collection :) | |
| let $login := xmldb:login($collection, 'public', 'public') | |
| let $store := xmldb:store($collection, $filename, request:get-uploaded-file-data('file')) | |
| (: I want to see what it's pulling for $filename--I'm getting a SAX prolog error, but there's nothing worrisome in the XML file I'm trying to upload :) |
| module namespace tei2="http://exist-db.org/xquery/app/tei2html"; | |
| import module namespace console="http://exist-db.org/xquery/console"; | |
| declare namespace tei="http://www.tei-c.org/ns/1.0"; | |
| declare function tei2:tei2html($nodes as node()*) { | |
| for $node in $nodes | |
| return | |
| typeswitch ($node) | |
| case text() return |
I hereby claim:
To claim this, I am signing this object:
| <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> | |
| <head> | |
| <title class="config:app-title">App Title</title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <meta class="config:app-meta"/> | |
| <link rel="icon" href="resources/images/nic_icon_16x16.ico"/> | |
| <!-- <link rel="stylesheet" type="text/css" href="$shared/resources/css/exist-nic.css"/> --> | |
| <link rel="stylesheet" type="text/css" href="resources/css/style.css"/> | |
| <script type="text/javascript" src="$shared/resources/scripts/jquery/jquery-1.7.1.min.js"/> | |
| <script type="text/javascript" src="$shared/resources/scripts/bootstrap-3.0.3.min.js"/> |
| <div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="main"> | |
| <form enctype="multipart/form-data" method="post" action="form1.html?do-upload=true"> | |
| <fieldset> | |
| <legend>Upload Document:</legend> | |
| <input type="file" name="file"/> | |
| <button id="f-btn-upload" name="f-btn-upload" value="true" type="submit" class="btn btn-danger">Upload</button> | |
| </fieldset> | |
| </form> | |
| </div> |
| <div xmlns="http://www.w3.org/1999/xhtml" data-template="templates:surround" data-template-with="templates/page.html" data-template-at="main"> | |
| <div/> | |
| <!-- if a query search --> | |
| <div data-template="templates:if-parameter-set" data-template-param="query"> | |
| <div data-template="templates:include" data-template-path="search.html" class="col-md-12"/> | |
| </div> | |
| <!-- if a coursepack search --> | |
| <div data-template="templates:if-parameter-set" data-template-param="f-btn-coursepack"> |
| xquery version "3.0"; | |
| module namespace app="http://exist-db.org/apps/"; | |
| import module namespace templates="http://exist-db.org/xquery/templates"; | |
| import module namespace config="http://exist-db.org/apps/NiC/config" at "config.xqm"; | |
| import module namespace tei2="http://exist-db.org/xquery/app/tei2html" at "tei2html.xql"; | |
| import module namespace kwic="http://exist-db.org/xquery/kwic" at "resource:org/exist/xquery/lib/kwic.xql"; | |
| (:~ |
| module namespace tei2="http://exist-db.org/xquery/app/tei2html"; | |
| import module namespace console="http://exist-db.org/xquery/console"; | |
| declare namespace tei="http://www.tei-c.org/ns/1.0"; | |
| declare function tei2:tei2html($nodes as node()*) { | |
| for $node in $nodes | |
| return | |
| typeswitch ($node) | |
| case text() return |