- Uses Leaflet.js library
- GeoJson data obtained using:
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
/* common */ | |
body { | |
background-repeat: no-repeat; | |
background-attachment: fixed; | |
background-position: center; | |
} | |
#main-outlet{ | |
background-color: rgba(30, 30, 30, 0.9); | |
} |
quick example of the setup files to allow the use of Jinja2 template engine within Django, while still being able to import Django template filters (e.g. Humanize).
Following the Django Built-in Template docs, you will need to insure you have Jinja2 installed and then we need to create a jinja2.py
setup file in our main app directory (same locaiton of our settings.py
file).
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
import os | |
import re | |
class FindTables: | |
"""Finds SQL files in directory tree and returns and SQL tables found. | |
String searches are case in-sensitive and are only considered if they follow a [from|into|join] string. | |
Returns: |
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
[{"code":12,"name":"ANESTH EAR EXAM","type":"CPT"},{"code":71,"name":"ANESTH SURGERY OF BREAST","type":"CPT"},{"code":135,"name":"ANESTH LUMBAR PUNCTURE","type":"CPT"},{"code":154,"name":"ANESTH REPAIR OF HERNIA","type":"CPT"},{"code":163,"name":"ANESTH SURG UPPER ABDOMEN","type":"CPT"},{"code":222,"name":"ANESTH TESTIS SUSPENSION","type":"CPT"},{"code":234,"name":"ANESTH HYSTEROSCOPE/GRAPH","type":"CPT"},{"code":296,"name":"ANESTH KNEE ARTHROPLASTY","type":"CPT"},{"code":313,"name":"ANESTH LOWER LEG SURGERY","type":"CPT"},{"code":317,"name":"ANESTH LOWER LEG BONE SURG","type":"CPT"},{"code":336,"name":"CAD BREAST MRI","type":"CPT"},{"code":440,"name":"ANES/ANALG CS DELIVER ADD-ON","type":"CPT"},{"code":465,"name":"NJX PARAVERT W/US CER/THOR","type":"CPT"},{"code":556,"name":"FNA BX W/O IMG GDN 1ST LES","type":"CPT"},{"code":570,"name":"REMOVE FOREIGN BODY","type":"CPT"},{"code":575,"name":"COMPLEX DRAINAGE WOUND","type":"CPT"},{"code":597,"name":"DEBRIDE INFECTED SKIN","type":"CPT"},{"code":600,"name":"DEBRI |
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
A man is driving down the road and his car breaks down near a monastery. He goes to the monastery, knocks on the door, and says, "My car broke down. Do you think I could stay the night?" | |
The monks graciously accept him, feed him dinner, even fix his car. As the man tries to fall asleep, he hears a strange sound. A sound unlike anything he's ever heard before. The Sirens that nearly seduced Odysseus into crashing his ship comes to his mind. He doesn't sleep that night. He tosses and turns trying to figure out what could possibly be making such a seductive sound. | |
The next morning, he asks the monks what the sound was, but they say, "We can't tell you. You're not a monk." Distraught, the man is forced to leave. | |
Years later, after never being able to forget that sound, the man goes back to the monastery and pleads for the answer again. | |
The monks reply, "We can't tell you. You're not a monk." | |
The man says, "If the only way I can find out what is making that beautiful sound is to become a monk, then please, mak |
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
{ | |
"particles": { | |
"number": { | |
"value": 80, | |
"density": { | |
"enable": true, | |
"value_area": 800 | |
} | |
}, | |
"color": { |
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
import axios from 'axios' | |
import store from '@/store' | |
export default function setup() { | |
/** | |
* Intercept axios request and attach JWT tokens as authorization | |
*/ | |
axios.interceptors.request.use( | |
config => { | |
if (!config.url.endsWith('/refresh')) { |
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
<template> | |
<div id="bill-calendar"> | |
<ErrorAlerts v-bind:errorList="errors" /> | |
<BillView v-if="selectedBill" :bill="selectedBill" v-model="showBillView" /> | |
<v-layout wrap> | |
<v-flex xs12 class="my-3"> | |
<v-sheet elevation="5"> | |
<v-calendar | |
ref="calendar" | |
v-model="calendar.start" |