baseurl: ""
url: "https://quilime.com"
excerpt_separator: "<!--more-->"
-permalink: /:title:output_ext
+permalink: /:categories/:title:output_ext
plugins:
- jekyll-feed
- jekyll-paginate
--- /dev/null
+---
+layout: index
+---
+
+<h1>{{ page.title }}</h1>
+
+{{content}}
</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
date: 2011-02-02
title: osx bash profile
layout: post
-category: term
+category: cli
---
<pre class="prettyprint" >
title: linux bash profile
date: march 11 2011
layout: post
-category: term
+category: cli
---
<pre class="prettyprint">
alias ls='ls --color'
layout: post
title: "create ssh keys"
date: 2011-04-16
-category: term
+category: cli
---
<pre class="prettyprint">
ssh-keygen -t rsa
date: Wed, april 27 2011
tags: windows cmd console
layout: post
-category: term
+category: cli
---
<pre class="prettyprint">
copy /b file1+ file2 output
date: "Tue May 10 21:03:45 PDT 2011"
tags: osx
layout: post
-category: term
+category: cli
---
via Terminal
---
title: "Terminal Emulator on Windows via Cygwin"
date: august 11 2011
-category: term
+category: cli
---
How to install cygwin on windows:
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`
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>.
<!--more-->
-##Examples
+## examples
cat audio from /dev/urandom/ :
<pre class="prettyprint">cat /dev/urandom | sox -traw -r44100 -b16 -u - -tcoreaudio</pre>
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.
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.
date: 2007-12-12
title: MEL Notepad
tags: mel maya
-category: snippet
+category: snippets
---
mel notepad with various code snippets
date: 2009-04-23
tags: bash script slice image imagemagick
lang: bash
-category: snippet
+category: snippets
layout: post
---
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.
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;
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
title: "Rewrite URL: Replace Double Slashes With Single Slash"
tags: htaccess apache
layout: post
-category: snippet
+category: snippets
---
<pre>
date: 2010-07-07
hidden: true
layout: post
-category: snippet
+category: snippets
---
*.bat file structure
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>
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 />
date: 2013-04-19
tags: python code
layout: post
-category: snippet
+category: snippets
---
```prettyprint-python
---
title: Generate Semitones
date: 2013-09-16
-category: snippet
+category: snippets
---
```prettyprint
---
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
<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>
<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>
<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>
--- /dev/null
+---
+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>
--- /dev/null
+---
+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>
h2, h3, h4, h5, h6 {
font-size:1.3em;
+ font-weight: normal;
}
h3, h4, h5, h6 {
font-size:1.0em;
}
.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;
+
}
{% 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="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>
+ {{ start_item }}—{{ end_item | at_most: total_items }} of {{ total_items }} entries
+ {% endif %}
+
</div>
--- /dev/null
+---
+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>