For Codepen Challenge - Book Text. Auto overflow reader with aged paper styling.
A Pen by MOZZARELLA on CodePen.
def parse_json(data: Any, class_name: str) -> str: | |
if isinstance(data, dict): | |
fields = [] | |
nested_classes = [] | |
for key, value in data.items(): | |
field_type, nested_class = parse_json(value, key.capitalize()) | |
fields.append(f"{key}: {field_type}") | |
if nested_class: | |
nested_classes.append(nested_class) |
For Codepen Challenge - Book Text. Auto overflow reader with aged paper styling.
A Pen by MOZZARELLA on CodePen.
For my 5th collaboration with @sandhya_subram we created this 3D Ebook Flip Animation
Design link: https://dribbble.com/shots/14631976-3D-Ebook-Flip-Animation-in-Adobe-XD
A Pen by zhanyunpeng1996 on CodePen.
sudo -S <<< 'ssss' pwd |
#!/bin/bash | |
# Download it. | |
# Name it as 'theme' | |
# Place it in /usr/bin/ | |
# shell_prompt$ theme | |
echo ' | |
3024 Day ( 1) 3024 Night ( 2) AdventureTime ( 3) | |
Afterglow ( 4) AlienBlood ( 5) Argonaut ( 6) | |
Arthur ( 7) Atom ( 8) Belafonte Day ( 9) | |
Belafonte Night ( 10) BirdsOfParadise ( 11) Blazer ( 12) |
# |░▒▓███████░░░░░░░░░░| 50.0% completed | |
# def progress_bar(current_progress, total_progress): | |
# bar_length = 20 | |
# filled_length = int(bar_length * current_progress // total_progress) | |
# bar_list = ['░', '▒', '▓', '█'] | |
# bar = ''.join([bar_list[min(i,3)] for i in range(filled_length)] | |
# bar += ''.join([''░' for i in range(bar_length-filled_length)]) | |
# percent = "{:.1f}".format(100 * (current_progress / total_progress)) |
.figure.savefig('') |
# Description: Git aliases and functions | |
git stash push -S |
import requests | |
import json | |
# from tqdm import tqdm | |
filter_choice = { | |
"1": "7天内新增", | |
"2": "30天内新增", | |
"3": "半年内新增", | |
} | |
COOKIE = '' # 替换为自己的 |
class A(object): | |
def test(self): | |
print('from A') | |
class B(A): | |
def test(self): | |
print('from B') | |
class C(A): | |
def test(self): |