Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions frontend/static/quotes/code_bash.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
"source": "Monitoring disk usage in Bash",
"length": 218,
"id": 10
},
{
"text": "echo INSTALLING PACKAGES\nsudo apt install python3 --assume-yes\nsudo apt install python3-pip --assume-yes\nsudo apt install python3-flask --assume-yes\nsudo apt install python3-transliterate --assume-yes\nsudo apt install python3-fuzzywuzzy --assume-yes\nsudo apt install vsftpd --assume-yes\nsudo apt install nginx --assume-yes\npip install bext --break-system-packages",
"source": "eChat - Install script line 1-9",
"length": 363,
"id": 11
}
]
}
6 changes: 6 additions & 0 deletions frontend/static/quotes/code_css.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@
"source": "W3Schools CSS Linear Gradient with Multiple Color Stops",
"id": 20,
"length": 362
},
{
"text": "/* General body styles */\nbody {\n\tfont-family: Arial, sans-serif;\n\tmargin: 0;\n\tpadding: 0;\n\tbackground-color: #f4f4f4;\n\tcolor: #333;\n}",
"source": "eChat - CSS source code line 1-8",
"id": 21,
"length": 134
}
]
}
12 changes: 12 additions & 0 deletions frontend/static/quotes/code_python.json
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,18 @@
"source": "https://www.geeksforgeeks.org/python-program-for-dijkstras-shortest-path-algorithm-greedy-algo-7/",
"id": 75,
"length": 851
},
{
"text": "def redirect(link:str, text=\"\"):\n\treturn render_template(\"redirect.html\", link=link, text=text)",
"source": "eChat source code line 35-36",
"id": 76,
"length": 95
},
{
"text": "def isEnglish(s):\n\ttry:\n\t\ts.encode(encoding='utf-8').decode('ascii')\n\texcept UnicodeDecodeError:\n\t\treturn False\n\telse:\n\t\treturn True",
"source": "eChat source code line 96-102",
"id": 77,
"length": 132
}
]
}