From 3cb995831650239100b52838c7aa97f506a73e03 Mon Sep 17 00:00:00 2001
From: Gabriel Dunne
Date: Fri, 8 Jun 2012 12:36:59 -0700
Subject: [PATCH] updated content
---
README | 16 +++++++
TODO | 8 ++--
content/code/archlinux_install | 14 +++---
content/code/bootable_iso | 2 +-
content/code/config | 2 -
content/code/mel/notepad | 2 +-
content/code/osx_command_line_audio | 10 ++---
content/code/osx_hidden_files | 6 +--
content/code/terminal_emulator_on_win | 14 +++---
content/code/windows_copy | 2 +-
content/config | 3 +-
content/log/2009-12-13_mandala | 4 +-
content/log/2010-01-22_cone | 4 +-
content/log/2011-10-23_water_is_life | 2 +-
content/projects/{rattle => .rattle} | 0
content/projects/boat | 1 +
content/projects/dots | 11 ++---
content/projects/{jellyfish => jelly} | 3 +-
content/projects/rattles | 12 ++---
content/projects/swimtank | 3 +-
css/style.css | 8 ++--
index.php | 15 +------
lib/config.ini | 45 +++++++++++++++++++
lib/data.php | 61 ++++++++++++++++++-------
lib/init.php | 65 ++++++++++++++++++---------
lib/model.php | 3 +-
lib/view.php | 18 ++++----
pages/about | 23 +++++-----
templates/default.rss.tpl | 12 ++---
templates/head-inc.html.tpl | 2 +-
templates/index.html.tpl | 34 +++++++-------
templates/nav.html.tpl | 3 +-
32 files changed, 257 insertions(+), 151 deletions(-)
delete mode 100644 content/code/config
rename content/projects/{rattle => .rattle} (100%)
rename content/projects/{jellyfish => jelly} (95%)
create mode 100644 lib/config.ini
diff --git a/README b/README
index 72e0e41..3686206 100644
--- a/README
+++ b/README
@@ -4,3 +4,19 @@ Gabriel Dunne
Description:
PLOG is an CMS engine written for quick and minimal publishing.
+Use:
+Put markdown files in the content/ folder.
+At the top of each file, you can specify variables in ini format.
+
+i.e;
+
+`
+title = Post Title
+date = 2012 may 12, 7:33pm
+--
+
+## header
+Your post markdown content here.
+
+HTML is enabled, too.
+`
diff --git a/TODO b/TODO
index a38a786..5f990d5 100644
--- a/TODO
+++ b/TODO
@@ -1,14 +1,14 @@
TODO
+- work on README documentation
- pagination (View)
- canvas icons for list/thumb/tile views (js)
- static cache generation (wget? curl?)
- static rss, json, html
-- commenting system from india branch
+ static rss, json, html
- update content.sh to give back help if used incorrectly
-done
-- prev/next (View)
+command line usage (for generating static site)
+http://php.net/manual/en/features.commandline.php
\ No newline at end of file
diff --git a/content/code/archlinux_install b/content/code/archlinux_install
index 36592e8..1a3b4ae 100644
--- a/content/code/archlinux_install
+++ b/content/code/archlinux_install
@@ -1,9 +1,9 @@
-title = DualBoot Archlinux/Windows7 Installation
+title = "DualBoot Archlinux/Windows7 Installation"
date = 2012-01-02
tags = arch linux windows installation tutorial
--
-Documentation of the process of installing [archlinux](http://www.archlinux.org/) and Windows 7 in a dual-boot configuration.
+Documentation of the process of installing [archlinux](http://www.archlinux.org/) and Windows 7 in a dual-boot configuration.
## System Specs
@@ -18,7 +18,7 @@ Documentation of the process of installing [archlinux](http://www.archlinux.org/
## Installing Windows
-Windows was installed from a USB stick using Microsoft's [Windows 7 USB/DVD tool](http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool). It's required to create this key from a Windows 7 system. Boot with the USB drive, then install Windows on the drive in a single partition. Windows also creates a System Reserved partition for itself. Once installed, via Start Menu > Administrative Tools > Computer Management > Disk Manamagent, select 'Shrink Partition' on the main Windows parition to create another partition for Arch. The default value for the shrink is 50%, so for my setup the value for the new disk size was ~50GB, which was ideal.
+Windows was installed from a USB stick using Microsoft's [Windows 7 USB/DVD tool](http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool). It's required to create this key from a Windows 7 system. Boot with the USB drive, then install Windows on the drive in a single partition. Windows also creates a System Reserved partition for itself. Once installed, via Start Menu > Administrative Tools > Computer Management > Disk Manamagent, select 'Shrink Partition' on the main Windows parition to create another partition for Arch. The default value for the shrink is 50%, so for my setup the value for the new disk size was ~50GB, which was ideal.
Note about this install. I have an old Linksys (Cysco) WMP54G Wireless PCI Card. Drivers from Linksys/Cysco's website didn't work, but following this [blog post](http://www.phishthis.com/2009/01/16/how-to-install-wmp54g-drivers-on-windows-7-beta-64-bit-or-vista-64-bit/), the generic RALink drivers worked great.
@@ -42,11 +42,11 @@ The [installation](https://wiki.archlinux.org/index.php/Official_Arch_Linux_Inst
It's pretty straight forward until the drive partitions. My 100GB drive can only support 4 logical partitions, so the rest have to be Logical. Note: The numbers are out of order, because I used Logical partitions for everything except for the Windows partitions and /home. Logical partitions end up being counted last in the partition table, but I made my /home folder LAST so I could use the up the remaining space on the drive. You'll also need to set the /boot partition's 'bootable' flag to `true`.
-• sda1
+• sda1
Windows 7 System Reserved
-• sda2
- Windows 7
-• sda5
+• sda2
+ Windows 7
+• sda5
/boot - 100MB is enough
• sda6
/ - about 25GB is appropriate
diff --git a/content/code/bootable_iso b/content/code/bootable_iso
index 640561d..d22b2c0 100644
--- a/content/code/bootable_iso
+++ b/content/code/bootable_iso
@@ -1,4 +1,4 @@
-title = create bootable iso from unix/osx terminal
+title = "create bootable iso from unix/osx terminal"
date = july 7 2011
--
diff --git a/content/code/config b/content/code/config
deleted file mode 100644
index b76bddf..0000000
--- a/content/code/config
+++ /dev/null
@@ -1,2 +0,0 @@
-
---
diff --git a/content/code/mel/notepad b/content/code/mel/notepad
index 4a4b8c5..85898cc 100644
--- a/content/code/mel/notepad
+++ b/content/code/mel/notepad
@@ -1,5 +1,5 @@
date = 2007-12-12
-title = "MEL Notepad"
+title = MEL Notepad
tags = mel maya
--
diff --git a/content/code/osx_command_line_audio b/content/code/osx_command_line_audio
index 6733842..53fa7a5 100644
--- a/content/code/osx_command_line_audio
+++ b/content/code/osx_command_line_audio
@@ -1,13 +1,13 @@
-title = command line audio on OSX
-date = Wed, Nov 9 2011 18:40:26, IST
+title = "command line audio on OSX"
+date = "Wed, Nov 9 2011 18:40:26, IST"
tags = audio osx cli
--
Since there is no equivilent to /dev/dsp or /dev/audio on OSX, you need to install an alternative like sox.
-Install sox by either downloading the OSX binary from http://sox.sourceforge.net/
-or
-install homebrew, and then install sox with brew install sox
+Install sox by either downloading the OSX binary from http://sox.sourceforge.net/
+or
+install homebrew, and then install sox with brew install sox
##Examples
diff --git a/content/code/osx_hidden_files b/content/code/osx_hidden_files
index 3520ee3..f4a440d 100644
--- a/content/code/osx_hidden_files
+++ b/content/code/osx_hidden_files
@@ -1,6 +1,6 @@
-title = show hidden files (OSX Finder)
+title = "show hidden files (OSX Finder)"
date = Tue May 10 21:03:45 PDT 2011
-tags = osx
+tags = osx
--
via Terminal
@@ -15,4 +15,4 @@ hide hidden files:
defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder
-
\ No newline at end of file
+
diff --git a/content/code/terminal_emulator_on_win b/content/code/terminal_emulator_on_win
index cd51b25..7a33ed0 100644
--- a/content/code/terminal_emulator_on_win
+++ b/content/code/terminal_emulator_on_win
@@ -1,4 +1,4 @@
-title = Terminal Emulator on Windows via Cygwin
+title = "Terminal Emulator on Windows via Cygwin"
date = august 11 2011
--
How to install cygwin on windows:
@@ -11,7 +11,7 @@ How to install cygwin on windows:
- xinit (required, scripts for starting the X server: xinit, startx, startwin (and a shortcut on the Start Menu to run it), startxdmcp.bat )
- xorg-docs (optional, man pages)
- X-start-menu-icons (optional, adds shortcuts to X Clients and Server to the Start menu)
- - mintty (windows-feel terminal)
+ - mintty (windows-feel terminal)
3. **Optional Packages**
@@ -27,7 +27,7 @@ How to install cygwin on windows:
-3. **~/.XDefaults**
+3. **~/.XDefaults**
dark theme:
-Some more themes on the Arch forums.
+Some more themes on the Arch forums.
-4. **~/.bashrc**
+4. **~/.bashrc**
To enable color `ls` and human readable size format, add:
alias ls='ls -h --color=tty'
-By default, the .bashrc in CygwinX has many options you can uncomment.
+By default, the .bashrc in CygwinX has many options you can uncomment.
5. **~/.emacs**
@@ -81,7 +81,7 @@ Disable emacs temp (~) file pooping
-Result:
+Result:
diff --git a/content/code/windows_copy b/content/code/windows_copy
index d11cdfb..19a0c0b 100644
--- a/content/code/windows_copy
+++ b/content/code/windows_copy
@@ -1,4 +1,4 @@
-title = Combine Files (Windows)
+title = "Combine Files (Windows)"
date = Wed, april 27 2011
tags = windows cmd console
--
diff --git a/content/config b/content/config
index 090d7d2..a28a878 100644
--- a/content/config
+++ b/content/config
@@ -1,3 +1,2 @@
title = quilime
-#template = index
-
+template = index
diff --git a/content/log/2009-12-13_mandala b/content/log/2009-12-13_mandala
index 14255ac..9e58d0f 100644
--- a/content/log/2009-12-13_mandala
+++ b/content/log/2009-12-13_mandala
@@ -1,6 +1,6 @@
title = mandala
date = 2009-12-13
-tags = art graphic design
+tags = art graphic design
--
-![endless knot, mandala](http://media.quilime.com/files/projects/mandala/mandala2.png "endless knot, mandala" )
\ No newline at end of file
+![endless knot, mandala](http://media.quilime.com/files/projects/mandala/mandala2.png "endless knot, mandala" )
diff --git a/content/log/2010-01-22_cone b/content/log/2010-01-22_cone
index a937eb3..0d5983a 100644
--- a/content/log/2010-01-22_cone
+++ b/content/log/2010-01-22_cone
@@ -1,6 +1,6 @@
title = cone
date = 2010-01-22
-tags = installation, projection
+tags = installation projection
--
@@ -8,4 +8,4 @@ tags = installation, projection