css-team: review 3 pages
git-svn-id: svn+ssh://atelier.inf.usi.ch/home/bevilj/group-1@192 a672b425-5310-4d7a-af5c-997e18724b81
This commit is contained in:
parent
c6f05e4ccc
commit
9f0175139d
7 changed files with 83 additions and 22 deletions
|
@ -90,7 +90,6 @@
|
||||||
|
|
||||||
// Mute and play
|
// Mute and play
|
||||||
var homeVideo = document.getElementById('videoHome');
|
var homeVideo = document.getElementById('videoHome');
|
||||||
homeVideo.muted = true;
|
|
||||||
homeVideo.play();
|
homeVideo.play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,7 @@ layout: main
|
||||||
<article class="post">
|
<article class="post">
|
||||||
|
|
||||||
<header class="post-header">
|
<header class="post-header">
|
||||||
<h2 class="post-title NotoSansBold" style="font-size: 4vh;
|
<h2 class="post-title NotoSansBold">>{{ page.title }}_</h2>
|
||||||
width: fit-content;
|
|
||||||
padding: 0 10px;
|
|
||||||
border: 2px solid #bdbdbd;
|
|
||||||
border-radius: 5px;
|
|
||||||
background-color: #000;
|
|
||||||
color: #00cc00;
|
|
||||||
letter-spacing: 2px;">>{{ page.title }}_</h2>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="post-content">
|
<div class="post-content">
|
||||||
|
|
|
@ -144,3 +144,13 @@ video{
|
||||||
#time-line{
|
#time-line{
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-title{
|
||||||
|
font-size: 4vh;
|
||||||
|
padding: 0 10px;
|
||||||
|
border: 2px solid #bdbdbd;
|
||||||
|
border-radius: 5px;
|
||||||
|
background-color: #000;
|
||||||
|
color: #00cc00;
|
||||||
|
letter-spacing: 2px;
|
||||||
|
}
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
|
|
||||||
.list-commands li {
|
.list-commands li {
|
||||||
border-radius: 50px;
|
border-radius: 50px;
|
||||||
margin-bottom: 5px;
|
|
||||||
transition:500ms;
|
transition:500ms;
|
||||||
|
|
||||||
a{
|
a{
|
||||||
|
@ -28,6 +27,7 @@
|
||||||
|
|
||||||
.list-commands li:hover{
|
.list-commands li:hover{
|
||||||
background-color: #646464;
|
background-color: #646464;
|
||||||
|
border-radius:10px;
|
||||||
|
|
||||||
.before-command{
|
.before-command{
|
||||||
border-radius:10px;
|
border-radius:10px;
|
||||||
|
@ -66,3 +66,4 @@
|
||||||
animation: blink 800ms linear infinite;
|
animation: blink 800ms linear infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ title: Home page
|
||||||
|
|
||||||
<iframe id="foolChrome" src="{{ site.baseurl }}/assets/style/silence.mp3" allow="autoplay" style="display:none"></iframe>
|
<iframe id="foolChrome" src="{{ site.baseurl }}/assets/style/silence.mp3" allow="autoplay" style="display:none"></iframe>
|
||||||
|
|
||||||
<video autoplay preload="auto" id="videoHome">
|
<video autoplay id="videoHome">
|
||||||
<source src="assets/front/hero_video.mp4" type="video/mp4">
|
<source src="assets/front/hero_video.mp4" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
|
|
||||||
|
|
|
@ -8,4 +8,58 @@ title: 7z
|
||||||
---
|
---
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
A .7z. file is an archive format that stands for 7-zip. By default, Mac OS X does not know how to handle these files, but that is not a big deal because you can download for free in App Store. The program supports 7z, ZIP, CAB, ARJ, BZIP2, TAR, CPIO, RPM and DEB.<br>
|
||||||
|
|
||||||
|
So, first of all, you need to download Unarchiver in order to use this command.<br>
|
||||||
|
|
||||||
|
The basic syntax is:
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
7z [adeltux] [-] [SWITCH] <code><ARCHIVE_NAME> <ARGUMENTS></code>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
Here some useful options that we will use to explain some examples:
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<li><code>a</code> Add</li>
|
||||||
|
<li><code>d</code> Delete</li>
|
||||||
|
<li><code>e</code> Extract</li>
|
||||||
|
<li><code>l</code> List</li>
|
||||||
|
<li><code>t</code> Test</li>
|
||||||
|
<li><code>u</code> Update</li>
|
||||||
|
<li><code>x</code> Extract with full paths</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
The simplest way to use <code>7z</code> if we want to extracts all files from archive archive.zip to the current directory.
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
7z e archive.zip
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
Well, now we talk about the switches.
|
||||||
|
There are many type of switches, we will see the most common ones.<br>
|
||||||
|
|
||||||
|
-m (Set compression Method)
|
||||||
|
|
||||||
|
<pre>
|
||||||
|
-m<method_parameters>
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
The format for this switch depends on the archive type which are:
|
||||||
|
<ul>
|
||||||
|
<li>Zip</li>
|
||||||
|
<li>GZip</li>
|
||||||
|
<li>BZip2</li>
|
||||||
|
<li>7z</li>
|
||||||
|
<li>XZ</li>
|
||||||
|
<li>WIM</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
|
@ -12,7 +12,7 @@ The <code>ps</code> command stands for "process status" and it is used to provid
|
||||||
various information about the currently running processes.<br>
|
various information about the currently running processes.<br>
|
||||||
|
|
||||||
Every process is an executing instance of a program which is assigned a unique PID
|
Every process is an executing instance of a program which is assigned a unique PID
|
||||||
(process identification numbers) by the system.<br>
|
(process identification numbers) by the system.</p>
|
||||||
|
|
||||||
The basic syntax of <code>ps</code> is:
|
The basic syntax of <code>ps</code> is:
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ The basic syntax of <code>ps</code> is:
|
||||||
ps [options]
|
ps [options]
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
<p>
|
||||||
This command can be used without any option and by doing this you will get the standard output,
|
This command can be used without any option and by doing this you will get the standard output,
|
||||||
which is the display monitor by default with four items of information for at least two
|
which is the display monitor by default with four items of information for at least two
|
||||||
processes currently on the system: the shell and ps.<br>
|
processes currently on the system: the shell and ps.<br>
|
||||||
|
@ -31,6 +32,7 @@ TIME is very simple: is the amount of CPU time in minutes and seconds that the p
|
||||||
has been running. CMD is simply the name of the command that launched the process.<br>
|
has been running. CMD is simply the name of the command that launched the process.<br>
|
||||||
|
|
||||||
Here you will find some common option combinations
|
Here you will find some common option combinations
|
||||||
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
ps -aux | less
|
ps -aux | less
|
||||||
|
@ -44,10 +46,12 @@ ps -aux | less
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
This can be piped to the less command ( see out section pipe), which let us to
|
This can be piped to the less command ( see out section pipe), which let us to
|
||||||
view all processes in one screenfull at a time.<br>
|
view all processes in one screenfull at a time.<br>
|
||||||
|
|
||||||
Another way to view all processes running on the system is:
|
Another way to view all processes running on the system is:
|
||||||
|
</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
ps -ef | less
|
ps -ef | less
|
||||||
|
@ -59,16 +63,16 @@ Where:
|
||||||
<li>The -e option is used to generate a list of information about every process
|
<li>The -e option is used to generate a list of information about every process
|
||||||
(currently running).
|
(currently running).
|
||||||
</li>
|
</li>
|
||||||
<li>The -f option providesa list that contains some information for each process.</li>
|
<li>The -f option provides a list that contains some information for each process.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<p>
|
||||||
This is very useful, it can be used for example to control UID information (username of
|
This is very useful, it can be used for example to control UID information (username of
|
||||||
the account that owns the process) and STIME to know when the process started, or
|
the account that owns the process) and STIME to know when the process started, or
|
||||||
the starting date.<br>
|
the starting date.<br>
|
||||||
|
|
||||||
|
|
||||||
In the end the <code>ps</code> is very powerful if we knoe how to use it.
|
In the end the <code>ps</code> is very powerful if we know how to use it.
|
||||||
If you need to kill a process you can list all process in various ways
|
If you need to kill a process you can list all process in various ways
|
||||||
and search for the process you need to kill by reading its PID or by UID for example.
|
and search for the process you need to kill by reading its PID or by UID for example.
|
||||||
\
|
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in a new issue