snirjhar-colab commited on
Commit
471d7f7
·
1 Parent(s): 90f7845

Upload folder using huggingface_hub

Browse files
.bash_history CHANGED
@@ -22,3 +22,11 @@ tinyproxy -v
22
  tinyproxy -d -c app/tproxy.conf
23
  history | grep install
24
  exit
 
 
 
 
 
 
 
 
 
22
  tinyproxy -d -c app/tproxy.conf
23
  history | grep install
24
  exit
25
+ history
26
+ echo $HISTFILE
27
+ . .bashrc
28
+ echo $HISTFILE
29
+ . .bashrc
30
+ history
31
+ echo $HISTFILE
32
+ exit
Dockerfile CHANGED
@@ -32,7 +32,7 @@ WORKDIR $HOME/app
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"]
 
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/-3bdd1f34/entries.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"version":1,"resource":"vscode-remote://snirjhar-colab-code-server.hf.space/home/linuxbrew/.bashrc","entries":[{"id":"xi9V","timestamp":1696103917063}]}
code-server/User/History/-3bdd1f34/xi9V ADDED
@@ -0,0 +1,115 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ~/.bashrc: executed by bash(1) for non-login shells.
2
+ # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
3
+ # for examples
4
+
5
+ # If not running interactively, don't do anything
6
+ case $- in
7
+ *i*) ;;
8
+ *) return;;
9
+ esac
10
+
11
+ # don't put duplicate lines or lines starting with space in the history.
12
+ # See bash(1) for more options
13
+ HISTCONTROL=ignoreboth
14
+
15
+ # append to the history file, don't overwrite it
16
+ shopt -s histappend
17
+
18
+ # for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
19
+ HISTSIZE=1000
20
+ HISTFILESIZE=2000
21
+
22
+ # check the window size after each command and, if necessary,
23
+ # update the values of LINES and COLUMNS.
24
+ shopt -s checkwinsize
25
+
26
+ # If set, the pattern "**" used in a pathname expansion context will
27
+ # match all files and zero or more directories and subdirectories.
28
+ #shopt -s globstar
29
+
30
+ # make less more friendly for non-text input files, see lesspipe(1)
31
+ #[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
32
+
33
+ # set variable identifying the chroot you work in (used in the prompt below)
34
+ if [ -z "${debian_chroot:-}" ] && [ -r /etc/debian_chroot ]; then
35
+ debian_chroot=$(cat /etc/debian_chroot)
36
+ fi
37
+
38
+ # set a fancy prompt (non-color, unless we know we "want" color)
39
+ case "$TERM" in
40
+ xterm-color|*-256color) color_prompt=yes;;
41
+ esac
42
+
43
+ # uncomment for a colored prompt, if the terminal has the capability; turned
44
+ # off by default to not distract the user: the focus in a terminal window
45
+ # should be on the output of commands, not on the prompt
46
+ #force_color_prompt=yes
47
+
48
+ if [ -n "$force_color_prompt" ]; then
49
+ if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then
50
+ # We have color support; assume it's compliant with Ecma-48
51
+ # (ISO/IEC-6429). (Lack of such support is extremely rare, and such
52
+ # a case would tend to support setf rather than setaf.)
53
+ color_prompt=yes
54
+ else
55
+ color_prompt=
56
+ fi
57
+ fi
58
+
59
+ if [ "$color_prompt" = yes ]; then
60
+ PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
61
+ else
62
+ PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ '
63
+ fi
64
+ unset color_prompt force_color_prompt
65
+
66
+ # If this is an xterm set the title to user@host:dir
67
+ case "$TERM" in
68
+ xterm*|rxvt*)
69
+ PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"
70
+ ;;
71
+ *)
72
+ ;;
73
+ esac
74
+
75
+ # enable color support of ls and also add handy aliases
76
+ if [ -x /usr/bin/dircolors ]; then
77
+ test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
78
+ alias ls='ls --color=auto'
79
+ #alias dir='dir --color=auto'
80
+ #alias vdir='vdir --color=auto'
81
+
82
+ #alias grep='grep --color=auto'
83
+ #alias fgrep='fgrep --color=auto'
84
+ #alias egrep='egrep --color=auto'
85
+ fi
86
+
87
+ # colored GCC warnings and errors
88
+ #export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
89
+
90
+ # some more ls aliases
91
+ #alias ll='ls -l'
92
+ #alias la='ls -A'
93
+ #alias l='ls -CF'
94
+
95
+ # Alias definitions.
96
+ # You may want to put all your additions into a separate file like
97
+ # ~/.bash_aliases, instead of adding them here directly.
98
+ # See /usr/share/doc/bash-doc/examples in the bash-doc package.
99
+
100
+ if [ -f ~/.bash_aliases ]; then
101
+ . ~/.bash_aliases
102
+ fi
103
+
104
+ # enable programmable completion features (you don't need to enable
105
+ # this, if it's already enabled in /etc/bash.bashrc and /etc/profile
106
+ # sources /etc/bash.bashrc).
107
+ if ! shopt -oq posix; then
108
+ if [ -f /usr/share/bash-completion/bash_completion ]; then
109
+ . /usr/share/bash-completion/bash_completion
110
+ elif [ -f /etc/bash_completion ]; then
111
+ . /etc/bash_completion
112
+ fi
113
+ fi
114
+ export HISTFILE=/home/linuxbrew/app/.bash_history
115
+ export PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.local/bin:$PATH
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},{"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}]}
 
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},{"id":"wBeL","timestamp":1696103929375}]}
code-server/User/History/293d0f31/wBeL 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/workspaceStorage/-10b609d8/vscode.lock CHANGED
@@ -1 +1 @@
1
- {"pid":12928,"willReleaseAt":0}
 
