diff --git a/hw1/claudio_maggioni/blog.html b/hw1/claudio_maggioni/blog.html index 8ad8e1b..a84111f 100644 --- a/hw1/claudio_maggioni/blog.html +++ b/hw1/claudio_maggioni/blog.html @@ -32,23 +32,23 @@

Jul 28, 2016 -- Claudio Maggioni

- - WARNING: The method showed here could not prevent the actual execution of "rm -rf" - if the "UNIX vandal" is clever enough. Proceed at your own risk, and make backups! - -
- -
-

- I like Rick Astley late 80's songs, and you can see them here in my Spotify: -

-
My Spotify with a bunch of Rick Astley songs
My Spotify with a bunch of Rick Astley songs
+

+ + WARNING: The method showed here could not prevent the actual execution of "rm -rf" + if the "UNIX vandal" is clever enough. Proceed at your own risk, and make backups! + +

+ +

+ I like Rick Astley late 80's songs, and you can see them here in my Spotify: +

+

I like rickrolling people too, especially if they are trying to delete my entire /home directory or, even worse, /. Since I learned @@ -69,7 +69,7 @@ those files:

-
+
Alias code to use to activate rmAlias
alias rm=/bin/rmAlias
 alias sudo='sudo '
@@ -147,7 +147,7 @@ exit $?
Let's give execution permissions to the script we have just created:

-
+
Giving execution permissions of rmAlias
 # chmod +x /bin/rmAlias
@@ -173,6 +173,11 @@ exit $?

Jul 12, 2016 -- Claudio Maggioni

+
+
The X60s
+ An image of the ThinkPad X60s +
+

Currently, my only laptop is a IBM/Lenovo ThinkPad X60s, a top line ultrabook from 2006 that features: @@ -186,9 +191,8 @@ exit $? I/0 ports (including a CardBus slot!). -

-
The X60s
- An image of the ThinkPad X60s +
+
The X60s one more time
Another image of the ThinkPad X60s
@@ -246,7 +250,7 @@ exit $? screenfetch:

-
+
The laptop running screenfetch
The laptop running 'screenfetch'
@@ -316,7 +320,7 @@ WantedBy=multi-user.target Line 13 enables the Bluetooth dongle, and line 16 connects it to the keyboard we gave the mac address in /etc/btkbd.conf. This should work flawlessly, right? Of course it doesn't. The service starts before the dbus-org.bluez.service is loaded and fails. However, if the service is started manually after login the Bluetooth keyboard works. After hours of trying figuring out what was wrong I've almost asked for a return on Amazon! The last attempt I made was with sddm disabled and involved built from scratch service:

-
+
My service file
[Unit]
 Description=auto connect a Bluetooth keyboard
diff --git a/hw1/claudio_maggioni/css/main.css b/hw1/claudio_maggioni/css/main.css
index 4118579..03de384 100644
--- a/hw1/claudio_maggioni/css/main.css
+++ b/hw1/claudio_maggioni/css/main.css
@@ -65,12 +65,16 @@ h1, h2, h3, h4, h5, h6 {
 
 figure {
   background: rgba(0,0,0,0.05);
-  max-width: 30rem;
+  max-width: 500px;
   width: 100%;
   margin: 1rem 2rem 1rem 0;
   float: left;
 }
 
+figure.full-width {
+  max-width: 100%;
+}
+
 article section.title {
   clear: both;
 }
@@ -82,14 +86,15 @@ article section.title a.author[data-me] {
   padding: .125rem .25rem;
 }
 
-article figure:nth-child(odd) {
+figure.right {
   margin: 1rem 0rem 1rem 2rem;
   float: right;
 }
 
 @media screen and (max-width: 768px) {
-  figure {
+  figure, article figure:nth-child(odd) {
     width: 100%;
+    max-width: 100%;
     margin: 0;
     float: none;
   }
diff --git a/hw1/claudio_maggioni/index.html b/hw1/claudio_maggioni/index.html
index 48e22d9..7ab0dc9 100644
--- a/hw1/claudio_maggioni/index.html
+++ b/hw1/claudio_maggioni/index.html
@@ -56,7 +56,7 @@
         

Media

Suggested MP3

-
+
Depeche Mode - Just Can't Get Enough
(MIDI version, from The Most Amazing Website On The Internet)
@@ -65,7 +65,7 @@

Suggested Video

-
+
Least Used Waterloo - Geoff Marshall