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
| // Date Table | |
| Date = Calendar(Date(2005,01,01), Date(2011,12,31)) | |
| Weeknumber = WEEKNUM('Date'[Date]) | |
| Daynumber = WEEKDAY('Date'[Date], 2) | |
| Dayname = IF('Date'[Daynumber]=1, "Monday", | |
| IF('Date'[Daynumber]=2, "Tuesday", | |
| IF('Date'[Daynumber]=3, "Wednesday", |
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
| # IU3.2.6SQLMini-project | |
| # Davina Leong | |
| /* | |
| [Q1] Create a new database schema (named 'sql_mini_proj') in a local | |
| instance of MySQL Workbench, and set it as default schema | |
| */ | |
| CREATE SCHEMA IF NOT EXISTS sql_mini_proj; | |
| USE sql_mini_proj; |
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
| # UI3.2.3BasicSQL - Hands-on Practice 1 (Slide 13) | |
| # Code from Davina Leong | |
| USE sql_101; | |
| /* | |
| 1. View all rows for each of the sales and managers tables. | |
| */ | |
| SELECT * FROM sales; | |
| SELECT * FROM managers; |
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
| /** Reset **/ | |
| /* https://piccalil.li/blog/a-modern-css-reset */ | |
| /* Box sizing rules */ | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } |
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
| * { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-size: 100%; | |
| font: inherit; | |
| vertical-align: baseline; | |
| box-sizing: border-box; | |
| } |
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
| /// Colors | |
| /// C.1. Color Definition | |
| $black: #000; | |
| $white: #fff; | |
| $gray: #9e9e9e; | |
| /// C.2. Tints | |
| /// C.2.a Red Tints | |
| $red-50: #ffebee; |
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
| { | |
| "red": { | |
| "50": "#ffebee", | |
| "100": "#ffcdd2", | |
| "200": "#ef9a9a", | |
| "300": "#e57373", | |
| "400": "#ef5350", | |
| "500": "#f44336", | |
| "600": "#e53935", | |
| "700": "#d32f2f", |
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
| const fontPath = './fonts/'; | |
| const montserrat = 'Montserrat'; | |
| const ptmono = 'PT Mono'; | |
| const ptsans = 'PT Sans'; | |
| const ptserif = 'PT Serif'; | |
| const normal = 'normal'; | |
| const regular = 'normal'; | |
| const bold = 'bold'; |
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
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| b, u, i, center, | |
| dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend, | |
| table, caption, tbody, tfoot, thead, tr, th, td, | |
| article, aside, canvas, details, embed, |
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
| <?php $var = "Hello World" ?> | |
| @extends('main') | |
| @section('title', 'Form') | |
| @section('content') | |
| <form id="formSignup" method="post" action=""> | |
| <div class="form-group"> | |
| <label for="name">Name <span class="text-danger">*</span></label> | |
| <input id="name" name="name" type="text" class="form-control" maxLength="50" required> |
NewerOlder