mirror of
https://github.com/mbirth/wiki.git
synced 2024-12-25 23:04:06 +00:00
Link site name in header to index page. Fixed lists in 2 posts.
This commit is contained in:
parent
0ee14bd19d
commit
cfa8eb9e53
@ -22,7 +22,7 @@
|
||||
<header>
|
||||
<div class="container">
|
||||
<div id="headerleft">
|
||||
<h1 itemprop="name">{{ site.name }}</h1>
|
||||
<h1 itemprop="name"><a href="{{ site.url }}/">{{ site.name }}</a></h1>
|
||||
<h2 itemprop="description">{{ site.description }}</h2>
|
||||
|
||||
<section id="downloads">
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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` *(\<your webserver\>)*
|
||||
* **Path:** `/notifier/notify.php` *(adapt according to your setup)*
|
||||
* **Attributes:** *\<leave empty\>*
|
||||
* **Timeout:** `10` *(default)*
|
||||
* **Mime Type:** `text/plain; charset=utf-8`
|
||||
* **Output File:** *\<leave empty\>*
|
||||
- Tasker → **Stop**
|
||||
* **If:** `[X]`
|
||||
* **Server:Port:** `www.example.org` *(\<your webserver\>)*
|
||||
* **Path:** `/notifier/notify.php` *(adapt according to your setup)*
|
||||
* **Attributes:** *\<leave empty\>*
|
||||
* **Timeout:** `10` *(default)*
|
||||
* **Mime Type:** `text/plain; charset=utf-8`
|
||||
* **Output File:** *\<leave empty\>*
|
||||
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:** *\<leave empty\>*
|
||||
* **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:** *\<leave empty\>*
|
||||
* **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
|
||||
|
@ -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 <stddef.h>` 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**
|
||||
|
Loading…
Reference in New Issue
Block a user