Compare commits
2 Commits
1fad54824d
...
c70353a78a
| Author | SHA1 | Date | |
|---|---|---|---|
| c70353a78a | |||
| b3ccf9c163 |
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
# Problem Statement
|
||||
|
||||
> "If it's free, you're the product."
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
# Mobile
|
||||
|
||||
`Android` is the only mobile environment covered here. `iOS` is complicit in data harvesting and cannot be liberated. Some may argue that it's secure, and that may be true, but it is most definitely not private.
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
# Desktop
|
||||
|
||||
## Operating Systems
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
# Server
|
||||
|
||||
## Docker
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
|
||||
# Offline Solutions
|
||||
|
||||
## Pen & Paper!
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
|
||||
|
||||
# Conclusion
|
||||
|
||||
18
convert.sh
18
convert.sh
@@ -38,7 +38,6 @@ function insert {
|
||||
ebook="$2"
|
||||
log "Adding '$input' to '$ebook'."
|
||||
cat "$input" >> "$ebook"
|
||||
#echo -e "\n\n" >> "$ebook"
|
||||
}
|
||||
|
||||
# Compile all the snippets into one Markdown file.
|
||||
@@ -116,24 +115,27 @@ cp -v "$DIR/$header" ./
|
||||
sed -i "s/{REVISION_DATE}/`date +'%Y-%m-%d'`/g" "$header"
|
||||
|
||||
# Primary, All In One (AIO)
|
||||
name="$ebook_prefix"
|
||||
name="$ebook_prefix""_All"
|
||||
combine "$name" "$header" `ls "$DIR"/content*.md`
|
||||
convert "$name.md" "" "$DIR"
|
||||
|
||||
# Secondary, Mobile
|
||||
name="$ebook_prefix""Mobile"
|
||||
name="$ebook_prefix""_Mobile"
|
||||
combine "$name" "$header" "$DIR/content00"* "$DIR/content10"* \
|
||||
"$DIR/content70"* "$DIR/content90"*
|
||||
convert "$name.md" "(Mobile Only)" "$DIR"
|
||||
|
||||
# Secondary, Desktop
|
||||
|
||||
name="$ebook_prefix""_Desktop"
|
||||
combine "$name" "$header" "$DIR/content00"* "$DIR/content20"* \
|
||||
"$DIR/content70"* "$DIR/content90"*
|
||||
convert "$name.md" "(Desktop Only)" "$DIR"
|
||||
|
||||
# Secondary, Server
|
||||
|
||||
|
||||
# Secondary, Other
|
||||
|
||||
name="$ebook_prefix""_Server"
|
||||
combine "$name" "$header" "$DIR/content00"* "$DIR/content30"* \
|
||||
"$DIR/content70"* "$DIR/content90"*
|
||||
convert "$name.md" "(Server Only)" "$DIR"
|
||||
|
||||
|
||||
## Finish! ##
|
||||
|
||||
Reference in New Issue
Block a user