From cfa8eb9e531ae0af07025612f1176985d1074539 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Tue, 24 Feb 2015 01:36:50 +0100 Subject: [PATCH] Link site name in header to index page. Fixed lists in 2 posts. --- _layouts/default.html | 2 +- css/layout-bright.sass | 8 ++- .../_posts/2010-10-09-sonyericsson-mbw150.md | 54 +++++++++---------- ...01-20-dymo-labelwriter-320-under-ubuntu.md | 6 +-- 4 files changed, 38 insertions(+), 32 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 5000399..5d44bd5 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -22,7 +22,7 @@
-

{{ site.name }}

+

{{ site.name }}

{{ site.description }}

diff --git a/css/layout-bright.sass b/css/layout-bright.sass index f581955..a5966c9 100644 --- a/css/layout-bright.sass +++ b/css/layout-bright.sass @@ -50,6 +50,12 @@ li color: $maincolor -webkit-font-smoothing: antialiased + a + text-decoration: none + + &:visited + color: inherit + header background: rgba(black, 0.1) width: 100% @@ -233,7 +239,7 @@ hr // Links a, a:hover, a:visited -a +#main_content a color: #41a0d3 text-shadow: 0 0 5px rgba(104, 182, 255, 0.5) diff --git a/know-how/hardware/_posts/2010-10-09-sonyericsson-mbw150.md b/know-how/hardware/_posts/2010-10-09-sonyericsson-mbw150.md index 64482c5..d6d83d3 100644 --- a/know-how/hardware/_posts/2010-10-09-sonyericsson-mbw150.md +++ b/know-how/hardware/_posts/2010-10-09-sonyericsson-mbw150.md @@ -29,33 +29,33 @@ Notification service using OpenWatch, Tasker and PHP ### Setup Tasker - 1. create a new time-based profile, let it run every **5 minutes** or so - 2. add the following actions: +1. create a new time-based profile, let it run every **5 minutes** or so +1. add the following actions: 1. Net → **HTTP Get** - * **Server:Port:** `www.example.org` *(\)* - * **Path:** `/notifier/notify.php` *(adapt according to your setup)* - * **Attributes:** *\* - * **Timeout:** `10` *(default)* - * **Mime Type:** `text/plain; charset=utf-8` - * **Output File:** *\* - - Tasker → **Stop** - * **If:** `[X]` + * **Server:Port:** `www.example.org` *(\)* + * **Path:** `/notifier/notify.php` *(adapt according to your setup)* + * **Attributes:** *\* + * **Timeout:** `10` *(default)* + * **Mime Type:** `text/plain; charset=utf-8` + * **Output File:** *\* + 1. Tasker → **Stop** + * **If:** `[X]` * `%HTTPD` **Isn't Set** - - Variable → **Variable Split** - * **Name:** `%HTTPD` - * **Splitter:** `¶` - * **Delete Base:** `[ ]` - - Alert → **Notify** *(you can omit this one if you like)* - * **Title:** `Remote Notification` - * **Text:** `%HTTPD1 %HTTPD2 (%HTTPD3 seconds ago)` - - Misc → **Action Intent** - * **Action:** `com.smartmadsoft.openwatch.action.VIBRATE` - * **Cat:** `None` - * **Data:** *\* - * **Extra:** `line1:%HTTPD1` - * **Extra:** `line2:%HTTPD2` *(Note: There are 2 Extra input fields)* - * **Target:** `Broadcast Receiver` - - Done! + 1. Variable → **Variable Split** + * **Name:** `%HTTPD` + * **Splitter:** `¶` + * **Delete Base:** `[ ]` + 1. Alert → **Notify** *(you can omit this one if you like)* + * **Title:** `Remote Notification` + * **Text:** `%HTTPD1 %HTTPD2 (%HTTPD3 seconds ago)` + 1. Misc → **Action Intent** + * **Action:** `com.smartmadsoft.openwatch.action.VIBRATE` + * **Cat:** `None` + * **Data:** *\* + * **Extra:** `line1:%HTTPD1` + * **Extra:** `line2:%HTTPD2` *(Note: There are 2 Extra input fields)* + * **Target:** `Broadcast Receiver` +1. Done! ### Setup Server @@ -119,9 +119,9 @@ class DataStore { $this->modified = false; } } - + $ds = new DataStore(); - + header( 'Content-Type: text/plain; charset=utf-8' ); if ( isset( $_REQUEST['l1'] ) && isset( $_REQUEST['l2'] ) ) { // new notification ~~> store diff --git a/know-how/hardware/_posts/2012-01-20-dymo-labelwriter-320-under-ubuntu.md b/know-how/hardware/_posts/2012-01-20-dymo-labelwriter-320-under-ubuntu.md index 23abff9..6575631 100644 --- a/know-how/hardware/_posts/2012-01-20-dymo-labelwriter-320-under-ubuntu.md +++ b/know-how/hardware/_posts/2012-01-20-dymo-labelwriter-320-under-ubuntu.md @@ -22,9 +22,9 @@ for the latest Ubuntu *Oneiric Ocelot*. These instructions should work: 1. run `./configure` 1. try a `make all`, you will most probably get various errors like *"size_t has not been declared"* or *"size_t does not name a type"* --- if so, try this: * add a line: `#include ` as the first line to the following files: - * `src/lw/LabelWriterLanguageMonitor.h` - * `src/lw/LabelWriterDriver.h` - * `src/common/Halftoning.h` + * `src/lw/LabelWriterLanguageMonitor.h` + * `src/lw/LabelWriterDriver.h` + * `src/common/Halftoning.h` * now, again, run `make all` 1. run `sudo make install` 1. now open **System Settings** → **Printer**