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
| """CAFE HYBRID MANAGEMENT SYSTEM - CBSE Class 12 | SQLite + File Handling""" | |
| import sqlite3, csv, os | |
| from datetime import datetime | |
| import getpass | |
| def get_db(): | |
| os.makedirs('data', exist_ok=True) | |
| conn = sqlite3.connect('data/cafe_hybrid.db') | |
| conn.row_factory = sqlite3.Row | |
| conn.execute("PRAGMA foreign_keys = ON") |
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
| require("fs").readdirSync("./").filter((e => decodeURIComponent(e) !== e)).forEach(e => require('fs').renameSync(e, decodeURIComponent(e))) |
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 url(http://fonts.googleapis.com/css?family=Lato:400,100,100italic,300,300italic,400italic,700,700italic,900,900italic); | |
| /* ---------------------------------------------------- | |
| SKELETON | |
| ------------------------------------------------------- */ | |
| body { | |
| background: #fff; | |
| color: #777777; | |
| font-size: 14px; | |
| line-height: 31px; | |
| letter-spacing: 0; |
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
| /*! | |
| * Bootstrap v3.3.2 (http://getbootstrap.com) | |
| * Copyright 2011-2015 Twitter, Inc. | |
| * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
| */ | |
| /*! normalize.css v3.0.2 | MIT License | git.io/normalize */ | |
| html { | |
| font-family: sans-serif; | |
| -webkit-text-size-adjust: 100%; |
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
| @font-face { | |
| font-family: 'Stroke-Gap-Icons'; | |
| src: url('../fonts/Stroke-Gap-Icons.eot'); | |
| src: url('../fonts/Stroke-Gap-Icons.svg'); | |
| src: url('../fonts/Stroke-Gap-Icons.ttf'); | |
| src: url('../fonts/Stroke-Gap-Icons.woff'); | |
| } | |
| @font-face { | |
| font-family: 'Stroke-Gap-Icons'; | |
| src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggi/X0AAAC8AAAAYGNtYXAaVc0eAAABHAAAAExnYXNwAAAAEAAAAWgAAAAIZ2x5ZgTOI9oAAAFwAACpuGhlYWQAUlk+AACrKAAAADZoaGVhA+QCqQAAq2AAAAAkaG10eJEHFCcAAKuEAAADMGxvY2GAlFTgAACutAAAAZptYXhwAOEBAAAAsFAAAAAgbmFtZZxmbAoAALBwAAABinBvc3QAAwAAAACx/AAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADmxwHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEADgAAAAKAAgAAgACAAEAIObH//3//wAAAAAAIOYA//3//wAB/+MaBAADAAEAAAAAAAAAAAAAAAEAAf//AA8AAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAABAAA/+ACAAHgABQAKQA7AEEAAAUiLgI1ND4CMzIeAhUUDgIjESIOAhUUHgIzMj4CNTQuAiMTNyc3JwcnNxc3FwcXBz8BFwcHJzcnNxcBADVdRigoRl01NV1G |
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
| /*! | |
| * Font Awesome 4.3.0 by @davegandy - http://fontawesome.io - @fontawesome | |
| * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License) | |
| */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.3.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.3.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff2?v=4.3.0') format('woff2'),url('../fonts/fontawesome-webfont.woff?v=4.3.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.3.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;transform:translate(0, 0)}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width: |
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
| export const mixin = <a, b>(a: a, b: b): a & b => Object.assign(a, b); |
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
| !(function() { | |
| "use strict"; | |
| try { | |
| self["workbox:sw:6.1.5"]; | |
| } catch (t) {} | |
| const t = { | |
| backgroundSync: "background-sync", | |
| broadcastUpdate: "broadcast-update", | |
| cacheableResponse: "cacheable-response", | |
| core: "core", |
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 { JSDOM } from 'jsdom'; | |
| import { readFile } from 'node:fs'; | |
| import { resolve } from 'path'; | |
| function sleep(ms = 1000) { | |
| return new Promise((l, r) => { | |
| setTimeout(() => { | |
| l(); | |
| }, ms); | |
| }) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder