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
| #!/usr/bin/env python3 | |
| """Retrieve tag frequency data from a Taguette SQLite database. | |
| Produces: | |
| 1. Overall tag frequency (ordered by count descending) | |
| 2. Tag frequency per document | |
| 3. CSV output to stdout | |
| """ | |
| import argparse |
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
| --============================== | |
| -- Send Keynote Text to Desktop Markdown File | |
| -- Formats the markdown as Marp syntax (a MarkDown presentation format) https://marp.app | |
| -- Based on | |
| -- Writted By: Richard Dooling https://github.com/RichardDooling/ | |
| -- Based on | |
| -- Send Keynote Presenter Notes to Evernote | |
| -- Version 1.0.1 | |
| -- Written By: Ben Waldie <ben@automatedworkflows.com> | |
| -- http://www.automatedworkflows.com |
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
| #!/usr/bin/ruby | |
| require 'sqlite3' | |
| cite_part = ARGV[0] | |
| db_name = "/Users/nernst/Library/Application\ Support/Mendeley\ Desktop/neil\@neilernst.net\@www.mendeley.com.sqlite" | |
| db = SQLite3::Database.new( db_name ) | |
| db.results_as_hash = true | |
| query = "select citationkey, title, year from Documents where citationkey like '%#{cite_part}%'"#MATCH '#{cite_part}'"#{}like '%#{cite_part}%'" | |
| db.execute( query ) do |row| | |
| print row['citationKey'] + '|' |
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
| # author N Ernst | |
| # thanks to https://stackoverflow.com/questions/4576077/python-split-text-on-sentences?rq=1 | |
| import nltk.data | |
| import argparse | |
| parser = argparse.ArgumentParser() | |
| parser.add_argument("length", help="recommended sentence length [default 5]", type=int, default=0) | |
| parser.add_argument("filename", help="what text file to parse") | |
| args = parser.parse_args() |
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
| # Retrieve, for a list of issues, the associated commits and files | |
| # First run Octohub's offline issues plugin: https://github.com/turnkeylinux/octohub/tree/master/contrib/offline-issues | |
| # Assumes relevant issue data stored in octohub "all" dir | |
| # Author: @neilernst | |
| # Copyright: SEI | |
| # Licence: BSD | |
| import logging, os, sys | |
| import simplejson as json | |
| from octohub.connection import Connection |
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
| SELECT | |
| cont.sample_repo_name, | |
| repo.watch_count | |
| FROM | |
| [bigquery-public-data:github_repos.sample_contents] as cont | |
| JOIN [bigquery-public-data:github_repos.sample_repos] as repo | |
| ON cont.sample_repo_name = repo.repo_name | |
| WHERE | |
| cont.content CONTAINS 'spring-boot-starter-security</artifactId>' | |
| AND cont.sample_path LIKE 'pom.xml' |
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
| \def\bibliocommand{\bibliography{IEEEabrv,../../bibtex/thesis-new}} | |
| \def\bibliostyle{plainnat-nourl} | |
| \def\mytitle{Software Evolution: a Requirements Engineering Approach} | |
| \def\myauthor{Neil Alexander Ernst} | |
| \input{ut-thesis-begin} % the preceding lines are directly converted from Scrivener Meta-Data. | |
| \chapter{Introduction} | |
| \label{introduction} | |
| \section{Motivation} |
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
| \RequirePackage[debrief,save]{silence} | |
| % %silence filters. I use this with a custom script to pretty-print missing refs. | |
| %\WarningFilter*{latex}{Citation `\@citeb' on page \thepage \space undefined} | |
| \WarningFilter*{natbib}{Citation `\@citeb' on page \thepage \space undefined} | |
| \WarningFilter*{latex}{Label}% `\@thelabel' multiply defined.} | |
| \WarningFilter*{latex}{Reference}% `sec:ASK' on page \thepage undefined} | |
| \documentclass[10pt,oneside]{ut-thesis} %draft | |
| \usepackage{etex} | |
| \makeindex |
NewerOlder