Skip to content

Instantly share code, notes, and snippets.

@mandaris
mandaris / pelicanconfig.py
Created September 17, 2013 19:49
Current version of my pelican configuration
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Mandaris'
SITENAME = u'Quotidian Quest'
SITEURL = u'quotidianquest.com'
TIMEZONE = u'US/Pacific'
DEFAULT_LANG = u'en'
@mandaris
mandaris / console
Created November 7, 2013 01:01
Console for jenkins error
[INFO] Working directory: /Users/mandaris/.jenkins/scm-sync-configuration/checkoutConfiguration
Nov 06, 2013 11:38:29 AM hudson.plugins.scm_sync_configuration.SCMManipulator checkinFiles
SEVERE: [checkinFiles] Problem during SCM commit : fatal: '[email protected]/mandaris/jenkins_configuration.git' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Nov 06, 2013 11:38:29 AM hudson.plugins.scm_sync_configuration.ScmSyncConfigurationBusiness processCommitsQueue
SEVERE: Error while processing commit queue : Error while checking in file to scm repository
@mandaris
mandaris / JournalProcessing
Created April 16, 2015 13:50
Applescript to take an email message from Mail.app and place it into DayOne using the CLI
(* This is a near copy of the script found on Veritrope.com.
I took the example template for handling mail messages and the
Export Evernote Items to DayOne and combined them for my own use.
// SUPPORT VERITROPE!
If this AppleScript was useful to you, please take a second to show your love here:
http://veritrope.com/support
// SCRIPT INFORMATION AND UPDATE PAGE
@mandaris
mandaris / tufte.py
Created September 13, 2021 05:37
This is a file that you can put in the liquid tags plug to work with my tufte theme for pelican
"""
Sidenote and Margin Tags
----------
This implements a Liquid-style tags margin and side notes
for Pelican
Syntax
------
{% newthought 'Start of new paragraph' %}
@mandaris
mandaris / marfa_nord.css
Created November 16, 2021 21:00
Nord Colors for Marfa Micro blog theme
/*
* Copyright (c) 2016-present Arctic Ice Studio <[email protected]>
* Copyright (c) 2016-present Sven Greb <[email protected]>
*
* Project: Nord
* Version: 0.2.0
* Repository: https://github.com/arcticicestudio/nord
* License: MIT
* References:
* https://www.w3.org/TR/css-variables
@mandaris
mandaris / markup-example.md
Last active August 31, 2023 21:48
Goldmark example of highlighting
```go {linenos=table,hl_lines=[8,"15-17"],linenostart=199, lineanchors=big } // GetTitleFunc returns a func that can be used to transform a string to // title case. // // The supported styles are // // - "Go" (strings.Title) // - "AP" (see https://www.apstylebook.com/) // - "Chicago" (see https://www.chicagomanualofstyle.org/home.html)