title: quilime.com
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://quilime.com" # the base hostname & protocol for your site, e.g. http://example.com
+excerpt_separator: "<!--more-->"
permalink: /:categories/:title:output_ext
# Build settings
plugins:
- jekyll-feed
- jekyll-paginate
-
-paginate: 5
-
+paginate: 10
+paginate_path: "/page:num/"
defaults:
-
scope:
-<div class="nav" id="nav">
- <ul>
- <li><h4 style="margin-top:0;" class="header"><a href="{{site.url}}/">{{site.name}}</a></h4></li>
- <li><a href="{{ site.url }}/about/">about</a></li>
- <li><a href="{{ site.url }}/posts/">all posts</a></li>
+<ul>
+ <li><h4 style="margin-top:0;" class="header"><a href="{{site.url}}/">{{site.name}}</a></h4></li>
+ <li><a href="{{ site.url }}/about/">about</a></li>
+ <li><a href="{{ site.url }}/posts/">all posts</a></li>
- <li> </li>
- <li><h4 class="header"><a href="/featured/">featured</a></h4></li>
- {% for post in site.categories.featured %}
- <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
- {% endfor %}
+ <li> </li>
+ <li><h4 class="header"><a href="/featured/">featured</a></h4></li>
+ {% for post in site.categories.featured %}
+ <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
- <li> </li>
- <li><h4 class="header"><a href="/works/">works</a></h4></li>
- {% for post in site.categories.works %}
- <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
- {% endfor %}
+ <li> </li>
+ <li><h4 class="header"><a href="/works/">works</a></h4></li>
+ {% for post in site.categories.works %}
+ <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
- <li> </li>
- <li><h4 class="header"><a href="/performance/">performance</a></h4></li>
- {% for post in site.categories.performance %}
- <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
- {% endfor %}
+ <li> </li>
+ <li><h4 class="header"><a href="/performance/">performance</a></h4></li>
+ {% for post in site.categories.performance %}
+ <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
- <li> </li>
- <li><h4 class="header"><a href="/projects/">projects</a></h4></li>
- {% for post in site.categories.projects %}
- <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
- {% endfor %}
+ <li> </li>
+ <li><h4 class="header"><a href="/projects/">projects</a></h4></li>
+ {% for post in site.categories.projects %}
+ <li class="indent"><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
- <li> </li>
- <li><a href="{{ site.url }}/notes/">notes</a></li>
- <li><a href="{{ site.url }}/archive-d/">archive</a></li>
- <li><a href="{{ site.url }}/feed.xml">rss</a></li>
- </ul>
-</div>
\ No newline at end of file
+ <li> </li>
+ <li><a href="{{ site.url }}/notes/">notes</a></li>
+ <li><a href="{{ site.url }}/archive-d/">archive</a></li>
+ <li><a href="{{ site.url }}/feed.xml">rss</a></li>
+</ul>
-<!doctype html>
-<html>
- <head>
- <meta charset="utf-8">
+---
+layout: index
+---
- <title>{{ page.title }}</title>
+<div class="entry">
- <link rel="stylesheet" href="/css/style.css" type="text/css">
- <meta name="viewport" content="width=device-width, initial-scale=1" />
+ <h1>— {{ page.title }}</h1>
- <!-- prettify -->
- <script type="text/javascript" src="/js/prettify/prettify.js"></script>
- <link href="/js/prettify/prettify.css" type="text/css" rel="stylesheet" />
- <script>window.onload = () => { prettyPrint() }</script>
+ <div>
+ {{content}}
+ </div>
- </head>
- <body>
+{% if page.tags %}
+ <ul>
+ {% for tag in page.tags %}
+ <li>{{ tag }}</li>
+ {% endfor %}
+ </ul>
+{% endif %}
- <nav id="nav">
- <a href="/">home</a>
- <a href="/archive-c">archive-c</a>
- </nav>
+ <h5>posted {{ page.date }}</h5>
- <div id="content">
- {{ content }}
- <div>
-
- </body>
-</html>
\ No newline at end of file
+</div>
\ No newline at end of file
----
-layout: default
----
-
-
-<!-- This loops through the paginated posts -->
-{% for post in paginator.posts %}
-<div class="entry">
- <h1><a href="{{ post.url }}">— {{ post.title }}</a></h1>
- <div class="content">
- {{ post.content }}
- </div>
-</div>
-{% endfor %}
-
-
-<!-- Pagination links -->
-<div class="pagination">
- {% if paginator.previous_page %}
- <a href="{{ paginator.previous_page_path }}" class="previous">
- Previous
- </a>
- {% else %}
- <span class="previous">Previous</span>
- {% endif %}
- <span class="page_number ">
- Page: {{ paginator.page }} of {{ paginator.total_pages }}
- </span>
- {% if paginator.next_page %}
- <a href="{{ paginator.next_page_path }}" class="next">Next</a>
- {% else %}
- <span class="next ">Next</span>
- {% endif %}
-</div>
+<!doctype html>
+<html>
+ <head>
+ <meta charset="utf-8">
+
+ <title>{{ page.title }}</title>
+
+ <link rel="stylesheet" href="/css/style.css" type="text/css">
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+
+ <!-- prettify -->
+ <script type="text/javascript" src="/js/prettify/prettify.js"></script>
+ <link href="/js/prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script>window.onload = () => { prettyPrint() }</script>
+
+ </head>
+ <body>
+
+ <div id="nav">
+ <ul>
+ <li><a href="{{site.url}}/">home</a></li>
+ <li><a href="{{ site.url }}/about/">about</a></li>
+ <li><a href="{{ site.url }}/feed.xml">rss</a></li>
+ </ul>
+
+ </div>
+
+ <div id="content">
+ {{ content }}
+ <div>
+
+ </body>
+</html>
\ No newline at end of file
layout: default
---
-<div class="entry">
-
- <h1>— {{ page.title }}</h1>
-
- <div>
- {{content}}
- </div>
-
- tags
- <ul>
- {% for tag in page.tags %}
- <li>{{ tag }}</li>
- {% endfor %}
- </ul>
-
-</div>
\ No newline at end of file
+{{ content }}
date: 2007-12-12
title: MEL Notepad
tags: mel maya
-layout: post
---
mel notepad with various code snippets
demo: <a href="http://clmpr.com">clmpr.com</a> \r
source: <a href="http://github.com/quilime/clmpr">http://github.com/quilime/clmpr</a>\r
\r
-<img src="http://media.quilime.com/files/img/clmpr.png" />
\ No newline at end of file
+<img src="http://media.quilime.com/files-bak/img/clmpr.png" />\r
<code class="prettyprint">$ sudo killall -INFO dd</code><br />
The process info will display in the original terminal.
+<!--more-->
\ No newline at end of file
- 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)
- <br />
3. **Optional Packages**
- openssh
- vim, emacs
- any additional fonts
- <br />
<!--more-->
---
`history | awk {'print $2'} | sort | uniq -c | sort -k1 -rn | head`
+<!--more-->
+
example
```prettyprint
// brand new netbook
or
install <a href="http://mxcl.github.com/homebrew/">homebrew</a>, and then install sox with <code class="prettyprint">brew install sox</code>
+<!--more-->
+
##Examples
cat audio from /dev/urandom/ :
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.
+<!--more-->
+
via the command line:
format json
Documentation of the process of installing [archlinux](http://www.archlinux.org/) and Windows 7 in a dual-boot configuration.
+<!--more-->
+
## System Specs
- AMD X2 dual-core processor, running at 2.8 ghz, circa 2002
date: 2013-09-16
---
-<pre class="code prettyprint">
-
+```prettyprint
#!/bin/perl
my $m = 2 ** (1/12);
foreach my $s (0..12) {
10 - 782
11 - 888
12 - 1000
-</pre>
+```
+
+[gist](https://gist.github.com/quilime/59fc3af7c5f30ca2399f#file-semitones-pl)
+
-[gist](https://gist.github.com/quilime/59fc3af7c5f30ca2399f#file-semitones-pl)
\ No newline at end of file
--- /dev/null
+---
+title: about
+---
+
+quilime.com is a collection of code, experiments, and process
+
+© 1999—{{ "now" | date: "%Y" }} [~gld](https://gabrieldunne.com)
+++ /dev/null
----
-layout: default
-title: archive
----
-
-{% include archive-sort.html %}
-
-<div class="posts">
- <!-- {% for category in site.categories %} -->
- <h2 class="date">{{ category | first }}</h2>
- <ul class="posts">
- <!-- {% for posts in category %} -->
- {% for post in posts %}
- <li><h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2></li>
- {% endfor %}
- <!-- {% endfor %} -->
- </ul>
- <!-- {% endfor %} -->
-</div>
+++ /dev/null
----
-layout: default
-title: archive
----
-
-{% include archive-sort.html %}
-
-<ul class="posts">
- {% for post in site.posts %}
- {% capture day %}{{ post.date | date: '%Y' }}{% endcapture %}
- {% capture nday %}{{ post.next.date | date: '%Y' }}{% endcapture %}
- {% if day != nday %}
- <h2 class="date">{{ post.date | date: "%Y" }}</h2>
- {% endif %}
- <li>
- <h2><a href="{{ site.url }}{{ post.url }}">{{ post.title }}</a></h2>
- </li>
- {% endfor %}
- <h2 class="date">∞</h2>
- <li>
- <h2><a href="/past/">PAST WORK</a></h2>
- </li>
-</ul>
+++ /dev/null
----
-layout: default
-title: archive
----
-
-{% include archive-sort.html %}
-
-<ul class="thumbs">
- {% for post in site.posts %}
- {% capture day %}{{ post.date | date: '%Y' }}{% endcapture %}
- {% capture nday %}{{ post.next.date | date: '%Y' }}{% endcapture %}
- <li>
- <a href="{{ site.url }}{{ post.url }}">
- <span class="img"><img src="{{ post.thumb }}" /></span>
- </a>
- </li>
- {% endfor %}
- <li>
- <a href="/past/">
- <span class="img"><img src="{{ post.thumb }}" /></span>
- </a>
- </li>
-</ul>
font-size:14px;
line-height:1.4em;
}
-
body {
background: var(--bg-color);
padding:0;
- margin:4em;
+ margin:2em;
color: #ddd;
}
a {
}
h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
}
+h5 {
+ font-size:12px;
+ font-weight: normal
+}
ul, li {
}
#content {
- padding-left: 160px;
- margin-top:20px;
- padding-bottom: 20px;
+ position: absolute;
+ z-index: -1;
+ top:2em;
+ padding-left: 160px;
+ padding-bottom: 20px;
}
#content.single {
padding-top:0;
}
-#nextprev {
- padding:0 50px 10px 150px;
+span.nextprev {
+}
+span.nextprev span {
+ width: 2em;
+ line-height:2em;
+ display: inline-block;
+ text-align: center;
+ height: 2em;
+ background:#444;
+ margin:0 3px;
+ font-size: 20px;
+ color:#777;
+}
+span.nextprev span a {
+ display:inline-block;
+ width:100%;
+ height:100%;
+ color:var(--link-color);
}
+.more {
+/* font-weight: normal;*/
+ text-transform: uppercase;
+ font-style: italic;
+ font-size: 10px;
+ color:#555;
+ text-decoration: underline;
+}
+.more:hover {
+ color:#999;
+ letter-spacing: 0.1em;
+}
#nav {
+/*display:none;*/
position:fixed;
top:0;
left:0;
.entry {
- padding-bottom:20px;
- margin-bottom:100px;
+ margin-bottom: 4em;
}
.entry .metadata {
/*visibility:hidden;*/
}
.entry h1 {
- margin-bottom:5px;
+ margin-bottom:1em;
position:relative;
left:-1.65em;
}
background:#131313;
padding:20px;
}
+
+._c {
+ display: none;
+}
\ No newline at end of file
layout: index
---
-
-<!-- This loops through the paginated posts -->
-{% for post in paginator.posts %}
-<div class="entry">
- <h1><a href="{{ post.url }}">— {{ post.title }}</a></h1>
- <div class="content">
- {{ post.content }}
- </div>
+<!-- Posts -->
+<div class="posts">
+ {% for post in paginator.posts %}
+ <div class="entry">
+ <h1><a href="{{ site.url }}{{ post.url }}">— {{ post.title }}</a></h1>
+ <p class="_e">{{ post.excerpt }}</p>
+ <a class="more" href="{{ site.url }}{{ post.url }}">more...</a>
+ </div>
+ {% endfor %}
</div>
-{% endfor %}
-
<!-- Pagination links -->
<div class="pagination">
- {% if paginator.previous_page %}
- <a href="{{ paginator.previous_page_path }}" class="previous">
- Previous
- </a>
- {% else %}
- <span class="previous">Previous</span>
+
+ {% if paginator.total_pages > 1 %}
+ {% assign start_item = paginator.page | times: paginator.per_page | minus: paginator.per_page | plus: 1 %}
+ {% assign end_item = paginator.page | times: paginator.per_page %}
+ {% assign total_items = paginator.total_posts %}
+ {% assign total_pages = paginator.total_pages %}
+
+ {{ start_item }}—{{ end_item | at_most: total_items }} of {{ total_items }} entries
{% endif %}
- <span class="page_number ">
- Page: {{ paginator.page }} of {{ paginator.total_pages }}
+
+ <span class="nextprev">
+ <span>{% if paginator.previous_page %}<a href="{{ paginator.previous_page_path }}" class="previous">‹</a>{% else %}‹{% endif %}</span>
+ <span>{% if paginator.next_page %}<a href="{{ paginator.next_page_path }}" class="next">›</a>{% else %}›{% endif %}</span>
</span>
- {% if paginator.next_page %}
- <a href="{{ paginator.next_page_path }}" class="next">Next</a>
- {% else %}
- <span class="next ">Next</span>
- {% endif %}
+
</div>
+