Spaces:
Paused
Paused
Commit
·
90f7845
1
Parent(s):
6630b1f
Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .bash_history +24 -0
- Dockerfile +5 -2
- code-server/CachedProfilesData/__default__profile__/extensions.user.cache +0 -0
- code-server/User/History/-73a348d/Fe67.ipynb +171 -0
- code-server/User/History/-73a348d/GuZV.ipynb +171 -0
- code-server/User/History/-73a348d/KoC8.ipynb +199 -0
- code-server/User/History/-73a348d/Uc3z.ipynb +178 -0
- code-server/User/History/-73a348d/entries.json +1 -0
- code-server/User/History/-73a348d/h7w2.ipynb +142 -0
- code-server/User/History/-73a348d/vfus.ipynb +142 -0
- code-server/User/History/-73a348d/yk6l.ipynb +148 -0
- code-server/User/History/23078143/7Vy0.conf +4 -0
- code-server/User/History/23078143/K5XC.conf +4 -0
- code-server/User/History/23078143/entries.json +1 -0
- code-server/User/History/23078143/oaOG.conf +4 -0
- code-server/User/History/293d0f31/0eKO +36 -0
- code-server/User/History/293d0f31/DMTv +36 -0
- code-server/User/History/293d0f31/EQzb +36 -0
- code-server/User/History/293d0f31/Rjjq +36 -0
- code-server/User/History/293d0f31/UOgS +36 -0
- code-server/User/History/293d0f31/UeuF +35 -0
- code-server/User/History/293d0f31/Uiu4 +36 -0
- code-server/User/History/293d0f31/VYaC +36 -0
- code-server/User/History/293d0f31/entries.json +1 -1
- code-server/User/History/293d0f31/rAtY +38 -0
- code-server/User/History/aac2916/JexT.sh +15 -0
- code-server/User/History/aac2916/KF0n.sh +22 -0
- code-server/User/History/aac2916/Mtd8.sh +23 -0
- code-server/User/History/aac2916/entries.json +1 -0
- code-server/User/History/aac2916/i23V.sh +23 -0
- code-server/User/workspaceStorage/-10b609d8/vscode.lock +1 -1
- code-server/coder.json +2 -3
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/__pycache__/typing_extensions.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/__init__.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_cmp.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_compat.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_config.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_funcs.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_make.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_next_gen.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_version_info.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/converters.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/exceptions.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/filters.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/setters.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/validators.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/__init__.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/converters.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/exceptions.cpython-311.pyc +0 -0
- code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/filters.cpython-311.pyc +0 -0
.bash_history
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
exit
|
| 2 |
+
which brew
|
| 3 |
+
brew --prefix
|
| 4 |
+
brew install transmission-daemon transmission-commons
|
| 5 |
+
service
|
| 6 |
+
systemctrl
|
| 7 |
+
tmux
|
| 8 |
+
brew install tmux
|
| 9 |
+
tmux
|
| 10 |
+
brew install nvim
|
| 11 |
+
nvim
|
| 12 |
+
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
|
| 13 |
+
nvim
|
| 14 |
+
nvim test.py
|
| 15 |
+
nvim .
|
| 16 |
+
nvim test.py
|
| 17 |
+
brew instal polipo
|
| 18 |
+
brew install polipo
|
| 19 |
+
brew install tinyproxy
|
| 20 |
+
tinyproxy --help
|
| 21 |
+
tinyproxy -v
|
| 22 |
+
tinyproxy -d -c app/tproxy.conf
|
| 23 |
+
history | grep install
|
| 24 |
+
exit
|
Dockerfile
CHANGED
|
@@ -22,14 +22,17 @@ RUN useradd -m -s /bin/bash linuxbrew && \
|
|
| 22 |
USER linuxbrew
|
| 23 |
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
|
| 25 |
-
USER linuxbrew
|
| 26 |
-
|
| 27 |
ENV HOME=/home/linuxbrew \
|
| 28 |
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 29 |
|
|
|
|
|
|
|
| 30 |
WORKDIR $HOME/app
|
| 31 |
|
| 32 |
COPY --chown=linuxbrew . $HOME/app
|
|
|
|
| 33 |
RUN huggingface-cli login --token=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
|
|
|
|
| 34 |
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
|
|
|
| 35 |
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
|
|
|
| 22 |
USER linuxbrew
|
| 23 |
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
|
|
|
|
|
|
|
| 25 |
ENV HOME=/home/linuxbrew \
|
| 26 |
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
WORKDIR $HOME/app
|
| 31 |
|
| 32 |
COPY --chown=linuxbrew . $HOME/app
|
| 33 |
+
|
| 34 |
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export HISTFIlE=/home/linuxbrew/app/.bash_history' >> $HOME/.bashrc
|
| 36 |
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 37 |
+
|
| 38 |
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/CachedProfilesData/__default__profile__/extensions.user.cache
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
code-server/User/History/-73a348d/Fe67.ipynb
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 3,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/linuxbrew/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"source": [
|
| 35 |
+
"%%writefile /home/linuxbrew/links.txt\n",
|
| 36 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": 4,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"name": "stdout",
|
| 46 |
+
"output_type": "stream",
|
| 47 |
+
"text": [
|
| 48 |
+
"\n",
|
| 49 |
+
"09/30 17:32:59 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 50 |
+
"\n",
|
| 51 |
+
"09/30 17:33:00 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 52 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 53 |
+
"\n",
|
| 54 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6976\n",
|
| 55 |
+
"\n",
|
| 56 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6964\n",
|
| 57 |
+
"\n",
|
| 58 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6964\n",
|
| 59 |
+
"\u001b[35m[\u001b[0m#6e3e30 14KiB/14KiB\u001b[36m(100%)\u001b[0m CN:43 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 60 |
+
"09/30 17:33:03 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 61 |
+
" *** Download Progress Summary as of Sat Sep 30 17:34:00 2023 *** [36m6.2KiB\u001b[0m(128KiB) ETA:\u001b[33m1h8m38s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 62 |
+
"===============================================================================\n",
|
| 63 |
+
"[#fa212b 21MiB/1.4GiB(1%) CN:30 SD:12 DL:385KiB UL:5.4KiB(128KiB) ETA:1h4m30s]\n",
|
| 64 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 65 |
+
"-------------------------------------------------------------------------------\n",
|
| 66 |
+
"\n",
|
| 67 |
+
" *** Download Progress Summary as of Sat Sep 30 17:35:01 2023 *** \u001b[36m0B\u001b[0m(320KiB) ETA:\u001b[33m1m14s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0mm\n",
|
| 68 |
+
"===============================================================================\n",
|
| 69 |
+
"[#fa212b 389MiB/1.4GiB(26%) CN:42 SD:12 DL:11MiB UL:0B(320KiB) ETA:1m32s]\n",
|
| 70 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 71 |
+
"-------------------------------------------------------------------------------\n",
|
| 72 |
+
"\n",
|
| 73 |
+
" *** Download Progress Summary as of Sat Sep 30 17:36:05 2023 *** \u001b[36m5.9KiB\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m0m\u001b[35m]\u001b[0m\u001b[0mm\n",
|
| 74 |
+
"===============================================================================\n",
|
| 75 |
+
"[#fa212b 1.4GiB/1.4GiB(99%) CN:38 SD:11 DL:12MiB UL:0B(464KiB)]\n",
|
| 76 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 77 |
+
"-------------------------------------------------------------------------------\n",
|
| 78 |
+
"\n",
|
| 79 |
+
"\u001b[35m[\u001b[0m#fa212b 1.4GiB/1.4GiB\u001b[36m(99%)\u001b[0m CN:38 SD:11 DL:\u001b[32m12MiB\u001b[0m UL:\u001b[36m0B\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 80 |
+
"09/30 17:36:05 [\u001b[1;32mNOTICE\u001b[0m] Seeding is over.\n",
|
| 81 |
+
"\u001b[35m[\u001b[0m#fa212b SEED(0.0) CN:34 SD:2 UL:\u001b[36m0B\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 82 |
+
"09/30 17:36:06 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]\n",
|
| 83 |
+
"\n",
|
| 84 |
+
"09/30 17:36:06 [\u001b[1;32mNOTICE\u001b[0m] Your share ratio was 0.0, uploaded/downloaded=464KiB/1.4GiB\n",
|
| 85 |
+
"\u001b[0m \n",
|
| 86 |
+
"Download Results:\n",
|
| 87 |
+
"gid |stat|avg speed |path/URI\n",
|
| 88 |
+
"======+====+===========+=======================================================\n",
|
| 89 |
+
"6e3e30|\u001b[1;32mOK\u001b[0m | 0B/s|[MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 90 |
+
"fa212b|\u001b[1;32mOK\u001b[0m | 8.2MiB/s|/home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 91 |
+
"\n",
|
| 92 |
+
"Status Legend:\n",
|
| 93 |
+
"(OK):download completed.\n"
|
| 94 |
+
]
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"source": [
|
| 98 |
+
"!aria2c --seed-time=0 -i /home/linuxbrew/links.txt"
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"cell_type": "code",
|
| 103 |
+
"execution_count": 5,
|
| 104 |
+
"metadata": {},
|
| 105 |
+
"outputs": [
|
| 106 |
+
{
|
| 107 |
+
"name": "stderr",
|
| 108 |
+
"output_type": "stream",
|
| 109 |
+
"text": [
|
| 110 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 111 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 112 |
+
"Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4: 0%| | 0.00/1.55G [00:00<?, ?B/s]\n",
|
| 113 |
+
"WWW.YTS.TO.jpg: 100%|██████████| 106k/106k [00:00<00:00, 1.15MB/s]\n",
|
| 114 |
+
"Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4: 100%|██████████| 1.55G/1.55G [00:21<00:00, 72.1MB/s]\n",
|
| 115 |
+
"Upload 2 LFS files: 100%|██████████| 2/2 [00:21<00:00, 10.90s/it]\n"
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": "stdout",
|
| 120 |
+
"output_type": "stream",
|
| 121 |
+
"text": [
|
| 122 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/30Sep2023\n"
|
| 123 |
+
]
|
| 124 |
+
}
|
| 125 |
+
],
|
| 126 |
+
"source": [
|
| 127 |
+
"from huggingface_hub import HfApi, login\n",
|
| 128 |
+
"import datetime\n",
|
| 129 |
+
"\n",
|
| 130 |
+
"api = HfApi()\n",
|
| 131 |
+
"\n",
|
| 132 |
+
"# Get the current date\n",
|
| 133 |
+
"current_date = datetime.datetime.now()\n",
|
| 134 |
+
"# Format the date as \"23apr2021\"\n",
|
| 135 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 136 |
+
"\n",
|
| 137 |
+
"out = api.upload_folder(\n",
|
| 138 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 139 |
+
" repo_type='dataset',\n",
|
| 140 |
+
" folder_path='.',\n",
|
| 141 |
+
" commit_message=formatted_date,\n",
|
| 142 |
+
" path_in_repo=formatted_date,\n",
|
| 143 |
+
" ignore_patterns='.*',\n",
|
| 144 |
+
")\n",
|
| 145 |
+
"print(out)"
|
| 146 |
+
]
|
| 147 |
+
}
|
| 148 |
+
],
|
| 149 |
+
"metadata": {
|
| 150 |
+
"kernelspec": {
|
| 151 |
+
"display_name": "Python 3",
|
| 152 |
+
"language": "python",
|
| 153 |
+
"name": "python3"
|
| 154 |
+
},
|
| 155 |
+
"language_info": {
|
| 156 |
+
"codemirror_mode": {
|
| 157 |
+
"name": "ipython",
|
| 158 |
+
"version": 3
|
| 159 |
+
},
|
| 160 |
+
"file_extension": ".py",
|
| 161 |
+
"mimetype": "text/x-python",
|
| 162 |
+
"name": "python",
|
| 163 |
+
"nbconvert_exporter": "python",
|
| 164 |
+
"pygments_lexer": "ipython3",
|
| 165 |
+
"version": "3.9.18"
|
| 166 |
+
},
|
| 167 |
+
"orig_nbformat": 4
|
| 168 |
+
},
|
| 169 |
+
"nbformat": 4,
|
| 170 |
+
"nbformat_minor": 2
|
| 171 |
+
}
|
code-server/User/History/-73a348d/GuZV.ipynb
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 3,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/linuxbrew/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"source": [
|
| 35 |
+
"%%writefile /home/linuxbrew/links.txt\n",
|
| 36 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": 4,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"name": "stdout",
|
| 46 |
+
"output_type": "stream",
|
| 47 |
+
"text": [
|
| 48 |
+
"\n",
|
| 49 |
+
"09/30 17:32:59 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 50 |
+
"\n",
|
| 51 |
+
"09/30 17:33:00 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 52 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 53 |
+
"\n",
|
| 54 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6976\n",
|
| 55 |
+
"\n",
|
| 56 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6964\n",
|
| 57 |
+
"\n",
|
| 58 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6964\n",
|
| 59 |
+
"\u001b[35m[\u001b[0m#6e3e30 14KiB/14KiB\u001b[36m(100%)\u001b[0m CN:43 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 60 |
+
"09/30 17:33:03 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 61 |
+
" *** Download Progress Summary as of Sat Sep 30 17:34:00 2023 *** [36m6.2KiB\u001b[0m(128KiB) ETA:\u001b[33m1h8m38s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 62 |
+
"===============================================================================\n",
|
| 63 |
+
"[#fa212b 21MiB/1.4GiB(1%) CN:30 SD:12 DL:385KiB UL:5.4KiB(128KiB) ETA:1h4m30s]\n",
|
| 64 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 65 |
+
"-------------------------------------------------------------------------------\n",
|
| 66 |
+
"\n",
|
| 67 |
+
" *** Download Progress Summary as of Sat Sep 30 17:35:01 2023 *** \u001b[36m0B\u001b[0m(320KiB) ETA:\u001b[33m1m14s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0mm\n",
|
| 68 |
+
"===============================================================================\n",
|
| 69 |
+
"[#fa212b 389MiB/1.4GiB(26%) CN:42 SD:12 DL:11MiB UL:0B(320KiB) ETA:1m32s]\n",
|
| 70 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 71 |
+
"-------------------------------------------------------------------------------\n",
|
| 72 |
+
"\n",
|
| 73 |
+
" *** Download Progress Summary as of Sat Sep 30 17:36:05 2023 *** \u001b[36m5.9KiB\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m0m\u001b[35m]\u001b[0m\u001b[0mm\n",
|
| 74 |
+
"===============================================================================\n",
|
| 75 |
+
"[#fa212b 1.4GiB/1.4GiB(99%) CN:38 SD:11 DL:12MiB UL:0B(464KiB)]\n",
|
| 76 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 77 |
+
"-------------------------------------------------------------------------------\n",
|
| 78 |
+
"\n",
|
| 79 |
+
"\u001b[35m[\u001b[0m#fa212b 1.4GiB/1.4GiB\u001b[36m(99%)\u001b[0m CN:38 SD:11 DL:\u001b[32m12MiB\u001b[0m UL:\u001b[36m0B\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 80 |
+
"09/30 17:36:05 [\u001b[1;32mNOTICE\u001b[0m] Seeding is over.\n",
|
| 81 |
+
"\u001b[35m[\u001b[0m#fa212b SEED(0.0) CN:34 SD:2 UL:\u001b[36m0B\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 82 |
+
"09/30 17:36:06 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]\n",
|
| 83 |
+
"\n",
|
| 84 |
+
"09/30 17:36:06 [\u001b[1;32mNOTICE\u001b[0m] Your share ratio was 0.0, uploaded/downloaded=464KiB/1.4GiB\n",
|
| 85 |
+
"\u001b[0m \n",
|
| 86 |
+
"Download Results:\n",
|
| 87 |
+
"gid |stat|avg speed |path/URI\n",
|
| 88 |
+
"======+====+===========+=======================================================\n",
|
| 89 |
+
"6e3e30|\u001b[1;32mOK\u001b[0m | 0B/s|[MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 90 |
+
"fa212b|\u001b[1;32mOK\u001b[0m | 8.2MiB/s|/home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 91 |
+
"\n",
|
| 92 |
+
"Status Legend:\n",
|
| 93 |
+
"(OK):download completed.\n"
|
| 94 |
+
]
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"source": [
|
| 98 |
+
"!aria2c --seed-time=0 -i /home/linuxbrew/links.txt"
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"cell_type": "code",
|
| 103 |
+
"execution_count": 5,
|
| 104 |
+
"metadata": {},
|
| 105 |
+
"outputs": [
|
| 106 |
+
{
|
| 107 |
+
"name": "stderr",
|
| 108 |
+
"output_type": "stream",
|
| 109 |
+
"text": [
|
| 110 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 111 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 112 |
+
"Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4: 0%| | 0.00/1.55G [00:00<?, ?B/s]\n",
|
| 113 |
+
"WWW.YTS.TO.jpg: 100%|██████████| 106k/106k [00:00<00:00, 1.15MB/s]\n",
|
| 114 |
+
"Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4: 100%|██████████| 1.55G/1.55G [00:21<00:00, 72.1MB/s]\n",
|
| 115 |
+
"Upload 2 LFS files: 100%|██████████| 2/2 [00:21<00:00, 10.90s/it]\n"
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": "stdout",
|
| 120 |
+
"output_type": "stream",
|
| 121 |
+
"text": [
|
| 122 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/30Sep2023\n"
|
| 123 |
+
]
|
| 124 |
+
}
|
| 125 |
+
],
|
| 126 |
+
"source": [
|
| 127 |
+
"from huggingface_hub import HfApi, login\n",
|
| 128 |
+
"import datetime\n",
|
| 129 |
+
"\n",
|
| 130 |
+
"api = HfApi()\n",
|
| 131 |
+
"\n",
|
| 132 |
+
"# Get the current date\n",
|
| 133 |
+
"current_date = datetime.datetime.now()\n",
|
| 134 |
+
"# Format the date as \"23apr2021\"\n",
|
| 135 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 136 |
+
"\n",
|
| 137 |
+
"out = api.upload_folder(\n",
|
| 138 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 139 |
+
" repo_type='dataset',\n",
|
| 140 |
+
" folder_path='.',\n",
|
| 141 |
+
" commit_message=formatted_date,\n",
|
| 142 |
+
" path_in_repo=formatted_date,\n",
|
| 143 |
+
" ignore_patterns='.*',\n",
|
| 144 |
+
")\n",
|
| 145 |
+
"print(out)"
|
| 146 |
+
]
|
| 147 |
+
}
|
| 148 |
+
],
|
| 149 |
+
"metadata": {
|
| 150 |
+
"kernelspec": {
|
| 151 |
+
"display_name": "Python 3",
|
| 152 |
+
"language": "python",
|
| 153 |
+
"name": "python3"
|
| 154 |
+
},
|
| 155 |
+
"language_info": {
|
| 156 |
+
"codemirror_mode": {
|
| 157 |
+
"name": "ipython",
|
| 158 |
+
"version": 3
|
| 159 |
+
},
|
| 160 |
+
"file_extension": ".py",
|
| 161 |
+
"mimetype": "text/x-python",
|
| 162 |
+
"name": "python",
|
| 163 |
+
"nbconvert_exporter": "python",
|
| 164 |
+
"pygments_lexer": "ipython3",
|
| 165 |
+
"version": "3.9.18"
|
| 166 |
+
},
|
| 167 |
+
"orig_nbformat": 4
|
| 168 |
+
},
|
| 169 |
+
"nbformat": 4,
|
| 170 |
+
"nbformat_minor": 2
|
| 171 |
+
}
|
code-server/User/History/-73a348d/KoC8.ipynb
ADDED
|
@@ -0,0 +1,199 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 2,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/user/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"ename": "FileNotFoundError",
|
| 35 |
+
"evalue": "[Errno 2] No such file or directory: '/home/user/links.txt'",
|
| 36 |
+
"output_type": "error",
|
| 37 |
+
"traceback": [
|
| 38 |
+
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
|
| 39 |
+
"\u001b[0;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
|
| 40 |
+
"Cell \u001b[0;32mIn[2], line 1\u001b[0m\n\u001b[0;32m----> 1\u001b[0m get_ipython()\u001b[39m.\u001b[39;49mrun_cell_magic(\u001b[39m'\u001b[39;49m\u001b[39mwritefile\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m'\u001b[39;49m\u001b[39m/home/user/links.txt\u001b[39;49m\u001b[39m'\u001b[39;49m, \u001b[39m'\u001b[39;49m\u001b[39mmagnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A\u001b[39;49m\u001b[39m%2F\u001b[39;49;00m\u001b[39m%2F\u001b[39;49;00m\u001b[39mtracker.opentrackr.org\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A1337&tr=udp\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A\u001b[39;49m\u001b[39m%2F\u001b[39;49;00m\u001b[39m%2F\u001b[39;49;00m\u001b[39mtracker.torrent.eu.org\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A451&tr=udp\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A\u001b[39;49m\u001b[39m%2F\u001b[39;49;00m\u001b[39m%2F\u001b[39;49;00m\u001b[39mtracker.moeking.me\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A6969&tr=udp\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A\u001b[39;49m\u001b[39m%2F\u001b[39;49;00m\u001b[39m%2F\u001b[39;49;00m\u001b[39mopentracker.i2p.rocks\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A6969&tr=udp\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A\u001b[39;49m\u001b[39m%2F\u001b[39;49;00m\u001b[39m%2F\u001b[39;49;00m\u001b[39mopen.tracker.cl\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A1337&tr=udp\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A\u001b[39;49m\u001b[39m%2F\u001b[39;49;00m\u001b[39m%2F\u001b[39;49;00m\u001b[39mexodus.desync.com\u001b[39;49m\u001b[39m%\u001b[39;49m\u001b[39m3A6969\u001b[39;49m\u001b[39m\\n\u001b[39;49;00m\u001b[39m'\u001b[39;49m)\n",
|
| 41 |
+
"File \u001b[0;32m~/.local/lib/python3.9/site-packages/IPython/core/interactiveshell.py:2493\u001b[0m, in \u001b[0;36mInteractiveShell.run_cell_magic\u001b[0;34m(self, magic_name, line, cell)\u001b[0m\n\u001b[1;32m 2491\u001b[0m \u001b[39mwith\u001b[39;00m \u001b[39mself\u001b[39m\u001b[39m.\u001b[39mbuiltin_trap:\n\u001b[1;32m 2492\u001b[0m args \u001b[39m=\u001b[39m (magic_arg_s, cell)\n\u001b[0;32m-> 2493\u001b[0m result \u001b[39m=\u001b[39m fn(\u001b[39m*\u001b[39;49margs, \u001b[39m*\u001b[39;49m\u001b[39m*\u001b[39;49mkwargs)\n\u001b[1;32m 2495\u001b[0m \u001b[39m# The code below prevents the output from being displayed\u001b[39;00m\n\u001b[1;32m 2496\u001b[0m \u001b[39m# when using magics with decorator @output_can_be_silenced\u001b[39;00m\n\u001b[1;32m 2497\u001b[0m \u001b[39m# when the last Python token in the expression is a ';'.\u001b[39;00m\n\u001b[1;32m 2498\u001b[0m \u001b[39mif\u001b[39;00m \u001b[39mgetattr\u001b[39m(fn, magic\u001b[39m.\u001b[39mMAGIC_OUTPUT_CAN_BE_SILENCED, \u001b[39mFalse\u001b[39;00m):\n",
|
| 42 |
+
"File \u001b[0;32m~/.local/lib/python3.9/site-packages/IPython/core/magics/osm.py:854\u001b[0m, in \u001b[0;36mOSMagics.writefile\u001b[0;34m(self, line, cell)\u001b[0m\n\u001b[1;32m 851\u001b[0m \u001b[39mprint\u001b[39m(\u001b[39m\"\u001b[39m\u001b[39mWriting \u001b[39m\u001b[39m%s\u001b[39;00m\u001b[39m\"\u001b[39m \u001b[39m%\u001b[39m filename)\n\u001b[1;32m 853\u001b[0m mode \u001b[39m=\u001b[39m \u001b[39m'\u001b[39m\u001b[39ma\u001b[39m\u001b[39m'\u001b[39m \u001b[39mif\u001b[39;00m args\u001b[39m.\u001b[39mappend \u001b[39melse\u001b[39;00m \u001b[39m'\u001b[39m\u001b[39mw\u001b[39m\u001b[39m'\u001b[39m\n\u001b[0;32m--> 854\u001b[0m \u001b[39mwith\u001b[39;00m io\u001b[39m.\u001b[39;49mopen(filename, mode, encoding\u001b[39m=\u001b[39;49m\u001b[39m'\u001b[39;49m\u001b[39mutf-8\u001b[39;49m\u001b[39m'\u001b[39;49m) \u001b[39mas\u001b[39;00m f:\n\u001b[1;32m 855\u001b[0m f\u001b[39m.\u001b[39mwrite(cell)\n",
|
| 43 |
+
"\u001b[0;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: '/home/user/links.txt'"
|
| 44 |
+
]
|
| 45 |
+
}
|
| 46 |
+
],
|
| 47 |
+
"source": [
|
| 48 |
+
"%%writefile /home/user/links.txt\n",
|
| 49 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 50 |
+
]
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"cell_type": "code",
|
| 54 |
+
"execution_count": 3,
|
| 55 |
+
"metadata": {},
|
| 56 |
+
"outputs": [
|
| 57 |
+
{
|
| 58 |
+
"name": "stdout",
|
| 59 |
+
"output_type": "stream",
|
| 60 |
+
"text": [
|
| 61 |
+
"\n",
|
| 62 |
+
"09/28 05:13:09 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 63 |
+
"\n",
|
| 64 |
+
"09/28 05:13:09 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/user/.cache/aria2/dht.dat\n",
|
| 65 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/user/.cache/aria2/dht.dat\n",
|
| 66 |
+
"\n",
|
| 67 |
+
"09/28 05:13:09 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6989\n",
|
| 68 |
+
"\n",
|
| 69 |
+
"09/28 05:13:09 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6910\n",
|
| 70 |
+
"\n",
|
| 71 |
+
"09/28 05:13:09 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6910\n",
|
| 72 |
+
"\u001b[35m[\u001b[0m#0df142 28KiB/28KiB\u001b[36m(100%)\u001b[0m CN:11 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 73 |
+
"09/28 05:13:11 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG\n",
|
| 74 |
+
" *** Download Progress Summary as of Thu Sep 28 05:14:09 2023 *** 6m3.7KiB\u001b[0m(656KiB) ETA:\u001b[33m25m54s\u001b[0m\u001b[35m]\u001b[0m\u001b[0mmm\n",
|
| 75 |
+
"===============================================================================\n",
|
| 76 |
+
"[#444c5a 33MiB/1.4GiB(2%) CN:8 SD:2 DL:0.9MiB UL:5.0KiB(672KiB) ETA:25m24s]\n",
|
| 77 |
+
"FILE: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 78 |
+
"-------------------------------------------------------------------------------\n",
|
| 79 |
+
"\n",
|
| 80 |
+
" *** Download Progress Summary as of Thu Sep 28 05:15:10 2023 *** 6m16KiB\u001b[0m(0.9MiB) ETA:\u001b[33m18m36s\u001b[0m\u001b[35m]\u001b[0m\u001b[0mmm\n",
|
| 81 |
+
"===============================================================================\n",
|
| 82 |
+
"[#444c5a 98MiB/1.4GiB(6%) CN:4 SD:3 DL:1.2MiB UL:14KiB(0.9MiB) ETA:17m24s]\n",
|
| 83 |
+
"FILE: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 84 |
+
"-------------------------------------------------------------------------------\n",
|
| 85 |
+
"\n",
|
| 86 |
+
" *** Download Progress Summary as of Thu Sep 28 05:16:10 2023 *** [36m13KiB\u001b[0m(1.3MiB) ETA:\u001b[33m4m32s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m0m\n",
|
| 87 |
+
"===============================================================================\n",
|
| 88 |
+
"[#444c5a 261MiB/1.4GiB(18%) CN:9 SD:3 DL:4.2MiB UL:12KiB(1.3MiB) ETA:4m34s]\n",
|
| 89 |
+
"FILE: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 90 |
+
"-------------------------------------------------------------------------------\n",
|
| 91 |
+
"\n",
|
| 92 |
+
" *** Download Progress Summary as of Thu Sep 28 05:17:11 2023 *** [36m3.8KiB\u001b[0m(1.5MiB) ETA:\u001b[33m3m40s\u001b[0m\u001b[35m]\u001b[0m\u001b[0mm\n",
|
| 93 |
+
"===============================================================================\n",
|
| 94 |
+
"[#444c5a 504MiB/1.4GiB(35%) CN:13 SD:3 DL:4.7MiB UL:3.4KiB(1.5MiB) ETA:3m17s]\n",
|
| 95 |
+
"FILE: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 96 |
+
"-------------------------------------------------------------------------------\n",
|
| 97 |
+
"\n",
|
| 98 |
+
" *** Download Progress Summary as of Thu Sep 28 05:18:11 2023 *** \u001b[36m0B\u001b[0m(1.8MiB) ETA:\u001b[33m1m33s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0m\n",
|
| 99 |
+
"===============================================================================\n",
|
| 100 |
+
"[#444c5a 851MiB/1.4GiB(59%) CN:11 SD:3 DL:6.5MiB UL:0B(1.8MiB) ETA:1m29s]\n",
|
| 101 |
+
"FILE: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 102 |
+
"-------------------------------------------------------------------------------\n",
|
| 103 |
+
"\n",
|
| 104 |
+
" *** Download Progress Summary as of Thu Sep 28 05:19:12 2023 *** \u001b[36m0B\u001b[0m(2.2MiB) ETA:\u001b[33m36s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0mmm\n",
|
| 105 |
+
"===============================================================================\n",
|
| 106 |
+
"[#444c5a 1.2GiB/1.4GiB(86%) CN:12 SD:3 DL:4.8MiB UL:0B(2.2MiB) ETA:39s]\n",
|
| 107 |
+
"FILE: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 108 |
+
"-------------------------------------------------------------------------------\n",
|
| 109 |
+
"\n",
|
| 110 |
+
"\u001b[35m[\u001b[0m#444c5a 1.4GiB/1.4GiB\u001b[36m(99%)\u001b[0m CN:14 SD:3 DL:\u001b[32m5.4MiB\u001b[0m UL:\u001b[36m6.0KiB\u001b[0m(2.4MiB)\u001b[35m]\u001b[0m\u001b[0m0m\u001b[35m]\u001b[0m\u001b[0mm\n",
|
| 111 |
+
"09/28 05:19:50 [\u001b[1;32mNOTICE\u001b[0m] Seeding is over.\n",
|
| 112 |
+
"\u001b[35m[\u001b[0m#444c5a SEED(0.0) CN:11 SD:0 UL:\u001b[36m5.2KiB\u001b[0m(2.4MiB)\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 113 |
+
"09/28 05:19:52 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]\n",
|
| 114 |
+
"\n",
|
| 115 |
+
"09/28 05:19:52 [\u001b[1;32mNOTICE\u001b[0m] Your share ratio was 0.0, uploaded/downloaded=2.4MiB/1.4GiB\n",
|
| 116 |
+
"\u001b[0m \n",
|
| 117 |
+
"Download Results:\n",
|
| 118 |
+
"gid |stat|avg speed |path/URI\n",
|
| 119 |
+
"======+====+===========+=======================================================\n",
|
| 120 |
+
"0df142|\u001b[1;32mOK\u001b[0m | 0B/s|[MEMORY][METADATA]Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG\n",
|
| 121 |
+
"444c5a|\u001b[1;32mOK\u001b[0m | 3.5MiB/s|/home/user/downloads/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG[TGx]/Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv (1more)\n",
|
| 122 |
+
"\n",
|
| 123 |
+
"Status Legend:\n",
|
| 124 |
+
"(OK):download completed.\n"
|
| 125 |
+
]
|
| 126 |
+
}
|
| 127 |
+
],
|
| 128 |
+
"source": [
|
| 129 |
+
"!aria2c --seed-time=0 -i /home/user/links.txt"
|
| 130 |
+
]
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"cell_type": "code",
|
| 134 |
+
"execution_count": 4,
|
| 135 |
+
"metadata": {},
|
| 136 |
+
"outputs": [
|
| 137 |
+
{
|
| 138 |
+
"name": "stderr",
|
| 139 |
+
"output_type": "stream",
|
| 140 |
+
"text": [
|
| 141 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 142 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 143 |
+
"Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv: 100%|██████████| 1.51G/1.51G [00:26<00:00, 55.9MB/s]\n"
|
| 144 |
+
]
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"name": "stdout",
|
| 148 |
+
"output_type": "stream",
|
| 149 |
+
"text": [
|
| 150 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/28Sep2023\n"
|
| 151 |
+
]
|
| 152 |
+
}
|
| 153 |
+
],
|
| 154 |
+
"source": [
|
| 155 |
+
"from huggingface_hub import HfApi, login\n",
|
| 156 |
+
"import datetime\n",
|
| 157 |
+
"\n",
|
| 158 |
+
"api = HfApi()\n",
|
| 159 |
+
"\n",
|
| 160 |
+
"# Get the current date\n",
|
| 161 |
+
"current_date = datetime.datetime.now()\n",
|
| 162 |
+
"# Format the date as \"23apr2021\"\n",
|
| 163 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 164 |
+
"\n",
|
| 165 |
+
"out = api.upload_folder(\n",
|
| 166 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 167 |
+
" repo_type='dataset',\n",
|
| 168 |
+
" folder_path='.',\n",
|
| 169 |
+
" commit_message=formatted_date,\n",
|
| 170 |
+
" path_in_repo=formatted_date,\n",
|
| 171 |
+
" ignore_patterns='.*',\n",
|
| 172 |
+
")\n",
|
| 173 |
+
"print(out)"
|
| 174 |
+
]
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"metadata": {
|
| 178 |
+
"kernelspec": {
|
| 179 |
+
"display_name": "Python 3",
|
| 180 |
+
"language": "python",
|
| 181 |
+
"name": "python3"
|
| 182 |
+
},
|
| 183 |
+
"language_info": {
|
| 184 |
+
"codemirror_mode": {
|
| 185 |
+
"name": "ipython",
|
| 186 |
+
"version": 3
|
| 187 |
+
},
|
| 188 |
+
"file_extension": ".py",
|
| 189 |
+
"mimetype": "text/x-python",
|
| 190 |
+
"name": "python",
|
| 191 |
+
"nbconvert_exporter": "python",
|
| 192 |
+
"pygments_lexer": "ipython3",
|
| 193 |
+
"version": "3.9.18"
|
| 194 |
+
},
|
| 195 |
+
"orig_nbformat": 4
|
| 196 |
+
},
|
| 197 |
+
"nbformat": 4,
|
| 198 |
+
"nbformat_minor": 2
|
| 199 |
+
}
|
code-server/User/History/-73a348d/Uc3z.ipynb
ADDED
|
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 3,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/linuxbrew/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"source": [
|
| 35 |
+
"%%writefile /home/linuxbrew/links.txt\n",
|
| 36 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": 4,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"name": "stdout",
|
| 46 |
+
"output_type": "stream",
|
| 47 |
+
"text": [
|
| 48 |
+
"\n",
|
| 49 |
+
"09/30 17:32:59 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 50 |
+
"\n",
|
| 51 |
+
"09/30 17:33:00 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 52 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 53 |
+
"\n",
|
| 54 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6976\n",
|
| 55 |
+
"\n",
|
| 56 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6964\n",
|
| 57 |
+
"\n",
|
| 58 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6964\n",
|
| 59 |
+
"\u001b[35m[\u001b[0m#6e3e30 14KiB/14KiB\u001b[36m(100%)\u001b[0m CN:43 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 60 |
+
"09/30 17:33:03 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 61 |
+
" *** Download Progress Summary as of Sat Sep 30 17:34:00 2023 *** [36m6.2KiB\u001b[0m(128KiB) ETA:\u001b[33m1h8m38s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 62 |
+
"===============================================================================\n",
|
| 63 |
+
"[#fa212b 21MiB/1.4GiB(1%) CN:30 SD:12 DL:385KiB UL:5.4KiB(128KiB) ETA:1h4m30s]\n",
|
| 64 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 65 |
+
"-------------------------------------------------------------------------------\n",
|
| 66 |
+
"\n",
|
| 67 |
+
" *** Download Progress Summary as of Sat Sep 30 17:35:01 2023 *** \u001b[36m0B\u001b[0m(320KiB) ETA:\u001b[33m1m14s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0mm\n",
|
| 68 |
+
"===============================================================================\n",
|
| 69 |
+
"[#fa212b 389MiB/1.4GiB(26%) CN:42 SD:12 DL:11MiB UL:0B(320KiB) ETA:1m32s]\n",
|
| 70 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 71 |
+
"-------------------------------------------------------------------------------\n",
|
| 72 |
+
"\n",
|
| 73 |
+
" *** Download Progress Summary as of Sat Sep 30 17:36:05 2023 *** \u001b[36m5.9KiB\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m0m\u001b[35m]\u001b[0m\u001b[0mm\n",
|
| 74 |
+
"===============================================================================\n",
|
| 75 |
+
"[#fa212b 1.4GiB/1.4GiB(99%) CN:38 SD:11 DL:12MiB UL:0B(464KiB)]\n",
|
| 76 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 77 |
+
"-------------------------------------------------------------------------------\n",
|
| 78 |
+
"\n",
|
| 79 |
+
"\u001b[35m[\u001b[0m#fa212b 1.4GiB/1.4GiB\u001b[36m(99%)\u001b[0m CN:38 SD:11 DL:\u001b[32m12MiB\u001b[0m UL:\u001b[36m0B\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 80 |
+
"09/30 17:36:05 [\u001b[1;32mNOTICE\u001b[0m] Seeding is over.\n",
|
| 81 |
+
"\u001b[35m[\u001b[0m#fa212b SEED(0.0) CN:34 SD:2 UL:\u001b[36m0B\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 82 |
+
"09/30 17:36:06 [\u001b[1;32mNOTICE\u001b[0m] Download complete: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]\n",
|
| 83 |
+
"\n",
|
| 84 |
+
"09/30 17:36:06 [\u001b[1;32mNOTICE\u001b[0m] Your share ratio was 0.0, uploaded/downloaded=464KiB/1.4GiB\n",
|
| 85 |
+
"\u001b[0m \n",
|
| 86 |
+
"Download Results:\n",
|
| 87 |
+
"gid |stat|avg speed |path/URI\n",
|
| 88 |
+
"======+====+===========+=======================================================\n",
|
| 89 |
+
"6e3e30|\u001b[1;32mOK\u001b[0m | 0B/s|[MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 90 |
+
"fa212b|\u001b[1;32mOK\u001b[0m | 8.2MiB/s|/home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 91 |
+
"\n",
|
| 92 |
+
"Status Legend:\n",
|
| 93 |
+
"(OK):download completed.\n"
|
| 94 |
+
]
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"source": [
|
| 98 |
+
"!aria2c --seed-time=0 -i /home/linuxbrew/links.txt"
|
| 99 |
+
]
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"cell_type": "code",
|
| 103 |
+
"execution_count": 5,
|
| 104 |
+
"metadata": {},
|
| 105 |
+
"outputs": [
|
| 106 |
+
{
|
| 107 |
+
"name": "stderr",
|
| 108 |
+
"output_type": "stream",
|
| 109 |
+
"text": [
|
| 110 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 111 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 112 |
+
"Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4: 0%| | 0.00/1.55G [00:00<?, ?B/s]\n",
|
| 113 |
+
"WWW.YTS.TO.jpg: 100%|██████████| 106k/106k [00:00<00:00, 1.15MB/s]\n",
|
| 114 |
+
"Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4: 100%|██████████| 1.55G/1.55G [00:21<00:00, 72.1MB/s]\n",
|
| 115 |
+
"Upload 2 LFS files: 100%|██████████| 2/2 [00:21<00:00, 10.90s/it]\n"
|
| 116 |
+
]
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"name": "stdout",
|
| 120 |
+
"output_type": "stream",
|
| 121 |
+
"text": [
|
| 122 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/30Sep2023\n"
|
| 123 |
+
]
|
| 124 |
+
}
|
| 125 |
+
],
|
| 126 |
+
"source": [
|
| 127 |
+
"from huggingface_hub import HfApi, login\n",
|
| 128 |
+
"import datetime\n",
|
| 129 |
+
"\n",
|
| 130 |
+
"api = HfApi()\n",
|
| 131 |
+
"\n",
|
| 132 |
+
"# Get the current date\n",
|
| 133 |
+
"current_date = datetime.datetime.now()\n",
|
| 134 |
+
"# Format the date as \"23apr2021\"\n",
|
| 135 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 136 |
+
"\n",
|
| 137 |
+
"out = api.upload_folder(\n",
|
| 138 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 139 |
+
" repo_type='dataset',\n",
|
| 140 |
+
" folder_path='.',\n",
|
| 141 |
+
" commit_message=formatted_date,\n",
|
| 142 |
+
" path_in_repo=formatted_date,\n",
|
| 143 |
+
" ignore_patterns='.*',\n",
|
| 144 |
+
")\n",
|
| 145 |
+
"print(out)"
|
| 146 |
+
]
|
| 147 |
+
},
|
| 148 |
+
{
|
| 149 |
+
"cell_type": "code",
|
| 150 |
+
"execution_count": null,
|
| 151 |
+
"metadata": {},
|
| 152 |
+
"outputs": [],
|
| 153 |
+
"source": []
|
| 154 |
+
}
|
| 155 |
+
],
|
| 156 |
+
"metadata": {
|
| 157 |
+
"kernelspec": {
|
| 158 |
+
"display_name": "Python 3",
|
| 159 |
+
"language": "python",
|
| 160 |
+
"name": "python3"
|
| 161 |
+
},
|
| 162 |
+
"language_info": {
|
| 163 |
+
"codemirror_mode": {
|
| 164 |
+
"name": "ipython",
|
| 165 |
+
"version": 3
|
| 166 |
+
},
|
| 167 |
+
"file_extension": ".py",
|
| 168 |
+
"mimetype": "text/x-python",
|
| 169 |
+
"name": "python",
|
| 170 |
+
"nbconvert_exporter": "python",
|
| 171 |
+
"pygments_lexer": "ipython3",
|
| 172 |
+
"version": "3.9.18"
|
| 173 |
+
},
|
| 174 |
+
"orig_nbformat": 4
|
| 175 |
+
},
|
| 176 |
+
"nbformat": 4,
|
| 177 |
+
"nbformat_minor": 2
|
| 178 |
+
}
|
code-server/User/History/-73a348d/entries.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":1,"resource":"vscode-remote://snirjhar-colab-code-server.hf.space/home/linuxbrew/app/torrent.ipynb","entries":[{"id":"KoC8.ipynb","timestamp":1696095153436},{"id":"vfus.ipynb","timestamp":1696095276388},{"id":"h7w2.ipynb","timestamp":1696095301712},{"id":"yk6l.ipynb","timestamp":1696095361263},{"id":"GuZV.ipynb","timestamp":1696095547603},{"id":"Uc3z.ipynb","source":"edit","timestamp":1696100034105},{"id":"Fe67.ipynb","source":"Insert Cell","timestamp":1696100036285}]}
|
code-server/User/History/-73a348d/h7w2.ipynb
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 3,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/linuxbrew/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"source": [
|
| 35 |
+
"%%writefile /home/linuxbrew/links.txt\n",
|
| 36 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": 4,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"name": "stdout",
|
| 46 |
+
"output_type": "stream",
|
| 47 |
+
"text": [
|
| 48 |
+
"\n",
|
| 49 |
+
"09/30 17:32:59 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 50 |
+
"\n",
|
| 51 |
+
"09/30 17:33:00 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 52 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 53 |
+
"\n",
|
| 54 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6976\n",
|
| 55 |
+
"\n",
|
| 56 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6964\n",
|
| 57 |
+
"\n",
|
| 58 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6964\n",
|
| 59 |
+
"\u001b[35m[\u001b[0m#6e3e30 14KiB/14KiB\u001b[36m(100%)\u001b[0m CN:43 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 60 |
+
"09/30 17:33:03 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 61 |
+
" *** Download Progress Summary as of Sat Sep 30 17:34:00 2023 *** [36m6.2KiB\u001b[0m(128KiB) ETA:\u001b[33m1h8m38s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 62 |
+
"===============================================================================\n",
|
| 63 |
+
"[#fa212b 21MiB/1.4GiB(1%) CN:30 SD:12 DL:385KiB UL:5.4KiB(128KiB) ETA:1h4m30s]\n",
|
| 64 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 65 |
+
"-------------------------------------------------------------------------------\n",
|
| 66 |
+
"\n",
|
| 67 |
+
"\u001b[35m[\u001b[0m#fa212b 389MiB/1.4GiB\u001b[36m(26%)\u001b[0m CN:42 SD:12 DL:\u001b[32m14MiB\u001b[0m UL:\u001b[36m0B\u001b[0m(320KiB) ETA:\u001b[33m1m14s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0mm"
|
| 68 |
+
]
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"source": [
|
| 72 |
+
"!aria2c --seed-time=0 -i /home/linuxbrew/links.txt"
|
| 73 |
+
]
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"cell_type": "code",
|
| 77 |
+
"execution_count": null,
|
| 78 |
+
"metadata": {},
|
| 79 |
+
"outputs": [
|
| 80 |
+
{
|
| 81 |
+
"name": "stderr",
|
| 82 |
+
"output_type": "stream",
|
| 83 |
+
"text": [
|
| 84 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 85 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 86 |
+
"Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv: 100%|██████████| 1.51G/1.51G [00:26<00:00, 55.9MB/s]\n"
|
| 87 |
+
]
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": "stdout",
|
| 91 |
+
"output_type": "stream",
|
| 92 |
+
"text": [
|
| 93 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/28Sep2023\n"
|
| 94 |
+
]
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"source": [
|
| 98 |
+
"from huggingface_hub import HfApi, login\n",
|
| 99 |
+
"import datetime\n",
|
| 100 |
+
"\n",
|
| 101 |
+
"api = HfApi()\n",
|
| 102 |
+
"\n",
|
| 103 |
+
"# Get the current date\n",
|
| 104 |
+
"current_date = datetime.datetime.now()\n",
|
| 105 |
+
"# Format the date as \"23apr2021\"\n",
|
| 106 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 107 |
+
"\n",
|
| 108 |
+
"out = api.upload_folder(\n",
|
| 109 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 110 |
+
" repo_type='dataset',\n",
|
| 111 |
+
" folder_path='.',\n",
|
| 112 |
+
" commit_message=formatted_date,\n",
|
| 113 |
+
" path_in_repo=formatted_date,\n",
|
| 114 |
+
" ignore_patterns='.*',\n",
|
| 115 |
+
")\n",
|
| 116 |
+
"print(out)"
|
| 117 |
+
]
|
| 118 |
+
}
|
| 119 |
+
],
|
| 120 |
+
"metadata": {
|
| 121 |
+
"kernelspec": {
|
| 122 |
+
"display_name": "Python 3",
|
| 123 |
+
"language": "python",
|
| 124 |
+
"name": "python3"
|
| 125 |
+
},
|
| 126 |
+
"language_info": {
|
| 127 |
+
"codemirror_mode": {
|
| 128 |
+
"name": "ipython",
|
| 129 |
+
"version": 3
|
| 130 |
+
},
|
| 131 |
+
"file_extension": ".py",
|
| 132 |
+
"mimetype": "text/x-python",
|
| 133 |
+
"name": "python",
|
| 134 |
+
"nbconvert_exporter": "python",
|
| 135 |
+
"pygments_lexer": "ipython3",
|
| 136 |
+
"version": "3.9.18"
|
| 137 |
+
},
|
| 138 |
+
"orig_nbformat": 4
|
| 139 |
+
},
|
| 140 |
+
"nbformat": 4,
|
| 141 |
+
"nbformat_minor": 2
|
| 142 |
+
}
|
code-server/User/History/-73a348d/vfus.ipynb
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 3,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/linuxbrew/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"source": [
|
| 35 |
+
"%%writefile /home/linuxbrew/links.txt\n",
|
| 36 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": 4,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"name": "stdout",
|
| 46 |
+
"output_type": "stream",
|
| 47 |
+
"text": [
|
| 48 |
+
"\n",
|
| 49 |
+
"09/30 17:32:59 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 50 |
+
"\n",
|
| 51 |
+
"09/30 17:33:00 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 52 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 53 |
+
"\n",
|
| 54 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6976\n",
|
| 55 |
+
"\n",
|
| 56 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6964\n",
|
| 57 |
+
"\n",
|
| 58 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6964\n",
|
| 59 |
+
"\u001b[35m[\u001b[0m#6e3e30 14KiB/14KiB\u001b[36m(100%)\u001b[0m CN:43 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 60 |
+
"09/30 17:33:03 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 61 |
+
" *** Download Progress Summary as of Sat Sep 30 17:34:00 2023 *** [36m6.2KiB\u001b[0m(128KiB) ETA:\u001b[33m1h8m38s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 62 |
+
"===============================================================================\n",
|
| 63 |
+
"[#fa212b 21MiB/1.4GiB(1%) CN:30 SD:12 DL:385KiB UL:5.4KiB(128KiB) ETA:1h4m30s]\n",
|
| 64 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 65 |
+
"-------------------------------------------------------------------------------\n",
|
| 66 |
+
"\n",
|
| 67 |
+
"\u001b[35m[\u001b[0m#fa212b 83MiB/1.4GiB\u001b[36m(5%)\u001b[0m CN:44 SD:16 DL:\u001b[32m3.0MiB\u001b[0m UL:\u001b[36m9.6KiB\u001b[0m(272KiB) ETA:\u001b[33m7m36s\u001b[0m\u001b[35m]\u001b[0m\u001b[0mmm"
|
| 68 |
+
]
|
| 69 |
+
}
|
| 70 |
+
],
|
| 71 |
+
"source": [
|
| 72 |
+
"!aria2c --seed-time=0 -i /home/linuxbrew/links.txt"
|
| 73 |
+
]
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"cell_type": "code",
|
| 77 |
+
"execution_count": null,
|
| 78 |
+
"metadata": {},
|
| 79 |
+
"outputs": [
|
| 80 |
+
{
|
| 81 |
+
"name": "stderr",
|
| 82 |
+
"output_type": "stream",
|
| 83 |
+
"text": [
|
| 84 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 85 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 86 |
+
"Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv: 100%|██████████| 1.51G/1.51G [00:26<00:00, 55.9MB/s]\n"
|
| 87 |
+
]
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"name": "stdout",
|
| 91 |
+
"output_type": "stream",
|
| 92 |
+
"text": [
|
| 93 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/28Sep2023\n"
|
| 94 |
+
]
|
| 95 |
+
}
|
| 96 |
+
],
|
| 97 |
+
"source": [
|
| 98 |
+
"from huggingface_hub import HfApi, login\n",
|
| 99 |
+
"import datetime\n",
|
| 100 |
+
"\n",
|
| 101 |
+
"api = HfApi()\n",
|
| 102 |
+
"\n",
|
| 103 |
+
"# Get the current date\n",
|
| 104 |
+
"current_date = datetime.datetime.now()\n",
|
| 105 |
+
"# Format the date as \"23apr2021\"\n",
|
| 106 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 107 |
+
"\n",
|
| 108 |
+
"out = api.upload_folder(\n",
|
| 109 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 110 |
+
" repo_type='dataset',\n",
|
| 111 |
+
" folder_path='.',\n",
|
| 112 |
+
" commit_message=formatted_date,\n",
|
| 113 |
+
" path_in_repo=formatted_date,\n",
|
| 114 |
+
" ignore_patterns='.*',\n",
|
| 115 |
+
")\n",
|
| 116 |
+
"print(out)"
|
| 117 |
+
]
|
| 118 |
+
}
|
| 119 |
+
],
|
| 120 |
+
"metadata": {
|
| 121 |
+
"kernelspec": {
|
| 122 |
+
"display_name": "Python 3",
|
| 123 |
+
"language": "python",
|
| 124 |
+
"name": "python3"
|
| 125 |
+
},
|
| 126 |
+
"language_info": {
|
| 127 |
+
"codemirror_mode": {
|
| 128 |
+
"name": "ipython",
|
| 129 |
+
"version": 3
|
| 130 |
+
},
|
| 131 |
+
"file_extension": ".py",
|
| 132 |
+
"mimetype": "text/x-python",
|
| 133 |
+
"name": "python",
|
| 134 |
+
"nbconvert_exporter": "python",
|
| 135 |
+
"pygments_lexer": "ipython3",
|
| 136 |
+
"version": "3.9.18"
|
| 137 |
+
},
|
| 138 |
+
"orig_nbformat": 4
|
| 139 |
+
},
|
| 140 |
+
"nbformat": 4,
|
| 141 |
+
"nbformat_minor": 2
|
| 142 |
+
}
|
code-server/User/History/-73a348d/yk6l.ipynb
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"cells": [
|
| 3 |
+
{
|
| 4 |
+
"cell_type": "code",
|
| 5 |
+
"execution_count": 1,
|
| 6 |
+
"metadata": {},
|
| 7 |
+
"outputs": [
|
| 8 |
+
{
|
| 9 |
+
"name": "stdout",
|
| 10 |
+
"output_type": "stream",
|
| 11 |
+
"text": [
|
| 12 |
+
"/home/linuxbrew/downloads\n"
|
| 13 |
+
]
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"source": [
|
| 17 |
+
"%mkdir ../downloads\n",
|
| 18 |
+
"%cd ../downloads"
|
| 19 |
+
]
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"cell_type": "code",
|
| 23 |
+
"execution_count": 3,
|
| 24 |
+
"metadata": {},
|
| 25 |
+
"outputs": [
|
| 26 |
+
{
|
| 27 |
+
"name": "stdout",
|
| 28 |
+
"output_type": "stream",
|
| 29 |
+
"text": [
|
| 30 |
+
"Writing /home/linuxbrew/links.txt\n"
|
| 31 |
+
]
|
| 32 |
+
}
|
| 33 |
+
],
|
| 34 |
+
"source": [
|
| 35 |
+
"%%writefile /home/linuxbrew/links.txt\n",
|
| 36 |
+
"magnet:?xt=urn:btih:a437eb6825720e780c4c33063476499ec6b57276&dn=Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337&tr=udp%3A%2F%2Ftracker.torrent.eu.org%3A451&tr=udp%3A%2F%2Ftracker.moeking.me%3A6969&tr=udp%3A%2F%2Fopentracker.i2p.rocks%3A6969&tr=udp%3A%2F%2Fopen.tracker.cl%3A1337&tr=udp%3A%2F%2Fexodus.desync.com%3A6969"
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"cell_type": "code",
|
| 41 |
+
"execution_count": 4,
|
| 42 |
+
"metadata": {},
|
| 43 |
+
"outputs": [
|
| 44 |
+
{
|
| 45 |
+
"name": "stdout",
|
| 46 |
+
"output_type": "stream",
|
| 47 |
+
"text": [
|
| 48 |
+
"\n",
|
| 49 |
+
"09/30 17:32:59 [\u001b[1;32mNOTICE\u001b[0m] Downloading 1 item(s)\n",
|
| 50 |
+
"\n",
|
| 51 |
+
"09/30 17:33:00 [\u001b[1;31mERROR\u001b[0m] Exception caught while loading DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 52 |
+
"Exception: [DHTRoutingTableDeserializer.cc:82] errorCode=1 Failed to load DHT routing table from /home/linuxbrew/.cache/aria2/dht.dat\n",
|
| 53 |
+
"\n",
|
| 54 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 DHT: listening on UDP port 6976\n",
|
| 55 |
+
"\n",
|
| 56 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv4 BitTorrent: listening on TCP port 6964\n",
|
| 57 |
+
"\n",
|
| 58 |
+
"09/30 17:33:00 [\u001b[1;32mNOTICE\u001b[0m] IPv6 BitTorrent: listening on TCP port 6964\n",
|
| 59 |
+
"\u001b[35m[\u001b[0m#6e3e30 14KiB/14KiB\u001b[36m(100%)\u001b[0m CN:43 SD:1\u001b[35m]\u001b[0m\u001b[0m \n",
|
| 60 |
+
"09/30 17:33:03 [\u001b[1;32mNOTICE\u001b[0m] Download complete: [MEMORY][METADATA]Horrible+Bosses+(2011)+1080p+BrRip+X264:+YIFY\n",
|
| 61 |
+
" *** Download Progress Summary as of Sat Sep 30 17:34:00 2023 *** [36m6.2KiB\u001b[0m(128KiB) ETA:\u001b[33m1h8m38s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\n",
|
| 62 |
+
"===============================================================================\n",
|
| 63 |
+
"[#fa212b 21MiB/1.4GiB(1%) CN:30 SD:12 DL:385KiB UL:5.4KiB(128KiB) ETA:1h4m30s]\n",
|
| 64 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 65 |
+
"-------------------------------------------------------------------------------\n",
|
| 66 |
+
"\n",
|
| 67 |
+
" *** Download Progress Summary as of Sat Sep 30 17:35:01 2023 *** \u001b[36m0B\u001b[0m(320KiB) ETA:\u001b[33m1m14s\u001b[0m\u001b[35m]\u001b[0m\u001b[0m\u001b[0mm\n",
|
| 68 |
+
"===============================================================================\n",
|
| 69 |
+
"[#fa212b 389MiB/1.4GiB(26%) CN:42 SD:12 DL:11MiB UL:0B(320KiB) ETA:1m32s]\n",
|
| 70 |
+
"FILE: /home/linuxbrew/downloads/Horrible Bosses (2011) [1080p]/Horrible.Bosses.2011.1080p.BluRay.x264.YIFY.mp4 (1more)\n",
|
| 71 |
+
"-------------------------------------------------------------------------------\n",
|
| 72 |
+
"\n",
|
| 73 |
+
"\u001b[35m[\u001b[0m#fa212b 1.4GiB/1.4GiB\u001b[36m(98%)\u001b[0m CN:38 SD:10 DL:\u001b[32m22MiB\u001b[0m UL:\u001b[36m5.9KiB\u001b[0m(464KiB)\u001b[35m]\u001b[0m\u001b[0m0m\u001b[35m]\u001b[0m\u001b[0mm"
|
| 74 |
+
]
|
| 75 |
+
}
|
| 76 |
+
],
|
| 77 |
+
"source": [
|
| 78 |
+
"!aria2c --seed-time=0 -i /home/linuxbrew/links.txt"
|
| 79 |
+
]
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"cell_type": "code",
|
| 83 |
+
"execution_count": null,
|
| 84 |
+
"metadata": {},
|
| 85 |
+
"outputs": [
|
| 86 |
+
{
|
| 87 |
+
"name": "stderr",
|
| 88 |
+
"output_type": "stream",
|
| 89 |
+
"text": [
|
| 90 |
+
"/usr/local/lib/python3.9/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n",
|
| 91 |
+
" from .autonotebook import tqdm as notebook_tqdm\n",
|
| 92 |
+
"Annabelle.Creation.2017.1080p.WEBRip.1400MB.DD5.1.x264-GalaxyRG.mkv: 100%|██████████| 1.51G/1.51G [00:26<00:00, 55.9MB/s]\n"
|
| 93 |
+
]
|
| 94 |
+
},
|
| 95 |
+
{
|
| 96 |
+
"name": "stdout",
|
| 97 |
+
"output_type": "stream",
|
| 98 |
+
"text": [
|
| 99 |
+
"https://huggingface.co/datasets/snirjhar-colab/downloads/tree/main/28Sep2023\n"
|
| 100 |
+
]
|
| 101 |
+
}
|
| 102 |
+
],
|
| 103 |
+
"source": [
|
| 104 |
+
"from huggingface_hub import HfApi, login\n",
|
| 105 |
+
"import datetime\n",
|
| 106 |
+
"\n",
|
| 107 |
+
"api = HfApi()\n",
|
| 108 |
+
"\n",
|
| 109 |
+
"# Get the current date\n",
|
| 110 |
+
"current_date = datetime.datetime.now()\n",
|
| 111 |
+
"# Format the date as \"23apr2021\"\n",
|
| 112 |
+
"formatted_date = current_date.strftime(\"%d%b%Y\")\n",
|
| 113 |
+
"\n",
|
| 114 |
+
"out = api.upload_folder(\n",
|
| 115 |
+
" repo_id='snirjhar-colab/downloads',\n",
|
| 116 |
+
" repo_type='dataset',\n",
|
| 117 |
+
" folder_path='.',\n",
|
| 118 |
+
" commit_message=formatted_date,\n",
|
| 119 |
+
" path_in_repo=formatted_date,\n",
|
| 120 |
+
" ignore_patterns='.*',\n",
|
| 121 |
+
")\n",
|
| 122 |
+
"print(out)"
|
| 123 |
+
]
|
| 124 |
+
}
|
| 125 |
+
],
|
| 126 |
+
"metadata": {
|
| 127 |
+
"kernelspec": {
|
| 128 |
+
"display_name": "Python 3",
|
| 129 |
+
"language": "python",
|
| 130 |
+
"name": "python3"
|
| 131 |
+
},
|
| 132 |
+
"language_info": {
|
| 133 |
+
"codemirror_mode": {
|
| 134 |
+
"name": "ipython",
|
| 135 |
+
"version": 3
|
| 136 |
+
},
|
| 137 |
+
"file_extension": ".py",
|
| 138 |
+
"mimetype": "text/x-python",
|
| 139 |
+
"name": "python",
|
| 140 |
+
"nbconvert_exporter": "python",
|
| 141 |
+
"pygments_lexer": "ipython3",
|
| 142 |
+
"version": "3.9.18"
|
| 143 |
+
},
|
| 144 |
+
"orig_nbformat": 4
|
| 145 |
+
},
|
| 146 |
+
"nbformat": 4,
|
| 147 |
+
"nbformat_minor": 2
|
| 148 |
+
}
|
code-server/User/History/23078143/7Vy0.conf
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Port 8888
|
| 2 |
+
Listen 127.0.0.1
|
| 3 |
+
Timeout 600
|
| 4 |
+
Allow 127.0.0.1
|
code-server/User/History/23078143/K5XC.conf
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Port 18123
|
| 2 |
+
Listen 127.0.0.1
|
| 3 |
+
Timeout 600
|
| 4 |
+
Allow 127.0.0.1
|
code-server/User/History/23078143/entries.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":1,"resource":"vscode-remote://snirjhar-colab-code-server.hf.space/home/linuxbrew/app/tproxy.conf","entries":[{"id":"7Vy0.conf","timestamp":1695954707418},{"id":"oaOG.conf","timestamp":1695954727006},{"id":"K5XC.conf","timestamp":1695955025829}]}
|
code-server/User/History/23078143/oaOG.conf
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Port 8123
|
| 2 |
+
Listen 127.0.0.1
|
| 3 |
+
Timeout 600
|
| 4 |
+
Allow 127.0.0.1
|
code-server/User/History/293d0f31/0eKO
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
RUN echo 'export HISTFIlE=/home/linuxbrew/app/.bash_history'
|
| 31 |
+
WORKDIR $HOME/app
|
| 32 |
+
|
| 33 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/DMTv
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
WORKDIR $HOME/app
|
| 31 |
+
|
| 32 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 33 |
+
RUN huggingface-cli login --token=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
|
| 34 |
+
RUN echo 'export HISTFIlE=/home/linuxbrew/app/.bash_history' >> $HOME/.bashrc
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/EQzb
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
RUN .bash_history
|
| 31 |
+
WORKDIR $HOME/app
|
| 32 |
+
|
| 33 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/Rjjq
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
RUN
|
| 31 |
+
WORKDIR $HOME/app
|
| 32 |
+
|
| 33 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/UOgS
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
RUN
|
| 31 |
+
WORKDIR $HOME/app
|
| 32 |
+
|
| 33 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/UeuF
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
WORKDIR $HOME/app
|
| 31 |
+
|
| 32 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 33 |
+
RUN huggingface-cli login --token=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
|
| 34 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 35 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/Uiu4
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
RUN .bash_history
|
| 31 |
+
WORKDIR $HOME/app
|
| 32 |
+
|
| 33 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/VYaC
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
RUN
|
| 31 |
+
WORKDIR $HOME/app
|
| 32 |
+
|
| 33 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 36 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/293d0f31/entries.json
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"version":1,"resource":"vscode-remote://snirjhar-colab-code-server.hf.space/home/linuxbrew/app/Dockerfile","entries":[{"id":"Gy0y","timestamp":1695930539568},{"id":"0zux","timestamp":1695932364011},{"id":"Ywll","timestamp":1695932402582},{"id":"yf3m","timestamp":1695932430738}]}
|
|
|
|
| 1 |
+
{"version":1,"resource":"vscode-remote://snirjhar-colab-code-server.hf.space/home/linuxbrew/app/Dockerfile","entries":[{"id":"Gy0y","timestamp":1695930539568},{"id":"0zux","timestamp":1695932364011},{"id":"Ywll","timestamp":1695932402582},{"id":"yf3m","timestamp":1695932430738},{"id":"UeuF","timestamp":1696100245513},{"id":"UOgS","timestamp":1696100879967},{"id":"EQzb","source":"Workspace Edit","timestamp":1696100892727},{"id":"Rjjq","timestamp":1696100898811},{"id":"Uiu4","source":"Workspace Edit","timestamp":1696100903883},{"id":"VYaC","timestamp":1696100910435},{"id":"0eKO","timestamp":1696100995295},{"id":"DMTv","timestamp":1696101030487},{"id":"rAtY","timestamp":1696101059707}]}
|
code-server/User/History/293d0f31/rAtY
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
+
RUN apt-get update && apt-get upgrade --assume-yes
|
| 4 |
+
|
| 5 |
+
RUN curl -fsSL https://code-server.dev/install.sh | sh
|
| 6 |
+
RUN apt-get install aria2 -y
|
| 7 |
+
RUN curl -fsSL https://raw.githubusercontent.com/filebrowser/get/master/get.sh | bash
|
| 8 |
+
|
| 9 |
+
RUN pip install huggingface_hub
|
| 10 |
+
|
| 11 |
+
RUN apt-get install ffmpeg -y
|
| 12 |
+
|
| 13 |
+
RUN apt-get update && \
|
| 14 |
+
apt-get install build-essential curl file git ruby-full locales --no-install-recommends -y && \
|
| 15 |
+
rm -rf /var/lib/apt/lists/*
|
| 16 |
+
|
| 17 |
+
RUN localedef -i en_US -f UTF-8 en_US.UTF-8
|
| 18 |
+
|
| 19 |
+
RUN useradd -m -s /bin/bash linuxbrew && \
|
| 20 |
+
echo 'linuxbrew ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers
|
| 21 |
+
|
| 22 |
+
USER linuxbrew
|
| 23 |
+
RUN bash -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"
|
| 24 |
+
|
| 25 |
+
ENV HOME=/home/linuxbrew \
|
| 26 |
+
PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
|
| 27 |
+
|
| 28 |
+
RUN brew install tinyproxy
|
| 29 |
+
|
| 30 |
+
WORKDIR $HOME/app
|
| 31 |
+
|
| 32 |
+
COPY --chown=linuxbrew . $HOME/app
|
| 33 |
+
|
| 34 |
+
RUN huggingface-cli login --token=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
|
| 35 |
+
RUN echo 'export HISTFIlE=/home/linuxbrew/app/.bash_history' >> $HOME/.bashrc
|
| 36 |
+
RUN echo 'export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH' >> $HOME/.bashrc
|
| 37 |
+
|
| 38 |
+
CMD ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:7860", "--user-data-dir", "code-server"]
|
code-server/User/History/aac2916/JexT.sh
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#! /bin/bash
|
| 2 |
+
pad="${1:-1}"
|
| 3 |
+
rport="${2:-18123}"
|
| 4 |
+
fen="${3:-nplfen01}"
|
| 5 |
+
port="${4:-2222}"
|
| 6 |
+
|
| 7 |
+
tinyproxy -d -c ~/app/tproxy.conf &
|
| 8 |
+
ssh \
|
| 9 |
+
-L $port:localhost:"$port" \
|
| 10 |
+
-R $rport:localhost:"$rport" \
|
| 11 |
+
-tt DLTMhssn@blp0"$pad".ccni.rpi.edu \
|
| 12 |
+
ssh \
|
| 13 |
+
-L "$port":localhost:22 \
|
| 14 |
+
-R $rport:localhost:"$rport" \
|
| 15 |
+
"$fen"
|
code-server/User/History/aac2916/KF0n.sh
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#! /bin/bash
|
| 2 |
+
pad="${1:-1}"
|
| 3 |
+
rport="${2:-18123}"
|
| 4 |
+
#fen="${3:-erpfen01}"
|
| 5 |
+
fen="${3:-nplfen01}"
|
| 6 |
+
port="${4:-2222}"
|
| 7 |
+
lport="${5:-23456}"
|
| 8 |
+
lport2="${6:-33445}"
|
| 9 |
+
|
| 10 |
+
tinyproxy -d -c ~/app/tproxy.conf &
|
| 11 |
+
ssh \
|
| 12 |
+
-L $port:localhost:"$port" \
|
| 13 |
+
-L $lport:localhost:"$lport" \
|
| 14 |
+
-L $lport2:localhost:"$lport2" \
|
| 15 |
+
-R $rport:localhost:"$rport" \
|
| 16 |
+
-tt DLTMhssn@blp0"$pad".ccni.rpi.edu \
|
| 17 |
+
ssh \
|
| 18 |
+
-L "$port":localhost:22 \
|
| 19 |
+
-L $lport:localhost:"$lport" \
|
| 20 |
+
-L $lport2:localhost:"$lport2" \
|
| 21 |
+
-R $rport:localhost:"$rport" \
|
| 22 |
+
"$fen"
|
code-server/User/History/aac2916/Mtd8.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#! /bin/bash
|
| 2 |
+
pad="${1:-1}"
|
| 3 |
+
rport="${2:-8123}"
|
| 4 |
+
#fen="${3:-erpfen01}"
|
| 5 |
+
fen="${3:-nplfen01}"
|
| 6 |
+
port="${4:-2222}"
|
| 7 |
+
lport="${5:-23456}"
|
| 8 |
+
lport2="${6:-33445}"
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
polipo &
|
| 12 |
+
ssh \
|
| 13 |
+
-L $port:localhost:"$port" \
|
| 14 |
+
-L $lport:localhost:"$lport" \
|
| 15 |
+
-L $lport2:localhost:"$lport2" \
|
| 16 |
+
-R $rport:localhost:"$rport" \
|
| 17 |
+
-tt DLTMhssn@blp0"$pad".ccni.rpi.edu \
|
| 18 |
+
ssh \
|
| 19 |
+
-L "$port":localhost:22 \
|
| 20 |
+
-L $lport:localhost:"$lport" \
|
| 21 |
+
-L $lport2:localhost:"$lport2" \
|
| 22 |
+
-R $rport:localhost:"$rport" \
|
| 23 |
+
"$fen"
|
code-server/User/History/aac2916/entries.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"version":1,"resource":"vscode-remote://snirjhar-colab-code-server.hf.space/home/linuxbrew/app/pssh.sh","entries":[{"id":"Mtd8.sh","timestamp":1695954953165},{"id":"i23V.sh","timestamp":1695954983033},{"id":"KF0n.sh","timestamp":1695955019233},{"id":"JexT.sh","timestamp":1695955062613}]}
|
code-server/User/History/aac2916/i23V.sh
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#! /bin/bash
|
| 2 |
+
pad="${1:-1}"
|
| 3 |
+
rport="${2:-18123}"
|
| 4 |
+
#fen="${3:-erpfen01}"
|
| 5 |
+
fen="${3:-nplfen01}"
|
| 6 |
+
port="${4:-2222}"
|
| 7 |
+
lport="${5:-23456}"
|
| 8 |
+
lport2="${6:-33445}"
|
| 9 |
+
|
| 10 |
+
|
| 11 |
+
polipo &
|
| 12 |
+
ssh \
|
| 13 |
+
-L $port:localhost:"$port" \
|
| 14 |
+
-L $lport:localhost:"$lport" \
|
| 15 |
+
-L $lport2:localhost:"$lport2" \
|
| 16 |
+
-R $rport:localhost:"$rport" \
|
| 17 |
+
-tt DLTMhssn@blp0"$pad".ccni.rpi.edu \
|
| 18 |
+
ssh \
|
| 19 |
+
-L "$port":localhost:22 \
|
| 20 |
+
-L $lport:localhost:"$lport" \
|
| 21 |
+
-L $lport2:localhost:"$lport2" \
|
| 22 |
+
-R $rport:localhost:"$rport" \
|
| 23 |
+
"$fen"
|
code-server/User/workspaceStorage/-10b609d8/vscode.lock
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
{"pid":
|
|
|
|
| 1 |
+
{"pid":12928,"willReleaseAt":0}
|
code-server/coder.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"query": {
|
| 3 |
-
"__sign": "eyJhbGciOiJFZERTQSJ9.eyJpYXQiOjE2OTU5Mjg3OTEsInN1YiI6InNuaXJqaGFyLWNvbGFiL2NvZGUtc2VydmVyIiwiZXhwIjoxNjk2MDE1MTkxLCJpc3MiOiJodHRwczovL2h1Z2dpbmdmYWNlLmNvIn0.f-0tm-cNijQ14txytssktwvoZIri4pG33wZhKTvgRW1Xne6IHgmL5ppsIV3IiULkiorBIj8GCV8ECaT909mlCg",
|
| 4 |
"folder": "/home/linuxbrew"
|
| 5 |
},
|
| 6 |
"update": {
|
| 7 |
-
"checked":
|
| 8 |
-
"version": "4.17.
|
| 9 |
}
|
| 10 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"query": {
|
|
|
|
| 3 |
"folder": "/home/linuxbrew"
|
| 4 |
},
|
| 5 |
"update": {
|
| 6 |
+
"checked": 1696095082071,
|
| 7 |
+
"version": "4.17.1"
|
| 8 |
}
|
| 9 |
}
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/__pycache__/typing_extensions.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/__pycache__/typing_extensions.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/__pycache__/typing_extensions.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/__init__.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/__init__.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_cmp.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_cmp.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_cmp.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_compat.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_compat.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_compat.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_config.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_config.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_config.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_funcs.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_funcs.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_funcs.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_make.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_make.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_make.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_next_gen.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_next_gen.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_next_gen.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_version_info.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_version_info.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/_version_info.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/converters.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/converters.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/converters.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/exceptions.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/exceptions.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/exceptions.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/filters.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/filters.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/filters.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/setters.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/setters.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/setters.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/validators.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/validators.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attr/__pycache__/validators.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/__init__.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/__init__.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/__init__.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/converters.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/converters.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/converters.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/exceptions.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/exceptions.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/exceptions.cpython-311.pyc differ
|
|
|
code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/filters.cpython-311.pyc
CHANGED
|
Binary files a/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/filters.cpython-311.pyc and b/code-server/extensions/ms-python.python-2023.16.0-universal/pythonFiles/lib/jedilsp/attrs/__pycache__/filters.cpython-311.pyc differ
|
|
|