This file contains 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
from __future__ import print_function | |
from __future__ import unicode_literals | |
import base64 | |
from Crypto import Random | |
from Crypto.Cipher import AES | |
class Cipher(object): |
This file contains 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
bandit | |
flake8 | |
jedi | |
jedi-language-server | |
mypy | |
neovim | |
pycodestyle | |
pydocstyle | |
pylint | |
reorder-python-imports |
This file contains 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
DROP TABLE IF EXISTS staging_records_import; | |
CREATE TABLE staging_records_import (id BIGSERIAL, dest BIGINT, marc TEXT); | |
ALTER SEQUENCE staging_records_import_id_seq RESTART WITH 1; | |
TRUNCATE TABLE biblio.record_entry CASCADE; | |
ALTER SEQUENCE biblio.record_entry_id_seq RESTART WITH 1; | |
CREATE OR REPLACE FUNCTION staging_importer() RETURNS VOID AS $$ | |
DECLARE stage RECORD; | |
BEGIN |
This file contains 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
#!/usr/bin/perl | |
my $Debug = $ENV{'LOGWATCH_DEBUG'}; | |
my $Detail = $ENV{'LOGWATCH_DETAIL_LEVEL'}; | |
my $Error = 0; | |
my @ErrorLines = (); | |
my $Success = 0; | |
my @SuccessLines = (); | |
my @Warning = 0; | |
my @WarningLines = (); |
This file contains 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
[ui] | |
username = Jeffrey Goettsch <jdgoettsch@ucdavis.edu> | |
ssh = ssh -C | |
merge = vimdiff | |
[extensions] | |
hgext.color = | |
hgext.convert = | |
hgext.extdiff = | |
hgext.fetch = |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os | |
from selenium import webdriver | |
def main(): | |
ff = os.path.join('/', 'Applications', 'Firefox Developer Edition.app', | |
'Contents', 'MacOS', 'firefox') | |
wd = webdriver.Firefox(firefox_binary=ff) |