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|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tools": {
|
| 3 |
+
"development": {
|
| 4 |
+
"code_editors": [
|
| 5 |
+
{
|
| 6 |
+
"name": "vim",
|
| 7 |
+
"command": "vim",
|
| 8 |
+
"description": "Terminal-based text editor",
|
| 9 |
+
"config_path": "/home/sandbox/.vimrc"
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"name": "nano",
|
| 13 |
+
"command": "nano",
|
| 14 |
+
"description": "Simple terminal text editor",
|
| 15 |
+
"config_path": "/home/sandbox/.nanorc"
|
| 16 |
+
}
|
| 17 |
+
],
|
| 18 |
+
"version_control": [
|
| 19 |
+
{
|
| 20 |
+
"name": "git",
|
| 21 |
+
"command": "git",
|
| 22 |
+
"description": "Distributed version control system",
|
| 23 |
+
"config_path": "/home/sandbox/.gitconfig"
|
| 24 |
+
}
|
| 25 |
+
],
|
| 26 |
+
"package_managers": [
|
| 27 |
+
{
|
| 28 |
+
"name": "pip",
|
| 29 |
+
"command": "pip3",
|
| 30 |
+
"description": "Python package installer",
|
| 31 |
+
"config_path": "/home/sandbox/.pip/pip.conf"
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"name": "npm",
|
| 35 |
+
"command": "npm",
|
| 36 |
+
"description": "Node.js package manager",
|
| 37 |
+
"config_path": "/home/sandbox/.npmrc"
|
| 38 |
+
}
|
| 39 |
+
]
|
| 40 |
+
},
|
| 41 |
+
"system": {
|
| 42 |
+
"monitoring": [
|
| 43 |
+
{
|
| 44 |
+
"name": "htop",
|
| 45 |
+
"command": "htop",
|
| 46 |
+
"description": "Interactive process viewer",
|
| 47 |
+
"usage": "Monitor system resources and processes"
|
| 48 |
+
},
|
| 49 |
+
{
|
| 50 |
+
"name": "tree",
|
| 51 |
+
"command": "tree",
|
| 52 |
+
"description": "Directory tree display",
|
| 53 |
+
"usage": "tree [directory] - Display directory structure"
|
| 54 |
+
}
|
| 55 |
+
],
|
| 56 |
+
"networking": [
|
| 57 |
+
{
|
| 58 |
+
"name": "curl",
|
| 59 |
+
"command": "curl",
|
| 60 |
+
"description": "Command line HTTP client",
|
| 61 |
+
"usage": "curl [options] [URL] - Make HTTP requests"
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": "wget",
|
| 65 |
+
"command": "wget",
|
| 66 |
+
"description": "File downloader",
|
| 67 |
+
"usage": "wget [URL] - Download files from web"
|
| 68 |
+
}
|
| 69 |
+
]
|
| 70 |
+
},
|
| 71 |
+
"runtime_environments": {
|
| 72 |
+
"python": {
|
| 73 |
+
"version": "3.10+",
|
| 74 |
+
"interpreter": "/usr/bin/python3",
|
| 75 |
+
"package_manager": "pip3",
|
| 76 |
+
"virtual_env_tool": "venv",
|
| 77 |
+
"common_packages": [
|
| 78 |
+
"requests",
|
| 79 |
+
"pandas",
|
| 80 |
+
"numpy",
|
| 81 |
+
"matplotlib",
|
| 82 |
+
"jupyterlab",
|
| 83 |
+
"fastapi",
|
| 84 |
+
"uvicorn"
|
| 85 |
+
]
|
| 86 |
+
},
|
| 87 |
+
"nodejs": {
|
| 88 |
+
"version": "18+",
|
| 89 |
+
"interpreter": "/usr/bin/node",
|
| 90 |
+
"package_manager": "npm",
|
| 91 |
+
"runtime": "node",
|
| 92 |
+
"common_packages": [
|
| 93 |
+
"express",
|
| 94 |
+
"nodemon",
|
| 95 |
+
"pm2",
|
| 96 |
+
"axios",
|
| 97 |
+
"lodash"
|
| 98 |
+
]
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
"web_servers": {
|
| 102 |
+
"python_http": {
|
| 103 |
+
"command": "python3 -m http.server",
|
| 104 |
+
"port": 8000,
|
| 105 |
+
"description": "Simple HTTP server for static files"
|
| 106 |
+
},
|
| 107 |
+
"fastapi": {
|
| 108 |
+
"command": "uvicorn main:app --host 0.0.0.0 --port 8000",
|
| 109 |
+
"port": 8000,
|
| 110 |
+
"description": "FastAPI development server"
|
| 111 |
+
},
|
| 112 |
+
"jupyter": {
|
| 113 |
+
"command": "jupyter lab --ip=0.0.0.0 --port=8888 --no-browser --allow-root",
|
| 114 |
+
"port": 8888,
|
| 115 |
+
"description": "Jupyter Lab notebook server"
|
| 116 |
+
}
|
| 117 |
+
},
|
| 118 |
+
"custom_scripts": {
|
| 119 |
+
"init": {
|
| 120 |
+
"path": "/home/sandbox/init.sh",
|
| 121 |
+
"description": "Sandbox initialization script",
|
| 122 |
+
"executable": true
|
| 123 |
+
},
|
| 124 |
+
"start_jupyter": {
|
| 125 |
+
"path": "/home/sandbox/start_jupyter.sh",
|
| 126 |
+
"description": "Start Jupyter Lab server",
|
| 127 |
+
"executable": true
|
| 128 |
+
},
|
| 129 |
+
"project_setup": {
|
| 130 |
+
"path": "/home/sandbox/project_setup.sh",
|
| 131 |
+
"description": "Setup new project directory",
|
| 132 |
+
"executable": true
|
| 133 |
+
}
|
| 134 |
+
}
|
| 135 |
+
},
|
| 136 |
+
"shortcuts": {
|
| 137 |
+
"ll": "ls -la",
|
| 138 |
+
"la": "ls -A",
|
| 139 |
+
"l": "ls -CF",
|
| 140 |
+
"..": "cd ..",
|
| 141 |
+
"...": "cd ../..",
|
| 142 |
+
"grep": "grep --color=auto",
|
| 143 |
+
"fgrep": "fgrep --color=auto",
|
| 144 |
+
"egrep": "egrep --color=auto"
|
| 145 |
+
},
|
| 146 |
+
"environment_variables": {
|
| 147 |
+
"EDITOR": "vim",
|
| 148 |
+
"BROWSER": "echo",
|
| 149 |
+
"PYTHONDONTWRITEBYTECODE": "1",
|
| 150 |
+
"PYTHONUNBUFFERED": "1",
|
| 151 |
+
"NODE_ENV": "development"
|
| 152 |
+
},
|
| 153 |
+
"startup_commands": [
|
| 154 |
+
"echo 'Welcome to Ubuntu Sandbox!'",
|
| 155 |
+
"echo 'Available tools: $(ls /usr/bin | wc -l) system commands'",
|
| 156 |
+
"echo 'Python version: $(python3 --version)'",
|
| 157 |
+
"echo 'Node.js version: $(node --version)'",
|
| 158 |
+
"cd /home/sandbox/projects"
|
| 159 |
+
]
|
| 160 |
+
}
|