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
library(rvest) | |
library(purrr) | |
library(here) | |
library(tictoc) | |
library(magrittr) | |
library(doParallel) | |
library(tidyverse) | |
# Downloads all articles from an AIAA page |
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
function getIdFromUrl(url) { return url.match(/[-\w]{25,}/); } | |
function sendFilesToFolder() { | |
var sheet = SpreadsheetApp.getActiveSheet(); | |
var startRow = 2; // First row of data to process | |
var numRows = 60; // Number of rows to process | |
// row x column, row x column | |
var startCol = 1 | |
var endCol = 29 | |
var dataRange = sheet.getRange(startRow, 10, numRows, 40); |
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 | |
import os | |
import copy, sys | |
import pandas as pd | |
from PyPDF2 import PdfFileWriter, PdfFileReader | |
import slate3k as slate | |
def pdf_splitter(path, csvTargets): | |
fname = os.path.splitext(os.path.basename(path))[0] |
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
/*STRIPS PDDL parser for http://pegjs.org/online | |
For example of parsing this grammar, see https://gist.github.com/primaryobjects/1d2f7ee668b62ca99095 | |
Example PDDL domain to parse: | |
(define (domain random-domain) | |
(:requirements :strips) | |
(:action op1 | |
:parameters (?x1 ?x2 ?x3) | |
:precondition (and (S ?x1 ?x2) (R ?x3 ?x1)) | |
:effect (and (S ?x2 ?x1) (S ?x1 ?x3) (not (R ?x3 ?x1)))) |
OlderNewer