1
+ {"pid":44,"willReleaseAt":0}
code-server/logs/20230930T191326/exthost1/remoteexthost.log ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2023-09-30 19:17:54.640 [info] Extension host with pid 44 started
2
+ 2023-09-30 19:17:54.686 [error] Error: EEXIST: file already exists, open '/home/linuxbrew/app/code-server/User/workspaceStorage/-10b609d8/vscode.lock'
3
+ 2023-09-30 19:17:54.689 [info] Lock '/home/linuxbrew/app/code-server/User/workspaceStorage/-10b609d8/vscode.lock': Could not acquire lock, checking if the file is stale.
4
+ 2023-09-30 19:17:54.693 [info] Lock '/home/linuxbrew/app/code-server/User/workspaceStorage/-10b609d8/vscode.lock': The pid 12928 appears to be gone.
5
+ 2023-09-30 19:17:54.693 [info] Lock '/home/linuxbrew/app/code-server/User/workspaceStorage/-10b609d8/vscode.lock': Deleting a stale lock.
6
+ 2023-09-30 19:17:54.696 [info] Lock '/home/linuxbrew/app/code-server/User/workspaceStorage/-10b609d8/vscode.lock': Lock acquired.
7
+ 2023-09-30 19:17:54.788 [info] ExtensionService#_doActivateExtension vscode.emmet, startup: false, activationEvent: 'onLanguage'
8
+ 2023-09-30 19:17:54.897 [info] ExtensionService#_doActivateExtension vscode.git-base, startup: true, activationEvent: '*', root cause: vscode.git
9
+ 2023-09-30 19:17:55.128 [info] ExtensionService#_doActivateExtension vscode.git, startup: true, activationEvent: '*'
10
+ 2023-09-30 19:17:55.128 [info] ExtensionService#_doActivateExtension vscode.github, startup: true, activationEvent: '*'
11
+ 2023-09-30 19:17:55.643 [info] Eager extensions activated
12
+ 2023-09-30 19:17:55.643 [info] ExtensionService#_doActivateExtension vscode.debug-auto-launch, startup: false, activationEvent: 'onStartupFinished'
13
+ 2023-09-30 19:17:55.643 [info] ExtensionService#_doActivateExtension vscode.merge-conflict, startup: false, activationEvent: 'onStartupFinished'
14
+ 2023-09-30 19:17:56.662 [info] ExtensionService#_doActivateExtension vscode.tunnel-forwarding, startup: false, activationEvent: 'onTunnel'
code-server/logs/20230930T191326/exthost1/vscode.git/Git.log ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2023-09-30 19:17:55.709 [info] Log level: Info
2
+ 2023-09-30 19:17:55.709 [info] Validating found git in: "git"
3
+ 2023-09-30 19:17:55.709 [info] Using git "2.39.2" from "git"
4
+ 2023-09-30 19:17:55.709 [info] > git rev-parse --show-toplevel [11ms]
5
+ 2023-09-30 19:17:55.709 [info] fatal: not a git repository (or any of the parent directories): .git
6
+ 2023-09-30 19:17:55.709 [info] > git rev-parse --show-toplevel [2ms]
7
+ 2023-09-30 19:17:55.709 [info] fatal: not a git repository (or any of the parent directories): .git
8
+ 2023-09-30 19:17:55.709 [info] > git rev-parse --show-toplevel [2ms]
9
+ 2023-09-30 19:17:55.709 [info] fatal: not a git repository (or any of the parent directories): .git
10
+ 2023-09-30 19:17:55.710 [info] > git rev-parse --show-toplevel [2ms]
11
+ 2023-09-30 19:17:55.710 [info] fatal: not a git repository (or any of the parent directories): .git
12
+ 2023-09-30 19:17:55.715 [info] > git rev-parse --show-toplevel [1ms]
13
+ 2023-09-30 19:17:55.715 [info] fatal: not a git repository (or any of the parent directories): .git
14
+ 2023-09-30 19:17:55.720 [info] > git rev-parse --show-toplevel [1ms]
15
+ 2023-09-30 19:17:55.720 [info] fatal: not a git repository (or any of the parent directories): .git
16
+ 2023-09-30 19:17:55.750 [info] > git rev-parse --show-toplevel [5ms]
17
+ 2023-09-30 19:17:55.750 [info] fatal: not a git repository (or any of the parent directories): .git
18
+ 2023-09-30 19:17:55.885 [info] > git rev-parse --show-toplevel [1ms]
19
+ 2023-09-30 19:17:55.885 [info] fatal: not a git repository (or any of the parent directories): .git
20
+ 2023-09-30 19:18:33.678 [info] > git rev-parse --show-toplevel [1ms]
21
+ 2023-09-30 19:18:33.678 [info] fatal: not a git repository (or any of the parent directories): .git
22
+ 2023-09-30 19:57:43.999 [info] > git rev-parse --show-toplevel [9ms]
23
+ 2023-09-30 19:57:43.999 [info] fatal: not a git repository (or any of the parent directories): .git
24
+ 2023-09-30 19:58:04.174 [info] > git rev-parse --show-toplevel [1ms]
25
+ 2023-09-30 19:58:04.174 [info] fatal: not a git repository (or any of the parent directories): .git
26
+ 2023-09-30 19:58:43.358 [info] > git rev-parse --show-toplevel [1ms]
27
+ 2023-09-30 19:58:43.358 [info] fatal: not a git repository (or any of the parent directories): .git
code-server/logs/20230930T191326/exthost1/vscode.github/GitHub.log ADDED
@@ -0,0 +1 @@
 
 
1
+ 2023-09-30 19:17:55.709 [info] Log level: Info
code-server/logs/20230930T191326/network.log ADDED
File without changes
code-server/logs/20230930T191326/ptyhost.log ADDED
File without changes
code-server/logs/20230930T191326/remoteagent.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2023-09-30 19:13:26.389 [info]
2
+
3
+
4
+
5
+
6
+ 2023-09-30 19:13:26.402 [info] Extension host agent started.
7
+ 2023-09-30 19:13:26.564 [error] [10.16.4.134][5519060a][ManagementConnection] Unknown reconnection token (never seen).
8
+ 2023-09-30 19:13:27.831 [error] [10.16.4.134][d56aa1c8][ExtensionHostConnection] Unknown reconnection token (never seen).
9
+ 2023-09-30 19:17:53.110 [info] [10.16.31.122][dbf86f92][ManagementConnection] New connection established.
10
+ 2023-09-30 19:17:53.889 [info] [10.16.46.47][9cde9f3b][ExtensionHostConnection] New connection established.
11
+ 2023-09-30 19:17:54.021 [info] [10.16.46.47][9cde9f3b][ExtensionHostConnection] <44> Launched Extension Host Process.
12
+ 2023-09-30 19:23:36.359 [info] [10.16.4.134][dbf86f92][ManagementConnection] The client has reconnected.