Compare commits

...

3 Commits

8 changed files with 24 additions and 9 deletions

4
.gitignore vendored
View File

@@ -1 +1,5 @@
# Generated Files
*.pdf *.pdf
# Working Files
build

View File

@@ -1,4 +1,5 @@
# Problem Statement 
# Problem Statement
> "If it's free, you're the product." > "If it's free, you're the product."
> >

View File

@@ -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.

View File

@@ -1,4 +1,5 @@
# Desktop 
# Desktop
## Operating Systems ## Operating Systems

View File

@@ -1,4 +1,5 @@
# Server 
# Server
## Docker ## Docker

View File

@@ -1,3 +1,4 @@
# Offline Solutions 
# Offline Solutions
## Pen & Paper! ## Pen & Paper!

View File

@@ -1 +1,2 @@
# Conclusion 
# Conclusion

View File

@@ -13,7 +13,7 @@ date
## Global Variables ## ## Global Variables ##
ebook_prefix="TechnologyAlternatives" ebook_prefix="TechnologyAlternatives"
work_dir="/tmp/$ebook_prefix" work_dir="$DIR/build"
header="header.md" header="header.md"
## Functions ## ## Functions ##
@@ -38,7 +38,7 @@ 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" >> "$ebook" #echo -e "\n\n" >> "$ebook"
} }
# Compile all the snippets into one Markdown file. # Compile all the snippets into one Markdown file.
@@ -69,6 +69,8 @@ function convert {
if [[ -z "$version" ]]; then if [[ -z "$version" ]]; then
log "Version is null, removing the extra space." log "Version is null, removing the extra space."
space=" " space=" "
else
space=""
fi fi
sed -i "s/$space{VERSION}/$version/g" "$source" sed -i "s/$space{VERSION}/$version/g" "$source"
@@ -119,7 +121,10 @@ combine "$name" "$header" `ls "$DIR"/content*.md`
convert "$name.md" "" "$DIR" convert "$name.md" "" "$DIR"
# Secondary, Mobile # Secondary, Mobile
name="$ebook_prefix""Mobile"
combine "$name" "$header" "$DIR/content00"* "$DIR/content10"* \
"$DIR/content70"* "$DIR/content90"*
convert "$name.md" "(Mobile Only)" "$DIR"
# Secondary, Desktop # Secondary, Desktop