-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.bash_history
More file actions
209 lines (209 loc) · 4.04 KB
/
.bash_history
File metadata and controls
209 lines (209 loc) · 4.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
pwd
ls
wget https://www.comp.nus.edu.sg/~ccris/cs2106_ay2021s1/lab1.tar.gz
ls
tar -zxvf lab1.tar.gz
ls
git add .
git --version
git init
git add .
git commit -m "first Commit"
git config user.email "e0425982@u.nus.edu.sg"
git config user.name "e0425982"
git commit -m "first Commit"
git remote add origin https://github.com/kieron560/CS2106-Labs.git
git remote -v
ls
mkdir lab1
mv -t lab1 ex1 ex2 ex4 ex4 ex5 ex6
mv -t lab1 ex1 ex2 ex4 ex5 ex6
ls
git add .
git commit -m "First push"
git push -u origin master
git push -u origin master
git commit -m "First push"
git pull
git add .
git commit -m "First push"
git push -u origin master
git pull origin master
git pull origin master
git remote -v
git remote -rm origin
git remote rm origin
ls
ls
git init CS2106-Lab
git init
git add .
git rm -rf .git
git commit -m "first commit"
git add .
ls
rm -r CS2106-Lab
ls
init git
git init
git add .
git commit -m "First commit"
git branch
git remote add origin https://github.com/kieron560/CS2106-Lab.git
git push -u origin master
ls
cd lab1
ls
cd ex1
ls
vim node.c
cd ~
ls -a
vim .vimrc
cd lab1/ex1
ls
vim node.c
cd ~
mkdir -p ~/.vim/pack/themes/start
rm -r .vim
vim --version
mkdir -p ~/.vim/pack/themes/opt
cd -p ~/.vim/pack/themes/opt
cd ~/.vim/pack/themes/opt
git clone https://github.com/dracula/vim.git dracula
cd lab1/ex1
vim node.c
ls
cd ~
cd -p ~/.vim/pack/themes/opt
cd ~/.vim/pack/themes/opt
ls
cd ~
cd lab1/ex1
vim node.c
git add .
git commit -m "edit node.c"
git push -u origin master
exit
ls
cs lab1
cd lab 1
cd lab1
ls
cd ex1
ls
vim node.c
ls
cd lab1/ex1
ls
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
git --version
git remote -v
git add .
git commit -m "attempted insert node from head function"
git push -u origin master
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
ls
./ex1 < sample.in | diff sample.out -
./ex1 < small_test.in | diff small_test.out -
vim ex1.c
vim ex1.c
vim ex1.c
vim ex1.c
vim samply.in
vim sample.in
ls
vim mytest.in
ex1 < mytest.in
./ex1 < mytest.in
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < mytest.in
vim node.c
vim node.c
./ex1 < mytest.in
vim node.c
./ex1 < mytest.in
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < mytest.in
./ex1 < small_test.in | diff small_test.out -
vim ex1.c
vim mytest.in
vim node.c
git add .
git commit -m "completed insert node from head"
git push -u origin master
ls
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
git add .
git commit -m "finished inserted node from tail and delete node from head"
git push -u origin master
vim node.c
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < small_test.in | diff small_test.out -
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < small_test.in | diff small_test.out -
vim small_test.in
git add .
git commit -m "attempted ex 1"
git push -u origin master
vim node.c
vim ex1.c
vim small_test.in
./ex1 < small_test.in | diff small_test.out -
vim node.c
vim small_test.in
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < small_test.in | diff small_test.out -
./ex1 < small_test.in
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < small_test.in | diff small_test.out -
./ex1 < small_test.in | diff small_test.out -
git add .
git commit -m "updated ex 1 code"
git push -u origin master
/exit
cd..
cd ..
cd ..
/exit
man
/help
exit
./ex1 < small_test.in | diff small_test.out -
cd lab1
cd ex1
./ex1 < small_test.in | diff small_test.out -
vim node.c
gcc -std=c99 -Wall -Wextra node.c ex1.c -o ex1
./ex1 < small_test.in | diff small_test.out -
vim node.c
vim mytest.in
./ex1 < my_test.in
./ex1 < mytest.in
vim mytest.in
./ex1 < mytest.in
exit