Compare commits
2 Commits
1fad54824d
...
c70353a78a
| Author | SHA1 | Date | |
|---|---|---|---|
| c70353a78a | |||
| b3ccf9c163 |
@@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
# Problem Statement
|
# Problem Statement
|
||||||
|
|
||||||
> "If it's free, you're the product."
|
> "If it's free, you're the product."
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
# Mobile
|
# 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.
|
`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
|
# Desktop
|
||||||
|
|
||||||
## Operating Systems
|
## Operating Systems
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
|
|
||||||
## Docker
|
## Docker
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
|
|
||||||
|
|
||||||
# Offline Solutions
|
# Offline Solutions
|
||||||
|
|
||||||
## Pen & Paper!
|
## Pen & Paper!
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
# Conclusion
|
# Conclusion
|
||||||
|
|||||||
18
convert.sh
18
convert.sh
@@ -38,7 +38,6 @@ function insert {
|
|||||||
ebook="$2"
|
ebook="$2"
|
||||||
log "Adding '$input' to '$ebook'."
|
log "Adding '$input' to '$ebook'."
|
||||||
cat "$input" >> "$ebook"
|
cat "$input" >> "$ebook"
|
||||||
#echo -e "\n\n" >> "$ebook"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Compile all the snippets into one Markdown file.
|
# 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"
|
sed -i "s/{REVISION_DATE}/`date +'%Y-%m-%d'`/g" "$header"
|
||||||
|
|
||||||
# Primary, All In One (AIO)
|
# Primary, All In One (AIO)
|
||||||
name="$ebook_prefix"
|
name="$ebook_prefix""_All"
|
||||||
combine "$name" "$header" `ls "$DIR"/content*.md`
|
combine "$name" "$header" `ls "$DIR"/content*.md`
|
||||||
convert "$name.md" "" "$DIR"
|
convert "$name.md" "" "$DIR"
|
||||||
|
|
||||||
# Secondary, Mobile
|
# Secondary, Mobile
|
||||||
name="$ebook_prefix""Mobile"
|
name="$ebook_prefix""_Mobile"
|
||||||
combine "$name" "$header" "$DIR/content00"* "$DIR/content10"* \
|
combine "$name" "$header" "$DIR/content00"* "$DIR/content10"* \
|
||||||
"$DIR/content70"* "$DIR/content90"*
|
"$DIR/content70"* "$DIR/content90"*
|
||||||
convert "$name.md" "(Mobile Only)" "$DIR"
|
convert "$name.md" "(Mobile Only)" "$DIR"
|
||||||
|
|
||||||
# Secondary, Desktop
|
# 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, Server
|
||||||
|
name="$ebook_prefix""_Server"
|
||||||
|
combine "$name" "$header" "$DIR/content00"* "$DIR/content30"* \
|
||||||
# Secondary, Other
|
"$DIR/content70"* "$DIR/content90"*
|
||||||
|
convert "$name.md" "(Server Only)" "$DIR"
|
||||||
|
|
||||||
|
|
||||||
## Finish! ##
|
## Finish! ##
|
||||||
|
|||||||
Reference in New Issue
Block a user