Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uva
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
uva
Commits
ea3add61
Commit
ea3add61
authored
Nov 07, 2010
by
Sander Mathijs van Veen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed code examples in OS assignment 3.
parent
a3543b9d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
4 deletions
+17
-4
os/ass3/report/report.tex
os/ass3/report/report.tex
+2
-2
os/ass3/view-logs.bash
os/ass3/view-logs.bash
+2
-2
vim/.vimrc
vim/.vimrc
+13
-0
No files found.
os/ass3/report/report.tex
View file @
ea3add61
...
...
@@ -193,8 +193,8 @@ aan bod in dit practicum en wordt daarom niet verder behandeld.
\subsection
{
Experimenten met logfiles
}
\begin{lstlisting}
[language=bash]
for i in
{
1..6
}
; do fish < input
$
i.txt; .
/
view
-
logs.bash; done
\begin{lstlisting}
[language=bash
,numbers=none
]
for i in
{
1..6
}
; do
./
fish < input
$
i.txt; .
/
view
-
logs.bash; done
\end
{
lstlisting
}
\subsection
{
Signal verwerking
}
...
...
os/ass3/view-logs.bash
View file @
ea3add61
#!/bin/bash
if
[
"
`
which screen
`
"
=
''
]
;
then
echo
"GNU screen is missing. I'll now trying to install screen using
apt-get.
"
;
echo
"
The installation of GNU screen requires sudo-rights: "
;
echo
"GNU screen is missing. I'll now trying to install screen using"
;
echo
"apt-get.
The installation of GNU screen requires sudo-rights: "
;
sudo
apt-get
install
screen
;
fi
;
...
...
vim/.vimrc
View file @
ea3add61
...
...
@@ -18,6 +18,19 @@ if $COLORTERM == 'gnome-terminal'
set
t_Co
=
256
endif
" ,rl = run pdflatex (on current file)
map
,
rl
:!
pdflatex
-
src
-
shell
-
escape
-
interaction
=
nonstopmode %
" trigger pdflatex (above) on FileWritePost event
:
autocmd
BufWritePost
*
.
tex
:!
pdflatex
-
src
-
shell
-
escape
-
interaction
=
nonstopmode %
|
grep
-
A
4
-
i
"error"
set
textwidth
=
80
augroup vimrc_autocmds
autocmd
BufEnter
* highlight OverLength ctermbg
=
darkgrey guibg
=
#592929
autocmd
BufEnter
*
match
OverLength
/\%81v.*/
augroup END
set
nocp
filetype
plugin
on
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment