Skip to content

Instantly share code, notes, and snippets.

jeosol jeosol

Block or report user

Report or block jeosol

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
spacebat / with-container-map.lisp
Created Jan 21, 2018
Generic container iteration
View with-container-map.lisp
(defgeneric call-with-container-map (container func)
(:documentation "Iterate over the contents of CONTAINER, calling
FUNC with the current element of CONTAINER, followed by the index or
key that corresponds to it."))
(defmethod call-with-container-map ((container array) func)
(loop for index from 0
for value across container
do (funcall func value index)))
zmjones /
Created Feb 7, 2014
parse and clean log files from AWS S3
import csv
import os
import re
import dateutil
import pandas as pd
from urlparse import urlparse
log_path = ''
# parsing code:
log_entries = []
You can’t perform that action at this time.