Skip to content

Instantly share code, notes, and snippets.

View intiocean's full-sized avatar
⛰️

Inti Ocean intiocean

⛰️
View GitHub Profile
@intiocean
intiocean / lnav_django_log_config.json
Last active November 23, 2021 07:12 — forked from benje/lnav_format_python.json
Python logging format for Lnav - http://lnav.org/
{
"$schema": "https://lnav.org/schemas/format-v1.schema.json",
"python": {
"title": "Python logger format",
"description": "Log format used by python logger class",
"url": "",
"regex": {
"basic" : {
"pattern": "^(?<timestamp>\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}\\,\\d{3}) pid:(?<pid>[0-9]+) (?<level>\\w+) in (?<module>\\w+) (?<body>.*)$"
},
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Location to Timezone</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/4.0.0/normalize.min.css">
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fetch/0.11.0/fetch.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.10.0/lodash.min.js"></script>
<style>