]> git.quilime.com - quilime.com.git/commitdiff
New layout
authorGabriel Dunne <gdunne@quilime.com>
Sat, 17 Jun 2023 02:32:13 +0000 (19:32 -0700)
committerGabriel Dunne <gdunne@quilime.com>
Sat, 17 Jun 2023 02:32:13 +0000 (19:32 -0700)
32 files changed:
_config.yml
_layouts/cat.html [new file with mode: 0644]
_layouts/default.html
_posts/cmd/2011-02-02-bash_profile_osx.md [moved from _posts/term/2011-02-02-bash_profile_osx.md with 97% similarity]
_posts/cmd/2011-03-11-bash_profile_linux.md [moved from _posts/term/2011-03-11-bash_profile_linux.md with 93% similarity]
_posts/cmd/2011-04-16-ssh_keys.md.md [moved from _posts/term/2011-04-16-ssh_keys.md.md with 94% similarity]
_posts/cmd/2011-04-27-windows_copy.md [moved from _posts/term/2011-04-27-windows_copy.md with 96% similarity]
_posts/cmd/2011-05-10-osx_hidden_files.md [moved from _posts/term/2011-05-10-osx_hidden_files.md with 96% similarity]
_posts/cmd/2011-08-11-terminal_emulator_on_win.md [moved from _posts/term/2011-08-11-terminal_emulator_on_win.md with 99% similarity]
_posts/cmd/2011-09-19-mostused.md [moved from _posts/term/2011-09-19-mostused.md with 96% similarity]
_posts/cmd/2011-11-09-osx_command_line_audio.md [moved from _posts/term/2011-11-09-osx_command_line_audio.md with 98% similarity]
_posts/cmd/2011-11-14-osx_print_json.md [moved from _posts/term/2011-11-14-osx_print_json.md with 98% similarity]
_posts/cmd/2012-01-02-archlinux_install.md [moved from _posts/term/2012-01-02-archlinux_install.md with 99% similarity]
_posts/code/2013-09-18-cinder-td-top.md [moved from _posts/code/2013-09-18-fluid.md with 100% similarity]
_posts/snippets/2007-12-12-mel-notepad.md
_posts/snippets/2009-04-23-bash-imageslice.md
_posts/snippets/2009-06-12-mel-sphere_intersect.md
_posts/snippets/2010-01-11-bash-rename_multiple_files.md
_posts/snippets/2010-02-07-bash-date_for_filename.md
_posts/snippets/2010-05-15-bash-rewrite_multiple_slashes.md
_posts/snippets/2010-07-07-maya_render_bat.md
_posts/snippets/2010-07-11-bash-resize_multiple_images.md
_posts/snippets/2011-07-07-bootable_iso.md
_posts/snippets/2013-04-19-htmlwordcount.md
_posts/snippets/2013-09-16-gen_semitones.md
_posts/snippets/2014-06-20-gifs_w_ffmpeg_gifsicle.md
all.html
cli.html [new file with mode: 0644]
code.html [new file with mode: 0644]
css/style.css
index.html
snippets.html [new file with mode: 0644]

index 0fadc28a52c72d084eba19c9e330a017ac4a9e5e..f3b0f93ad6ee7c4b6db1ac677391dcaa11f8ee7d 100644 (file)
@@ -2,7 +2,7 @@ title: quilime.com
 baseurl: ""
 url: "https://quilime.com"
 excerpt_separator: "<!--more-->"
-permalink: /:title:output_ext
+permalink: /:categories/:title:output_ext
 plugins:
   - jekyll-feed
   - jekyll-paginate
diff --git a/_layouts/cat.html b/_layouts/cat.html
new file mode 100644 (file)
index 0000000..84ea3b3
--- /dev/null
@@ -0,0 +1,7 @@
+---
+layout: index
+---
+
+<h1>{{ page.title }}</h1>
+
+{{content}}
index 11fcfa7f5fd2315c32b5bcdecbc047efd3afd029..6f6bf54ebc1fbefd6244e0330f1a6d631a5d384b 100644 (file)
@@ -11,14 +11,17 @@ layout: index
   </div>
 
   {% if page.tags.size > 0 %}
