Skip to content

Instantly share code, notes, and snippets.

// AntennaRange
//
// AntennaRange.cfg
//
// Copyright © 2014-2015, toadicus
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
@pacbard
pacbard / main.cf
Created April 20, 2014 16:16
Mail Server Config
## These are all default Postfix settings that we won't change
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
inet_interfaces = all
mailbox_command = /usr/lib/dovecot/deliver -c
/etc/dovecot/conf.d/01-mail-stack-delivery.conf -m "${EXTENSION}"
mailbox_size_limit = 0

Keybase proof

I hereby claim:

  • I am pacbard on github.
  • I am ebardelli (https://keybase.io/ebardelli) on keybase.
  • I have a public key whose fingerprint is 0565 262B E5E0 72FD D520 8C4C 9250 6EA5 B3A9 1DFF

To claim this, I am signing this object:

# texlive.profile written on Sun Aug 11 18:46:21 2013 UTC
# It will NOT be updated and reflects only the
# installation profile at installation time.
selected_scheme scheme-custom
TEXDIR ~/app-root/data/texlive
TEXMFCONFIG ~/app-root/data/.texlive/texmf-config
TEXMFHOME ~/app-root/data/texmf
TEXMFLOCAL ~/app-root/data/texlive/texmf-local
TEXMFSYSCONFIG ~/app-root/data/texlive/texmf-config
TEXMFSYSVAR ~/app-root/data/texlive/texmf-var
<!-- Use for displaying prev and next page links on your current page -->
<!-- Get the next and previous document from the current document -->
<% for document,documentIndex in @getCollection('projects').toJSON(): %>
<!-- Get the current document, from there, we will be able to get the next and previous -->
<% if @document.id is document.id: %>
<!-- We have the current document, do the next and previous buttons -->
@pacbard
pacbard / jekyll_reduce.rb
Created November 12, 2012 20:26
Jekyll plugin to compress assets
require 'reduce'
require 'html_press'
module Jekyll
module Compressor
def output_file(dest, content)
FileUtils.mkdir_p(File.dirname(dest))
File.open(dest, 'w') do |f|
f.write(content)
end
@pacbard
pacbard / Gemfile
Created November 12, 2012 03:56
Heroku Octopress Minimal Setup
source "http://rubygems.org"
gem 'sinatra', '1.2.6'
gem "dalli"
gem "rack-cache"
gem 'memcachier'
@pacbard
pacbard / fancybox.scss
Last active October 12, 2015 16:48
FancyBox for Octopress Files. How-to at this page: http://blog.pacbard.c9.io/2013/01/05/installing-lightbox-on-octopress/
@import "compass";
/*! fancyBox v2.0.6 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-tmp iframe, .fancybox-tmp object {
vertical-align: top;
padding: 0;
margin: 0;
}
.fancybox-wrap {
@pacbard
pacbard / bookmark.js
Created October 10, 2012 15:22
CSULA Library Bookmarklet
javascript:(function(){window.location='http://mimas.calstatela.edu/login?url='+window.location.href;})()
@pacbard
pacbard / mathjax.html
Created October 6, 2012 17:32
MathJax Loader
<!-- mathjax config similar to math.stackexchange -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
}
});