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
# Python 3.8+ | |
# Run as python3 check_caa.py SOURCE_MBIDS OUT_PATH [CACHE_PATH] | |
# SOURCE_MBIDS: File containing MBIDs to check items for, one per line | |
# OUT_PATH: File to write results to, as IA item identifiers, one per line | |
# CACHE_PATH: Directory to store intermediate results in and/or load intermediate results from after a failed job. | |
import csv | |
import aiohttp | |
from tqdm.asyncio import tqdm | |
from pathlib import Path |
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
cask 'julia-rc' do | |
version '1.3.0-rc4' | |
sha256 '0e0519f7bfd8965e3658c541abf0c400caa3a3c3e83a38582b873d9af0a092a0' | |
url "https:///julialang-s3.julialang.org/bin/mac/x64/#{version.major_minor}/julia-#{version}-mac64.dmg" | |
appcast 'https://github.com/JuliaLang/julia/releases.atom' | |
name 'Julia' | |
homepage 'https://julialang.org/' | |
app "Julia-#{version.major_minor}.app" |
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
"""Command-line tool to parse and pretty-print loguru serialized log files.""" | |
import argparse | |
import json | |
import operator | |
import re | |
import sys | |
OPERATORS = { | |
'==': operator.eq, | |
'!=': operator.ne, |
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
module Main (main) where | |
main :: IO() | |
main = print "Hello world" | |
test :: Int -> Int | |
test = (+) | |
test2 :: Int -> Bool | |
test2 = even |
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
=> => => [25 Nov 2017, 14:40:43] Console logging activated (/Users/ruben/.subl.log). | |
Sublime Haskell: hsdev types returns error: ghc error | |
id: 12, msg: parse error on input ‘test’ | |
<hsdev stderr> 2017-11-25 14:40:57 +0100 ERROR :ghc/types> Scope leaves with exception: parse error on input ‘test’ | |
<hsdev stderr> | |
<hsdev stderr> CallStack (from HasCallStack): | |
<hsdev stderr> onError, called at src/System/Log/Simple/Monad.hs:104:36 in simple-log-0.9.3-J5jYiWMah1HIz7e7MUaq97:System.Log.Simple.Monad | |
<hsdev stderr> | |
<hsdev stderr> 2017-11-25 14:40:57 +0100 ERROR :ghc> Scope leaves with exception: parse error on input ‘test’ |
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
2015-10-21 17:23:14 ERROR SHOWQUEUE-ADD :: Error saving the show to the database: near "WHERE": syntax error | |
OperationalError: near "WHERE": syntax error | |
return self.connection.cursor().execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 80, in _execute | |
return self._execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 100, in execute | |
sqlResult = self.execute(query, args, fetchall=fetchall, fetchone=fetchone) | |
File "/Applications/SickRage/sickbeard/db.py", line 201, in action | |
Traceback (most recent call last): | |
2015-10-21 17:23:14 ERROR SHOWQUEUE-ADD :: DB error: near "WHERE": syntax error |
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
2015-10-21 17:23:14 ERROR SHOWQUEUE-ADD :: Error saving the show to the database: near "WHERE": syntax error | |
OperationalError: near "WHERE": syntax error | |
return self.connection.cursor().execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 80, in _execute | |
return self._execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 100, in execute | |
sqlResult = self.execute(query, args, fetchall=fetchall, fetchone=fetchone) | |
File "/Applications/SickRage/sickbeard/db.py", line 201, in action | |
Traceback (most recent call last): | |
2015-10-21 17:23:14 ERROR SHOWQUEUE-ADD :: DB error: near "WHERE": syntax error |
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
2015-10-21 17:26:38 ERROR SHOWQUEUE-ADD :: Error saving the show to the database: near "WHERE": syntax error | |
OperationalError: near "WHERE": syntax error | |
return self.connection.cursor().execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 80, in _execute | |
return self._execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 100, in execute | |
sqlResult = self.execute(query, args, fetchall=fetchall, fetchone=fetchone) | |
File "/Applications/SickRage/sickbeard/db.py", line 201, in action | |
Traceback (most recent call last): | |
2015-10-21 17:26:38 ERROR SHOWQUEUE-ADD :: DB error: near "WHERE": syntax error |
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
2015-10-21 17:26:38 ERROR SHOWQUEUE-ADD :: Error saving the show to the database: near "WHERE": syntax error | |
OperationalError: near "WHERE": syntax error | |
return self.connection.cursor().execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 80, in _execute | |
return self._execute(query, args) | |
File "/Applications/SickRage/sickbeard/db.py", line 100, in execute | |
sqlResult = self.execute(query, args, fetchall=fetchall, fetchone=fetchone) | |
File "/Applications/SickRage/sickbeard/db.py", line 201, in action | |
Traceback (most recent call last): | |
2015-10-21 17:26:38 ERROR SHOWQUEUE-ADD :: DB error: near "WHERE": syntax error |