-  <h6 style="display:inline";>tags: </h6>
+  <h6 style="display:inline";>tags: 
   {% for tag in page.tags %}
     {{ tag }}{% if forloop.last == false %}, {% endif %}
   {% endfor %}
+  </h6>
   {% endif %}
 
+  <br />
+
   {% if page.date %}
-  <h5>posted {{ page.date }}</h5>
+  <h6 style="display:inline">posted {{ page.date }} in {{ page.category }}</h6>
   {% endif %}
 
 </div>
\ No newline at end of file
similarity index 97%
rename from _posts/term/2011-02-02-bash_profile_osx.md
rename to _posts/cmd/2011-02-02-bash_profile_osx.md
index b92158118681f9281a986d672a3208506772c65b..32cbe0426199bd05d9d50fb42c1434ffb2739c00 100644 (file)
@@ -2,7 +2,7 @@
 date: 2011-02-02
 title: osx bash profile
 layout: post
-category: term
+category: cli
 ---
 
 <pre class="prettyprint" >
similarity index 93%
rename from _posts/term/2011-03-11-bash_profile_linux.md
rename to _posts/cmd/2011-03-11-bash_profile_linux.md
index 0143ac134b1b45f536fdd574dbb1306ee4f7cecb..3cd9a124a15e0718a2394dd2d12aff557746290e 100644 (file)
@@ -2,7 +2,7 @@
 title: linux bash profile
 date: march 11 2011
 layout: post
-category: term
+category: cli
 ---
 <pre class="prettyprint">
 alias ls='ls --color'
similarity index 94%
rename from _posts/term/2011-04-16-ssh_keys.md.md
rename to _posts/cmd/2011-04-16-ssh_keys.md.md
index 734101badd3193c4b9393927a78a741689c41e69..72aed493f8a50f58b21d8fc821a43fb755e4c499 100644 (file)
@@ -2,7 +2,7 @@
 layout: post
 title: "create ssh keys"
 date: 2011-04-16
-category: term
+category: cli
 ---
 <pre class="prettyprint">
 ssh-keygen -t rsa
similarity index 96%
rename from _posts/term/2011-04-27-windows_copy.md
rename to _posts/cmd/2011-04-27-windows_copy.md
index 016d77ceb90fb084cf0aea6bd0e044422052ad1c..d4627c63a5ef4252d514ddb02c8ca3a7eff499e9 100644 (file)
@@ -3,7 +3,7 @@ title: "Combine Files (Windows)"
 date: Wed, april 27 2011
 tags: windows cmd console
 layout: post
-category: term
+category: cli
 ---
 <pre class="prettyprint">
 copy /b file1+ file2 output
similarity index 96%
rename from _posts/term/2011-05-10-osx_hidden_files.md
rename to _posts/cmd/2011-05-10-osx_hidden_files.md
index 52872037fb2b33225bcfe10794e9d72d532a3842..7e19c6b57649849ed39cff754b2a9fd14d957381 100644 (file)
@@ -3,7 +3,7 @@ title: "show hidden files (OSX Finder)"
 date: "Tue May 10 21:03:45 PDT 2011"
 tags: osx
 layout: post
-category: term
+category: cli
 ---
 
 via Terminal
similarity index 99%
rename from _posts/term/2011-08-11-terminal_emulator_on_win.md
rename to _posts/cmd/2011-08-11-terminal_emulator_on_win.md
index 02b8dae46017cac6dbdb62e89f7efe74de01671a..28683f78825b64d7003b66500cf6e6739de11c94 100644 (file)
@@ -1,7 +1,7 @@
 ---
 title: "Terminal Emulator on Windows via Cygwin"
 date: august 11 2011
-category: term
+category: cli
 ---
 How to install cygwin on windows:
 
similarity index 96%
rename from _posts/term/2011-09-19-mostused.md
rename to _posts/cmd/2011-09-19-mostused.md
index da32ae2a3beac20af63be62cc0b61be4a8ae2147..910298f11859fd087240e09c31944e7731895e0f 100644 (file)
@@ -2,7 +2,7 @@
 title: command history
 date: "Mon Sep 19 19:39:51 PDT 2011"
 layout: post
