- SVG stands for Scalable Vector Graphics
- SVG is used to define vector-based graphics for the Web
- SVG defines the graphics in XML format
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
| enum StorageKey { | |
| SESSION_STORAGE_KEY = "auth", | |
| TEMP_SESSION_STORAGE_KEY = "temp_auth", | |
| GET_SESSION = "get_session", | |
| CLEAR_SESSION = "clear_session", | |
| } | |
| const triggerAction = (key: StorageKey) => { | |
| localStorage.setItem(key, "indifferent"); | |
| localStorage.removeItem(key); |
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 * as React from "react" | |
| export interface Props { | |
| xpLevel: number, | |
| xpNextLevel: number | |
| } | |
| export interface State { | |
| animateLevelBar: boolean | |
| } |
Getting software to work is only half of the job. (See Robert C. Martin)
"[...] when looking at test code it should feel as easy as modifying an HTML document and not like solving 2X(17 × 24) [...] allows the reader to get the grab instantly without spending even a single brain-CPU cycle [...]", @goldbergyoni
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 coLog = (message: string, customStyle?: string) => { | |
| const style = customStyle ?? `background: #204969; color: #FFF;`; | |
| console.log(`%c ${message}`, style); | |
| }; |
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 clipboardy = require('clipboardy'); | |
| const inquirer = require('inquirer'); | |
| const questions = [ | |
| { | |
| type: 'list', | |
| name: 'branchType', | |
| message: 'Branch type:', | |
| choices: ['feature', 'hotfix', 'release'], | |
| default: 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
| /** | |
| * Usages: | |
| * | |
| * Colors.parsers.hexadecimalToRgbRgba("ff", 0.2) // ff | |
| * Colors.parsers.hexadecimalToRgbRgba("f5f5f5f5f5", 0.5) // rgba(245,245,245,0.5) | |
| * Colors.parsers.hexadecimalToRgbRgba("ff00ff") // rgb(255,0,255) | |
| * Colors.parsers.hexadecimalToRgbRgba("F00", .5) // rgba(255,0,0,0.5) | |
| * Colors.parsers.hexadecimalToRgbRgba("#BADA55") // rgb(186,218,85) | |
| */ | |
| export const Colors = Object.freeze({ |