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
| async function initializeMulberry() { | |
| const { | |
| mulberry: { core, modal }, | |
| } = window | |
| await core.init({ | |
| publicToken: '3-ZUeig_K1r-6sm-HAO3tJnANgI', | |
| }) | |
| const { settings } = core | |
| const products = [ | |
| { |
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
| //PostRepository.js | |
| import db from "firestore" | |
| import { | |
| vuexStore | |
| } from "@/store/index.js"; | |
| export default { | |
| async setupRealtimeConnection(fn) { | |
| return db.collection("posts") | |
| .onSnapshot(fn(querySnapshot)); |
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
| <body data-gr-c-s-loaded="true"> | |
| <noscript> | |
| <strong>We're sorry but Flux doesn't work properly without | |
| JavaScript enabled. Please enable it to continue.</strong> | |
| </noscript> | |
| <div data-app="true" class="v-application v-application--is-ltr theme--light" id="app"> | |
| <div class="v-overlay v-overlay--active theme--dark" style="z-index: 201;"> | |
| <div class="v-overlay__scrim" | |
| style="opacity: 0.46; background-color: rgb(33, 33, 33); border-color: rgb(33, 33, 33);"></div> | |
| <div class="v-overlay__content"></div> |
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
| chunk chunk-b979f544 [mini-css-extract-plugin] | |
| Conflicting order between: | |
| * css ./node_modules/css-loader??ref--11-oneOf-3-1!./node_modules/postcss-loader/src??ref--11-oneOf-3-2!./node_modules/stylus-loader??ref--11-oneOf-3-3!./node_modules/vuetify/src/stylus/components/_progress-linear.styl | |
| * css ./node_modules/css-loader??ref--11-oneOf-3-1!./node_modules/postcss-loader/src??ref--11-oneOf-3-2!./node_modules/stylus-loader??ref--11-oneOf-3-3!./node_modules/vuetify/src/stylus/components/_select.styl | |
| * css ./node_modules/css-loader??ref--11-oneOf-3-1!./node_modules/postcss-loader/src??ref--11-oneOf-3-2!./node_modules/stylus-loader??ref--11-oneOf-3-3!./node_modules/vuetify/src/stylus/components/_text-fields.styl | |
| * css ./node_modules/css-loader??ref--11-oneOf-3-1!./node_modules/postcss-loader/src??ref--11-oneOf-3-2!./node_modules/stylus-loader??ref--11-oneOf-3-3!./node_modules/vuetify/src/stylus/components/_autocompletes.styl | |
| * css ./node_modules/css-loader??ref--11-oneOf-3-1!./node_modules/postcss-loader/src |
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
| done = False | |
| grades = [] | |
| while not done: | |
| yesno = raw_input("\nDo you have a grade to enter?: ") | |
| if str(yesno).lower() in ["yes", "y"]: | |
| input = raw_input("\nEnter Grade: ") | |
| try: | |
| val = float(input) | |
| except ValueError: |
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
| from datetime import datetime | |
| def formatTime(format): | |
| now = datetime.now() | |
| for pair in parseTokens("%", format): | |
| pair = replaceToken(pair, now) | |
| slice1 = format[:pair[0]] | |
| slice2 = format[pair[0]+2:] | |
| format = slice1 + pair[1] + slice2 | |
| print format |