-category: term
+category: cli
 ---
 `history | awk {'print $2'} | sort | uniq -c | sort -k1 -rn | head`
 
similarity index 98%
rename from _posts/term/2011-11-09-osx_command_line_audio.md
rename to _posts/cmd/2011-11-09-osx_command_line_audio.md
index ff00b82a73d4313e897bce66fde9e43717a8af17..c65b5d0d76648fc200be3ee37a23e95c210f9a5d 100644 (file)
@@ -3,7 +3,7 @@ title: "command line audio on OSX"
 date: "Wed, Nov  9  2011 18:40:26,  IST"
 tags: audio osx cli
 layout: post
-category: term
+category: cli
 ---
 
 Since there is no equivilent to /dev/dsp or /dev/audio on OSX, you need to install an alternative like <a href="http://sox.sourceforge.net/">sox</a>.
@@ -14,7 +14,7 @@ install <a href="http://mxcl.github.com/homebrew/">homebrew</a>, and then instal
 
 <!--more-->
 
-##Examples
+## examples
 
 cat audio from /dev/urandom/ :
 <pre class="prettyprint">cat /dev/urandom | sox -traw -r44100 -b16 -u - -tcoreaudio</pre>
similarity index 98%
rename from _posts/term/2011-11-14-osx_print_json.md
rename to _posts/cmd/2011-11-14-osx_print_json.md
index b539ebe9524c84c31a46b5a7f353ef10b911d286..8901c9839a9becfee13f2120eb6f0c9118ee65e8 100644 (file)
@@ -3,7 +3,7 @@ title: print formatted JSON, XML from osx command line
 date: "mon, nov 14 2011"
 tags: bash shell python json xml osx
 layout: post
-category: term
+category: cli
 ---
 
 Working with various interfaces that output json or xml results in lots of situations where you have a single-line, unformatted output. Here's a quick way to format json, xml from the CLI.
similarity index 99%
rename from _posts/term/2012-01-02-archlinux_install.md
rename to _posts/cmd/2012-01-02-archlinux_install.md
index 404cd836b858cf2ecb3ffaca93f23dd86f285c7b..f0d98ee3405561e30c1807a23ff94ff52abf21ac 100644 (file)
@@ -3,7 +3,7 @@ title: "DualBoot Archlinux/Windows7 Installation"
 date: 2012-01-02
 tags: arch linux windows installation tutorial
 layout: post
