--- /dev/null
+Options +FollowSymLinks
+RewriteEngine On
+
+RewriteCond %{HTTPS} !=on
+RewriteRule ^(.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
+Header always set Content-Security-Policy "upgrade-insecure-requests;"
+
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteCond %{REQUEST_FILENAME} !-d
+RewriteRule (.*) index.php?p=$1 [L]
<h1>— {{ page.title }}</h1>
- <div>
+ <div style="margin-bottom:1em;">
{{content}}
</div>
-{% if page.tags %}
- <ul>
- {% for tag in page.tags %}
- <li>{{ tag }}</li>
- {% endfor %}
- </ul>
-{% endif %}
+ {% if page.tags.size > 0 %}
+ <h6 style="display:inline";>tags: </h6>
+ {% for tag in page.tags %}
+ {{ tag }}{% if forloop.last == false %}, {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% if page.date %}
<h5>posted {{ page.date }}</h5>
+ {% endif %}
</div>
\ No newline at end of file
<ul>
<li><a href="{{site.url}}/">home</a></li>
<li><a href="{{ site.url }}/all/">all entries</a></li>
- <li><a href="{{ site.url }}/about/">about</a></li>
- <li><a href="{{ site.url }}/feed.xml">rss</a></li>
+ <li><a href="{{ site.url }}/about/">about</a></li>
+ <li><br /></li>
+ <li><a href="{{ site.url }}/feed.xml">rss</a></li>
</ul>
</div>
// Result: pCubeShape223 //
</pre>
-<h2>other reference</h2>
-<ul class="bullet">
-<li><a href="http://xyz2.net/mel/">http://xyz2.net/mel/</a></li>
-</ul>
+<h2>more references</h2>
+
+- [https://danielfaust.github.io/ewertb/maya.html](https://danielfaust.github.io/ewertb/maya.html)
+
-<pre class="prettyprint">#!/bin/bash
-#@author gabriel dunne <quilime.com>
+```prettyprint
+
+#!/bin/bash
+# @author gabriel dunne <quilime.com>
IMAGE=$1
IMAGE_W=$2
done
fi
-</pre>
+```
<!--more-->
-##To Use
+## To Use
+
navigate to slice.sh in your terminal and do
-<pre class="prettyprint">chmod +x slice.sh
-./slice.sh Sunset.jpg 800 600 16 16</pre>
-replace **Sunset.jpg** with your image name.
-params: **Image Height, Image Width, Vertical Divisions, Horizontal Divisions**
+
+```prettyprint
+chmod +x slice.sh
+./slice.sh Sunset.jpg 800 600 16 16
+```
+
+replace `Sunset.jpg` with your image name.
+params: `Image Height, Image Width, Vertical Divisions, Horizontal Divisions`
<br />
<h2>
mel source
</h2>
-<pre class="prettyprint lang-mel">global proc intersectSphereY()
+```prettyprint
+global proc intersectSphereY()
{
print(". . . . . go go go\n");
(($p1[2] - $p2[2]) * ($p1[2] - $p2[2])));
}
-intersectSphereY;</pre>
+intersectSphereY;
+```
-
-
-<img src="http://media.quilime.com/files/img/sphere_intersect.png">
+<img src="http://media.quilime.com/files-bak/img/sphere_intersect.png">
layout: post
---
-<pre class="prettyprint">
+<pre>
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
</pre>
\ No newline at end of file
---
-title: filebrowser
+title: PHP File Browser Scripts
date: 2011-06-28
layout: post
---
-<a href="https://github.com/quilime/filebrowser">File Browser</a> PHP script on GitHub.
-demo:
-<a href="http://media.quilime.com/">media.quilime.com</a>
+These scripts offer some handy features for browsing files/folders on a webserver.
+
+[Source](https://github.com/quilime/filebrowser) on GitHub.
+
+## DirectoryLister
+
+A fancy index script for browsing folders.
+
+- Tested with PHP **7.2.30** and **7.4.6**
+- Classical text-only view with HTML table
+- Sortable by columns
+- Single file for easy including
+- Easy to customize
+- BSD license
+
+Options:
+
+- Ignore Dotfiles (hidden files)
+- Date Format for file mod fime
+- Show Line Numbers
+- Sort folders seperately
+- Calculate folder sizes
+- Show file sizes
+- Show file type (based on extension)
+- Show file modified date
+- Natural sort file tree (ignore case)
+- File and Folder Excludes
+
+<img src="http://media.quilime.com/Directory-Lister.png" />
+
+
+## MediaBrowser
+
+A index script that generates thumbnail gallery for images and displays READMEs. This is an experiment and WIP.
+
+- Tested with **PHP 7.2.30**
+- Generate thumbs and create gallery for images
+- Preview audio files
+- Single file for easy including
+- Easy to customize
+- Display 'README' if present
+- BSD license
+
+<img src="http://media.quilime.com/Media-Browser.png" />
\ No newline at end of file
+++ /dev/null
----
-title: "filebrowser update"
-date: 2020-06-04
----
-
-Updated to PHP 7.4
-
-<a href="https://github.com/quilime/filebrowser">File Browser</a> PHP script on GitHub.
title: about
---
-quilime.com is a collection of code, experiments, and process
+© 1999—{{ "now" | date: "%Y" }} [GABRIEL DUNNE](https://gabrieldunne.com)
-© 1999—{{ "now" | date: "%Y" }} [~gld](https://gabrieldunne.com)
+older versions
+<!-- - [2008](http://portfolio.quilime.com/2008) -->
+- [2007](http://portfolio.quilime.com/new/port.php)
+- [2005](http://portfolio.quilime.com/recent.html)
+- [2004](http://portfolio.quilime.com/archive/)
\ No newline at end of file
font-size:1.1em;
}
h3, h4, h5, h6 {
- font-size:1.0;
+ font-size:1.0em;
}
h5, h6 {
- font-size:12px;
font-weight: normal
}
ul, li {
- margin:0; padding:0; list-style-type:none;
+ margin:0;
+ padding:0;
+ list-style-type:none;
+ list-style-type: "— ";
+}
+li {
+ padding-left:0.25em;
+ margin-left:1.5em;
}
ol {
margin:0;
background:#303030;
border-radius:4px;
text-indent: 0;
- text-shadow: 0 0 8px #44FFAA55;
+ text-shadow: 0 0 8px #44FFAA44;
}
pre {
padding:10px 1em;
- position:relative;
- left:-1em;
+/* position:relative;*/
+/* left:-1em;*/
overflow: auto;
}
code {
.entry h1 {
margin-bottom:1em;
position:relative;
- left:-1.65em;
+ left:-1.5em;
}
.entry h1 a {
}