This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for D in `find * -type d` | |
do | |
cd $D | |
zip -0 -m relative/path/to/comics/My\ Awesome\ Comic\ 0$D.cbz * >/dev/null | |
echo "$D zipped" | |
cd ../ | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for file in * | |
do | |
: $((n = $n + 1)) | |
if [[ $file == *.cbr ]] | |
then | |
mkdir "$n" | |
mv "$file" "$n" | |
cd $n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
account default | |
host mail.messagingengine.com | |
from [email protected] | |
auth on | |
user [email protected] | |
password password | |
tls on | |
tls_trust_file /usr/share/ca-certificates/mozilla/DigiCert_High_Assurance_EV_Root_CA.crt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
layout: default | |
title: archives | |
--- | |
<div class="webblogPost"> | |
<h3>Archive</h3> | |
<div id="weblogPostBody"> | |
{% for month in page.months %} | |
<h4>{{ month | date:"%B" }} <small>{{ month | date:"%Y" }}</small></h4> | |
<ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'net/https' | |
module Jekyll | |
class RenderGist< Liquid::Tag | |
def initialize(tag_name, url, tokens) | |
super | |
tokens = url.split(' ') | |
@url = tokens[0] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export PASSPHRASE=mgpgpassphrase | |
export AWS_ACCESS_KEY_ID=mys3accesskey | |
export AWS_SECRET_ACCESS_KEY=mys3secretaccesskey | |
date="date +%d" | |
GPG_KEY="mygpgkey" #Public GPG Key |