Skip to content

Instantly share code, notes, and snippets.

View cmoscardi's full-sized avatar

Christian Moscardi cmoscardi

View GitHub Profile
@cmoscardi
cmoscardi / result.json
Created April 22, 2024 15:56
azure document AI result for campaign finance
{
"status": "succeeded",
"createdDateTime": "2024-04-22T15:49:33Z",
"lastUpdatedDateTime": "2024-04-22T15:49:37Z",
"analyzeResult": {
"apiVersion": "2023-07-31",
"modelId": "prebuilt-document",
"stringIndexType": "utf16CodeUnit",
"content": "Preview File\nEdit\nView Go\nTools Window Help :selected:\nDV\n~ a Thu Mar 28 2:27 PM\nHallam_annual_2020 ....\n1\n2\n4\nv\nHallam_annual_2020.pdf Page 1 of 6\n0\nQ Search\nCommonwealth of Pennsylvania - Campaign Finance Report (Note: This report must be clear and legible. It should be typed)\nFiler Identification Number\nReport Filed By ( Mark X)\nCandidate :unselected: Committee :selected: X\nLobbyist :unselected:\nName of Filing Committee, Candidate or Lobbyist\nFriends of Bethany HALLAM\nStreet Address\n7917 Henwock Street\nCity\nPizzsburgh\nState PA\nZip Code\n15237\nType of Report (Place x under report type)\n1- 6th Tuesday Pre-Primary\n2- 2ºº Friday Pre-Primary\n3- 30 Day Post 4- 6th Tuesday\nPrimary\nPre- Election\n5- 2nd Friday Pre- Election\n6- 30 Da
@cmoscardi
cmoscardi / links_check.py
Created September 1, 2017 15:30
Link Checking Code -- comments below.
@cmoscardi
cmoscardi / clean_nbs.py
Created August 24, 2017 15:53
Jupyter Notebook Output Cleaning Script
#!/usr/bin/env ipython
import io
import sys
from nbformat import read, write
# Handle either stdin or a filename
if __name__ == '__main__':
for filename in sys.argv[1:]:
ipynb = read(filename, 4)
@cmoscardi
cmoscardi / counts.csv
Created August 22, 2017 14:58
Counts and code
2013-07-01 16650
2013-07-02 22745
2013-07-03 21864
2013-07-04 22326
2013-07-05 21842
2013-07-06 20467
2013-07-07 20477
2013-07-08 21615
2013-07-09 26641
2013-07-10 25732
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============================================-============================-============================-==================================================================================================
ii gnome-session-xmonad 1.0-1xenial1 all GNOME Session Manager - XMonad session
<!DOCTYPE html>
<html>
<head>
<title>What Did You Click?</title>
</head>
<body>
<!-- Put your page markup here -->
<h1>Do Now</h1>
<p>You should alert the user whether or not the letter is in the word.</p>
<p>To see if a letter is in a word, you can use
<!DOCTYPE html>
<html>
<head>
<title>What Did You Click?</title>
</head>
<body>
<!-- Put your page markup here -->
<h1>Do Now</h1>
<p>You should alert the user whether or not the letter is in the word.</p>
<p>To see if a letter is in a word, you can use
<!DOCTYPE html>
<html>
<head>
<title>Hangman Starter</title>
</head>
<body>
<div id="container">
<p id="message"></p>
<img id="hangman" src="https://github.com/ScriptEdcurriculum/unit13HangmanStarterCode/blob/master/images/Hangman-0.png?raw=true"/>
<div id="word"></div>