For MVP.CSS
⚫ <a> — text links
○ <a><b>, <a><strong> — solid link buttons
○ <a><em>, <a><i> — outlined link buttons
⚫ <article> — content area with normal styling
#!/usr/bin/bash | |
# Tiny colored fetch script | |
# Requires Typicons Font to display the icons | |
f=3 b=4 | |
for j in f b; do | |
for i in {0..7}; do | |
printf -v $j$i %b "\e[${!j}${i}m" | |
done | |
done |
⚫ <a> — text links
○ <a><b>, <a><strong> — solid link buttons
○ <a><em>, <a><i> — outlined link buttons
⚫ <article> — content area with normal styling
; variables to change | |
$termName = "wt.exe" ; terminal program | |
$tabName = "Kali" ; default tab name | |
$hotKey = "#`" ; dropdown hotkey | |
; start terminal and trigger dropdown | |
Run($termName) | |
WinWaitActive($tabName) | |
Send($hotKey) | |
WinWaitActive($tabName) |
/** | |
* Aliases to create DOM objects using $() like in JQuery | |
* | |
* @author Sheikh Saad Abdullah | |
* @param {String} selector selector for the element | |
* @returns DOM Object for specified element | |
*/ | |
const $ = (selector) => { | |
return selector[0] === "#" | |
? document.querySelector(selector) |
<div style="page-break-after: always;"></div>
#!/usr/bin/env python3 | |
class A: | |
def __init__(self, value): | |
self._x = value | |
@property | |
def x(self): | |
return self._x |
#!/usr/bin/env python3 | |
from dataclasses import dataclass | |
@dataclass | |
class Pomodoro: | |
work_hours: int | |
def __post_init__(self) -> None: | |
self._time: dict = { |