-category: term
+category: cli
 ---
 
 Documentation of the process of installing [archlinux](http://www.archlinux.org/) and Windows 7 in a dual-boot configuration.
index 854930ad00c61b071689b438045f1b22c6c548bd..d4b2f723d45b3dd843274c0a08b22bf44911993d 100644 (file)
@@ -2,7 +2,7 @@
 date: 2007-12-12
 title: MEL Notepad
 tags: mel maya
-category: snippet
+category: snippets
 ---
 
 mel notepad with various code snippets
index eedfbf9c9e0f3644347cb9a308be3530b765189c..49fe7bf385358076a888e77ac3ca65703bd49309 100644 (file)
@@ -3,7 +3,7 @@ title: Image Slice
 date: 2009-04-23
 tags: bash script slice image imagemagick
 lang: bash
-category: snippet
+category: snippets
 layout: post
 ---
 
index f080eb2c04559e35a7736443853f890d6f738a65..9890ae751198b1b76b233e86609d1e648507c18d 100644 (file)
@@ -4,7 +4,7 @@ title: "Sphere Intersect in Maya/MEL"
 tags: maya mel sphere intersection
 lang: mel
 layout: post
-category: snippet
+category: snippets
 ---
 <p>
 Function to return location of intersect with poly mesh and spherical object moving in the positive direction on the Y axis.
index ee723d5e6fa82bebb008754e8783b91605b901b2..dcd6135e4e345114a1dcb3e39a8b42ea6faba5d8 100644 (file)
@@ -3,7 +3,7 @@ title: Rename Multiple Files via Shell
 tags: bash terminal rename
 date: 2010-01-11
 layout: post
-category: snippet
+category: snippets
 ---
 <pre class="prettyprint">
 ls | nl -nrz -w2 | while read a b; do mv "$b" filename.$a.png; done;
index bb7fda38dcfed89a4fa28bf05111549355bc0ffd..edbfe5af9212903dca0cd3149abde2cc69cb5402 100644 (file)
@@ -3,7 +3,7 @@ title: date for new filename
 lang: bash
 date: 2010-02-07
 layout: post
-category: snippet
+category: snippets
 ---
 <pre class="prettyprint lang-bash">#!/bin/bash
 # Shell script to create file named after the current date
index ab8a0a3b61e964fff8aef0d0e81517687b62313c..89286b885ff07194ffc96ca4491765b033530f00 100644 (file)
@@ -3,7 +3,7 @@ date: 2010-05-15
 title: "Rewrite URL: Replace Double Slashes With Single Slash"
 tags: htaccess apache
 layout: post
-category: snippet
+category: snippets
 ---
 
 <pre>
index 388efa854f264d498a8e185833f6f845e44024c3..41348ea477c25ac32addbea3603edbd96fa03c87 100644 (file)
@@ -4,7 +4,7 @@ tags: maya render bat
 date: 2010-07-07
 hidden: true
 layout: post
-category: snippet
+category: snippets
 ---
 *.bat file structure
 
index 9023d502442c30b463ff545669e952a934dc03f9..c1a482f8736e9dc9ac929d314d293e34799f517e 100644 (file)
@@ -2,7 +2,7 @@
 title: resize multiple images
 date: 2010-07-11
 layout: post
-category: snippet
+category: snippets
 ---
 <pre class="prettyprint lang-bash">for k in $(ls *.JPG); do convert $k -resize 50% -quality 80 r_$k; done</pre>
 
index 390114381fff0fa470ff68d173f0d4d81f64b1f4..515418c0eef3f290d0d9f91fa422f862e4dd00c0 100644 (file)
@@ -2,7 +2,7 @@
 title: "create bootable iso from unix/osx terminal"
 date: july 7 2011
 layout: post
-category: snippet
+category: snippets
 ---
 
 1. <code class="prettyprint">diskutil list</code><br />
index b162b26ee76af002de591d95ce6a8d4b019974cb..2e0bccb7e7f7ed2904f4ebe9ccc3d54997d822e8 100644 (file)
@@ -3,7 +3,7 @@ title: count words in html file with python
 date: 2013-04-19
 tags: python code
 layout: post
-category: snippet
+category: snippets
 ---
 
 ```prettyprint-python
index 223eed644fe46b412eb3d22ebce6bc3155873f31..43b1687116b1bb3f9e692979a627bf048e491957 100644 (file)
@@ -1,7 +1,7 @@
 ---
 title: Generate Semitones
 date: 2013-09-16
-category: snippet
+category: snippets
 ---
 
 ```prettyprint
index 929957f85d131abd83ef754a3dee52f0cb9c7f0b..329844cc1387e546b8b82899e7c7bace3de07a71 100644 (file)
@@ -1,7 +1,7 @@
 ---
 date: 2014-06-20
 title: creating gif from mov with ffmpeg and gifsicle
-category: snippet
+category: snippets
 ---
 <pre class="prettyprint" >
 ffmpeg -i in.mov -s 640x360 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=6 > out.gif
index 894f125027a69ddbe2a3e694e16b84755f3b46f4..e7a5fadf0728b74e5451728a74321e181d25bfd2 100644 (file)
--- a/all.html
+++ b/all.html
@@ -14,8 +14,10 @@ layout: index
 
 <div class="allposts">
 
-<h2>code</h2>  
+<h1><a href="/code">open source</a></h1>
+
 <br />
+
 {% for post in site.categories.code %}
 <div class="entry">
   <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }} <span style="font-weight:normal; color:#393939;">{{ post.date | date: "%Y-%m-%d" }}</span></a></h1>
@@ -25,9 +27,11 @@ layout: index
 <br />
 <br />
 
-<h2>snippet</h2>  
+
+<h1><a href="/snippets"> code snippets</a></h1>
+
 <br />
