Delete codes.json
Browse files- codes.json +0 -32
codes.json
DELETED
|
@@ -1,32 +0,0 @@
|
|
| 1 |
-
[
|
| 2 |
-
{
|
| 3 |
-
"title": "Hello World JavaScript",
|
| 4 |
-
"content": "console.log('Hello, World!');",
|
| 5 |
-
"language": "javascript",
|
| 6 |
-
"description": "A simple Hello World program in JavaScript"
|
| 7 |
-
},
|
| 8 |
-
{
|
| 9 |
-
"title": "Python Data Analysis",
|
| 10 |
-
"content": "import pandas as pd\nimport numpy as np\n\n# Load data\ndf = pd.read_csv('data.csv')\nprint(df.head())",
|
| 11 |
-
"language": "python",
|
| 12 |
-
"description": "Basic data analysis with pandas"
|
| 13 |
-
},
|
| 14 |
-
{
|
| 15 |
-
"title": "HTML Template",
|
| 16 |
-
"content": "<!DOCTYPE html>\n<html>\n<head>\n <title>My Page</title>\n</head>\n<body>\n <h1>Welcome</h1>\n <p>This is a sample HTML page.</p>\n</body>\n</html>",
|
| 17 |
-
"language": "html",
|
| 18 |
-
"description": "Basic HTML template"
|
| 19 |
-
},
|
| 20 |
-
{
|
| 21 |
-
"title": "CSS Styling",
|
| 22 |
-
"content": "body {\n font-family: Arial, sans-serif;\n margin: 0;\n padding: 20px;\n background-color: #f5f5f5;\n}\n\n.container {\n max-width: 800px;\n margin: 0 auto;\n background: white;\n padding: 20px;\n border-radius: 8px;\n box-shadow: 0 2px 4px rgba(0,0,0,0.1);\n}",
|
| 23 |
-
"language": "css",
|
| 24 |
-
"description": "Basic CSS styling for a webpage"
|
| 25 |
-
},
|
| 26 |
-
{
|
| 27 |
-
"title": "SQL Query Example",
|
| 28 |
-
"content": "SELECT \n users.name,\n users.email,\n COUNT(orders.id) as order_count,\n SUM(orders.total) as total_spent\nFROM users\nLEFT JOIN orders ON users.id = orders.user_id\nWHERE users.created_at >= '2024-01-01'\nGROUP BY users.id\nORDER BY total_spent DESC\nLIMIT 10;",
|
| 29 |
-
"language": "sql",
|
| 30 |
-
"description": "SQL query to get top customers by spending"
|
| 31 |
-
}
|
| 32 |
-
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|