-{% for post in site.categories.snippet %}
+{% for post in site.categories.snippets %}
 <div class="entry">
   <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }} <span style="font-weight:normal; color:#393939;">{{ post.date | date: "%Y-%m-%d" }}</span></a></h1>
 </div>
@@ -36,9 +40,10 @@ layout: index
 <br />
 <br />
 
-<h2>term</h2>
+<h2><a href="/cli">command line</a></h2>
+
 <br />
-{% for post in site.categories.term %}
+{% for post in site.categories.cli %}
 <div class="entry">
   <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }} <span style="font-weight:normal; color:#393939;">{{ post.date | date: "%Y-%m-%d" }}</span></a></h1>
 </div>
diff --git a/cli.html b/cli.html
new file mode 100644 (file)
index 0000000..a34f936
--- /dev/null
+++ b/cli.html
@@ -0,0 +1,13 @@
+---
+layout: cat
+title: command line
+---
+
+<div class="allposts">
+  <br />
+  {% for post in site.categories.cli %}
+  <div class="entry">
+    <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }} <span style="font-weight:normal; color:#393939;">{{ post.date | date: "%Y-%m-%d" }}</span></a></h1>
+  </div>
+  {% endfor %}
+</div>
diff --git a/code.html b/code.html
new file mode 100644 (file)
index 0000000..18c22d8
--- /dev/null
+++ b/code.html
@@ -0,0 +1,14 @@
+---
+layout: cat
+title: open source
+---
+
+
+<div class="allposts">
+  <br />
+  {% for post in site.categories.code %}
+  <div class="entry">
+    <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }} <span style="font-weight:normal; color:#393939;">{{ post.date | date: "%Y-%m-%d" }}</span></a></h1>
+  </div>
+  {% endfor %}
+</div>
index 59a45201cbaaac4da5b4dcfdd81dc0f2c843b758..6f8b31cb9e1acbf265b1850f3b7e2c3454b53b1a 100644 (file)
@@ -55,6 +55,7 @@ h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
 
 h2, h3, h4, h5, h6 {
     font-size:1.3em;
+    font-weight: normal;
 }
 h3, h4, h5, h6 {
     font-size:1.0em;
@@ -149,16 +150,17 @@ span.nextprev span a:hover {
 }
 
 .more {
-/*    font-weight: normal;*/
+    font-weight:bold;
     text-transform: uppercase;
     font-style: italic;
     font-size: 10px;
     color:#555;
     text-decoration: underline;
+    letter-spacing: 0.1em;
 }
 .more:hover {
-    color:#999;
-    letter-spacing: 0.1em;
+    color:#f0f;
+
 }
 
 
index b0ef9ceddca509e8a6028da5d72d8f2a6a68679a..36acead7e949596d6ae66532b468e0fe2fecd107 100644 (file)
@@ -22,13 +22,13 @@ layout: index
   {% assign total_items = paginator.total_posts %}
   {% assign total_pages = paginator.total_pages %}
 
-  {{ start_item }}&mdash;{{ end_item | at_most: total_items }} of {{ total_items }} entries
-  {% endif %}
-
   <span class="nextprev">
     <span>{% if paginator.previous_page %}<a href="{{ paginator.previous_page_path }}" class="previous">&lsaquo;</a>{% else %}&lsaquo;{% endif %}</span>
     <span>{% if paginator.next_page %}<a href="{{ paginator.next_page_path }}" class="next">&rsaquo;</a>{% else %}&rsaquo;{% endif %}</span>
   </span>
 
+  {{ start_item }}&mdash;{{ end_item | at_most: total_items }} of {{ total_items }} entries
+  {% endif %}
+
 </div>
 
diff --git a/snippets.html b/snippets.html
new file mode 100644 (file)
index 0000000..5655127
--- /dev/null
@@ -0,0 +1,13 @@
+---
+layout: cat
+title: snippets
+---
+
+<div class="allposts">
+  <br />
+  {% for post in site.categories.snippets %}
+  <div class="entry">
+    <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }} <span style="font-weight:normal; color:#393939;">{{ post.date | date: "%Y-%m-%d" }}</span></a></h1>
+  </div>
+  {% endfor %}
+</div>