fix url thing
This commit is contained in:
parent
1a020ca68b
commit
1476ef83ee
170 changed files with 1057 additions and 5841 deletions
BIN
.conf.py.swp
BIN
.conf.py.swp
Binary file not shown.
BIN
.doit.db
BIN
.doit.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/base.tmpl.cpython-34.pyc
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/list.tmpl.cpython-34.pyc
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/post.tmpl.cpython-34.pyc
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/tag.tmpl.cpython-34.pyc
vendored
Binary file not shown.
BIN
cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc
vendored
BIN
cache/.mako.tmp/__pycache__/tags.tmpl.cpython-34.pyc
vendored
Binary file not shown.
2
cache/.mako.tmp/annotation_helper.tmpl.py
vendored
2
cache/.mako.tmp/annotation_helper.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.444199
|
||||
_modified_time = 1433913321.694439
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/annotation_helper.tmpl'
|
||||
_template_uri = 'annotation_helper.tmpl'
|
||||
|
|
|
|||
156
cache/.mako.tmp/base.tmpl.py
vendored
156
cache/.mako.tmp/base.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.371334
|
||||
_modified_time = 1433913321.4409437
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base.tmpl'
|
||||
_template_uri = 'base.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink', 'extra_js', 'belowtitle', 'extra_head']
|
||||
_exports = ['extra_js', 'extra_head', 'sourcelink', 'belowtitle', 'content']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,37 +32,37 @@ def render_body(context,**pageargs):
|
|||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
date_fanciness = _import_ns.get('date_fanciness', context.get('date_fanciness', UNDEFINED))
|
||||
js_date_format = _import_ns.get('js_date_format', context.get('js_date_format', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
post = _import_ns.get('post', context.get('post', UNDEFINED))
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
search_form = _import_ns.get('search_form', context.get('search_form', UNDEFINED))
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
lang = _import_ns.get('lang', context.get('lang', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
notes = _mako_get_namespace(context, 'notes')
|
||||
momentjs_locales = _import_ns.get('momentjs_locales', context.get('momentjs_locales', UNDEFINED))
|
||||
template_hooks = _import_ns.get('template_hooks', context.get('template_hooks', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
content_footer = _import_ns.get('content_footer', context.get('content_footer', UNDEFINED))
|
||||
def extra_js():
|
||||
return render_extra_js(context._locals(__M_locals))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
blog_title = _import_ns.get('blog_title', context.get('blog_title', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context._locals(__M_locals))
|
||||
abs_link = _import_ns.get('abs_link', context.get('abs_link', UNDEFINED))
|
||||
set_locale = _import_ns.get('set_locale', context.get('set_locale', UNDEFINED))
|
||||
logo_url = _import_ns.get('logo_url', context.get('logo_url', UNDEFINED))
|
||||
body_end = _import_ns.get('body_end', context.get('body_end', UNDEFINED))
|
||||
show_blog_title = _import_ns.get('show_blog_title', context.get('show_blog_title', UNDEFINED))
|
||||
show_sourcelink = _import_ns.get('show_sourcelink', context.get('show_sourcelink', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
annotations = _import_ns.get('annotations', context.get('annotations', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -158,34 +158,6 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def content():
|
||||
return render_content(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_js(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -200,29 +172,6 @@ def render_extra_js(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
__M_writer(' <li>')
|
||||
__M_writer(str(base.html_translations()))
|
||||
__M_writer('</li>\n')
|
||||
__M_writer(' ')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -238,8 +187,59 @@ def render_extra_head(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_belowtitle(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
len = _import_ns.get('len', context.get('len', UNDEFINED))
|
||||
translations = _import_ns.get('translations', context.get('translations', UNDEFINED))
|
||||
base = _mako_get_namespace(context, 'base')
|
||||
def belowtitle():
|
||||
return render_belowtitle(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
__M_writer(' <li>')
|
||||
__M_writer(str(base.html_translations()))
|
||||
__M_writer('</li>\n')
|
||||
__M_writer(' ')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'base')._populate(_import_ns, ['*'])
|
||||
_mako_get_namespace(context, 'notes')._populate(_import_ns, ['*'])
|
||||
def content():
|
||||
return render_content(context)
|
||||
__M_writer = context.writer()
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "215": 45, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 66, "219": 47, "220": 49, "226": 6, "175": 51, "216": 46, "189": 85, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "203": 45, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "235": 6, "109": 49, "110": 50, "111": 51, "241": 235, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 47, "126": 66, "127": 71}, "source_encoding": "utf-8"}
|
||||
{"filename": "themes/bootstrap3/templates/base.tmpl", "uri": "base.tmpl", "line_map": {"128": 71, "129": 72, "130": 72, "131": 77, "132": 77, "133": 81, "134": 81, "135": 82, "136": 82, "137": 82, "138": 82, "216": 45, "190": 51, "143": 85, "144": 86, "145": 87, "146": 87, "147": 87, "148": 88, "149": 89, "22": 2, "151": 89, "152": 91, "25": 3, "154": 92, "155": 92, "28": 0, "218": 47, "150": 89, "161": 85, "219": 47, "227": 66, "220": 47, "175": 6, "184": 6, "153": 91, "67": 2, "68": 3, "69": 4, "70": 4, "71": 5, "72": 5, "204": 45, "77": 8, "78": 9, "79": 9, "80": 12, "81": 12, "82": 25, "83": 25, "84": 26, "85": 27, "86": 27, "87": 27, "88": 27, "89": 27, "90": 29, "91": 30, "92": 31, "93": 31, "94": 31, "95": 33, "96": 37, "97": 37, "98": 38, "99": 38, "100": 40, "101": 41, "102": 41, "103": 41, "104": 43, "109": 49, "110": 50, "111": 51, "241": 227, "221": 49, "116": 51, "117": 53, "118": 53, "119": 53, "120": 65, "121": 65, "217": 46, "126": 66, "127": 71}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
236
cache/.mako.tmp/base_helper.tmpl.py
vendored
236
cache/.mako.tmp/base_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.4108295
|
||||
_modified_time = 1433913321.5839138
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/base_helper.tmpl'
|
||||
_template_uri = 'base_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['html_translations', 'html_headstart', 'late_load_js', 'html_stylesheets', 'html_navigation_links', 'html_feedlinks']
|
||||
_exports = ['html_stylesheets', 'late_load_js', 'html_headstart', 'html_translations', 'html_feedlinks', 'html_navigation_links']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,24 +29,71 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context):
|
||||
def render_html_stylesheets(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(_link("index", None, langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></li>\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
|
||||
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
|
||||
if has_custom_css:
|
||||
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
|
||||
if annotations and post and not post.meta('noannotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
elif not annotations and post and post.meta('annotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_late_load_js(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
|
||||
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
|
||||
if colorbox_locales[lang]:
|
||||
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
|
||||
__M_writer(str(colorbox_locales[lang]))
|
||||
__M_writer('.js"></script>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(social_buttons_code))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -55,29 +102,29 @@ def render_html_translations(context):
|
|||
def render_html_headstart(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
def html_stylesheets():
|
||||
return render_html_stylesheets(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
favicons = context.get('favicons', UNDEFINED)
|
||||
def html_feedlinks():
|
||||
return render_html_feedlinks(context)
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
is_rtl = context.get('is_rtl', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
mathjax_config = context.get('mathjax_config', UNDEFINED)
|
||||
description = context.get('description', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
extra_head_data = context.get('extra_head_data', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
twitter_card = context.get('twitter_card', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<!DOCTYPE html>\n<html\n')
|
||||
if use_open_graph or (twitter_card and twitter_card['use_twitter_cards']) or (comment_system == 'facebook'):
|
||||
|
|
@ -152,71 +199,55 @@ def render_html_headstart(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_late_load_js(context):
|
||||
def render_html_translations(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
colorbox_locales = context.get('colorbox_locales', UNDEFINED)
|
||||
social_buttons_code = context.get('social_buttons_code', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n <script src="/assets/js/all.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/all-nocdn.js"></script>\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>\n <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>\n')
|
||||
else:
|
||||
__M_writer(' <script src="/assets/js/jquery.min.js"></script>\n <script src="/assets/js/bootstrap.min.js"></script>\n <script src="/assets/js/moment-with-locales.min.js"></script>\n <script src="/assets/js/fancydates.js"></script>\n')
|
||||
__M_writer(' <script src="/assets/js/jquery.colorbox-min.js"></script>\n')
|
||||
if colorbox_locales[lang]:
|
||||
__M_writer(' <script src="/assets/js/colorbox-i18n/jquery.colorbox-')
|
||||
__M_writer(str(colorbox_locales[lang]))
|
||||
__M_writer('.js"></script>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(social_buttons_code))
|
||||
__M_writer('\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang:
|
||||
__M_writer(' <li><a href="')
|
||||
__M_writer(str(_link("index", None, langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_stylesheets(context):
|
||||
def render_html_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
annotations = context.get('annotations', UNDEFINED)
|
||||
use_bundles = context.get('use_bundles', UNDEFINED)
|
||||
use_cdn = context.get('use_cdn', UNDEFINED)
|
||||
has_custom_css = context.get('has_custom_css', UNDEFINED)
|
||||
notes = context.get('notes', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_bundles:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n <link href="/assets/css/all.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/all-nocdn.css" rel="stylesheet" type="text/css">\n')
|
||||
else:
|
||||
if use_cdn:
|
||||
__M_writer(' <link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet">\n')
|
||||
else:
|
||||
__M_writer(' <link href="/assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">\n')
|
||||
__M_writer(' <link href="/assets/css/rst.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/code.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/colorbox.css" rel="stylesheet" type="text/css">\n <link href="/assets/css/theme.css" rel="stylesheet" type="text/css">\n')
|
||||
if has_custom_css:
|
||||
__M_writer(' <link href="/assets/css/custom.css" rel="stylesheet" type="text/css">\n')
|
||||
if annotations and post and not post.meta('noannotations'):
|
||||
if rss_link:
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer('\n')
|
||||
elif not annotations and post and post.meta('annotations'):
|
||||
__M_writer(' ')
|
||||
__M_writer(str(notes.css()))
|
||||
__M_writer(str(rss_link))
|
||||
__M_writer('\n')
|
||||
elif generate_rss:
|
||||
if len(translations) > 1:
|
||||
for language in translations:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
|
||||
__M_writer(str(language))
|
||||
__M_writer(')" href="')
|
||||
__M_writer(str(_link('rss', None, language)))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
|
||||
__M_writer(str(_link('rss', None)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
|
@ -225,12 +256,12 @@ def render_html_stylesheets(context):
|
|||
def render_html_navigation_links(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
rel_link = context.get('rel_link', UNDEFINED)
|
||||
tuple = context.get('tuple', UNDEFINED)
|
||||
navigation_links = context.get('navigation_links', UNDEFINED)
|
||||
isinstance = context.get('isinstance', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
for url, text in navigation_links[lang]:
|
||||
|
|
@ -270,39 +301,8 @@ def render_html_navigation_links(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_feedlinks(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
rss_link = context.get('rss_link', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if rss_link:
|
||||
__M_writer(' ')
|
||||
__M_writer(str(rss_link))
|
||||
__M_writer('\n')
|
||||
elif generate_rss:
|
||||
if len(translations) > 1:
|
||||
for language in translations:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS (')
|
||||
__M_writer(str(language))
|
||||
__M_writer(')" href="')
|
||||
__M_writer(str(_link('rss', None, language)))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" title="RSS" href="')
|
||||
__M_writer(str(_link('rss', None)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 161, "40": 161, "41": 162, "42": 163, "43": 164, "44": 164, "45": 164, "46": 164, "47": 164, "48": 164, "49": 164, "55": 3, "82": 3, "83": 7, "84": 8, "85": 9, "86": 10, "87": 12, "88": 13, "89": 15, "90": 16, "91": 18, "92": 21, "93": 22, "94": 25, "95": 25, "96": 25, "97": 28, "98": 29, "99": 29, "100": 29, "101": 31, "102": 32, "103": 32, "104": 32, "105": 32, "106": 34, "107": 34, "108": 35, "109": 35, "110": 36, "111": 37, "112": 37, "113": 37, "114": 39, "115": 40, "116": 41, "117": 42, "118": 42, "119": 42, "120": 42, "121": 42, "122": 42, "123": 42, "124": 45, "125": 46, "126": 47, "127": 47, "128": 47, "129": 49, "130": 50, "131": 51, "132": 51, "133": 51, "134": 53, "135": 54, "136": 54, "137": 54, "138": 56, "139": 57, "140": 57, "141": 58, "142": 59, "143": 60, "144": 61, "145": 61, "146": 61, "147": 63, "148": 64, "149": 64, "155": 67, "164": 67, "165": 68, "166": 69, "167": 70, "168": 73, "169": 74, "170": 76, "171": 77, "172": 78, "173": 80, "174": 81, "175": 86, "176": 88, "177": 89, "178": 89, "179": 89, "180": 91, "181": 91, "182": 91, "188": 95, "198": 95, "199": 96, "200": 97, "201": 98, "202": 100, "203": 101, "204": 103, "205": 104, "206": 105, "207": 106, "208": 107, "209": 109, "210": 113, "211": 114, "212": 117, "213": 118, "214": 118, "215": 118, "216": 119, "217": 120, "218": 120, "219": 120, "225": 124, "235": 124, "236": 125, "237": 126, "238": 127, "239": 127, "240": 127, "241": 129, "242": 130, "243": 131, "244": 131, "245": 131, "246": 131, "247": 131, "248": 132, "249": 133, "250": 133, "251": 133, "252": 133, "253": 133, "254": 136, "255": 137, "256": 138, "257": 139, "258": 139, "259": 139, "260": 139, "261": 139, "262": 140, "263": 141, "264": 141, "265": 141, "266": 141, "267": 141, "273": 147, "282": 147, "283": 148, "284": 149, "285": 149, "286": 149, "287": 150, "288": 151, "289": 152, "290": 153, "291": 153, "292": 153, "293": 153, "294": 153, "295": 155, "296": 156, "297": 156, "298": 156, "304": 298}, "source_encoding": "utf-8"}
|
||||
{"filename": "themes/bootstrap3/templates/base_helper.tmpl", "uri": "base_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 65, "22": 92, "23": 122, "24": 145, "25": 159, "26": 167, "32": 95, "42": 95, "43": 96, "44": 97, "45": 98, "46": 100, "47": 101, "48": 103, "49": 104, "50": 105, "51": 106, "52": 107, "53": 109, "54": 113, "55": 114, "56": 117, "57": 118, "58": 118, "59": 118, "60": 119, "61": 120, "62": 120, "63": 120, "69": 67, "78": 67, "79": 68, "80": 69, "81": 70, "82": 73, "83": 74, "84": 76, "85": 77, "86": 78, "87": 80, "88": 81, "89": 86, "90": 88, "91": 89, "92": 89, "93": 89, "94": 91, "95": 91, "96": 91, "102": 3, "129": 3, "130": 7, "131": 8, "132": 9, "133": 10, "134": 12, "135": 13, "136": 15, "137": 16, "138": 18, "139": 21, "140": 22, "141": 25, "142": 25, "143": 25, "144": 28, "145": 29, "146": 29, "147": 29, "148": 31, "149": 32, "150": 32, "151": 32, "152": 32, "153": 34, "154": 34, "155": 35, "156": 35, "157": 36, "158": 37, "159": 37, "160": 37, "161": 39, "162": 40, "163": 41, "164": 42, "165": 42, "166": 42, "167": 42, "168": 42, "169": 42, "170": 42, "171": 45, "172": 46, "173": 47, "174": 47, "175": 47, "176": 49, "177": 50, "178": 51, "179": 51, "180": 51, "181": 53, "182": 54, "183": 54, "184": 54, "185": 56, "186": 57, "187": 57, "188": 58, "189": 59, "190": 60, "191": 61, "192": 61, "193": 61, "194": 63, "195": 64, "196": 64, "202": 161, "210": 161, "211": 162, "212": 163, "213": 164, "214": 164, "215": 164, "216": 164, "217": 164, "218": 164, "219": 164, "225": 147, "234": 147, "235": 148, "236": 149, "237": 149, "238": 149, "239": 150, "240": 151, "241": 152, "242": 153, "243": 153, "244": 153, "245": 153, "246": 153, "247": 155, "248": 156, "249": 156, "250": 156, "256": 124, "266": 124, "267": 125, "268": 126, "269": 127, "270": 127, "271": 127, "272": 129, "273": 130, "274": 131, "275": 131, "276": 131, "277": 131, "278": 131, "279": 132, "280": 133, "281": 133, "282": 133, "283": 133, "284": 133, "285": 136, "286": 137, "287": 138, "288": 139, "289": 139, "290": 139, "291": 139, "292": 139, "293": 140, "294": 141, "295": 141, "296": 141, "297": 141, "298": 141, "304": 298}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
138
cache/.mako.tmp/comments_helper.tmpl.py
vendored
138
cache/.mako.tmp/comments_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7142599
|
||||
_modified_time = 1433913321.9486206
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl'
|
||||
_template_uri = 'comments_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,24 +19,24 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'disqus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('intensedebate', context._clean_inheritance_tokens(), templateuri='comments_helper_intensedebate.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'intensedebate')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'livefyre')] = ns
|
||||
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'facebook')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('muut', context._clean_inheritance_tokens(), templateuri='comments_helper_muut.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'muut')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('livefyre', context._clean_inheritance_tokens(), templateuri='comments_helper_livefyre.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'livefyre')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('isso', context._clean_inheritance_tokens(), templateuri='comments_helper_isso.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'isso')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('disqus', context._clean_inheritance_tokens(), templateuri='comments_helper_disqus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'disqus')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('facebook', context._clean_inheritance_tokens(), templateuri='comments_helper_facebook.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'facebook')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('googleplus', context._clean_inheritance_tokens(), templateuri='comments_helper_googleplus.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'googleplus')] = ns
|
||||
|
||||
|
|
@ -61,17 +61,63 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -110,14 +156,14 @@ def render_comment_form(context,url,title,identifier):
|
|||
def render_comment_link(context,link,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
|
|
@ -153,54 +199,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
livefyre = _mako_get_namespace(context, 'livefyre')
|
||||
isso = _mako_get_namespace(context, 'isso')
|
||||
disqus = _mako_get_namespace(context, 'disqus')
|
||||
googleplus = _mako_get_namespace(context, 'googleplus')
|
||||
intensedebate = _mako_get_namespace(context, 'intensedebate')
|
||||
muut = _mako_get_namespace(context, 'muut')
|
||||
comment_system = context.get('comment_system', UNDEFINED)
|
||||
facebook = _mako_get_namespace(context, 'facebook')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system == 'disqus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(disqus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'livefyre':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(livefyre.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'intensedebate':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(intensedebate.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'muut':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(muut.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'googleplus':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(googleplus.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'facebook':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(facebook.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
elif comment_system == 'isso':
|
||||
__M_writer(' ')
|
||||
__M_writer(str(isso.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl", "line_map": {"22": 5, "25": 4, "28": 6, "31": 9, "34": 3, "37": 8, "40": 7, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 11, "76": 11, "77": 12, "78": 13, "79": 13, "80": 13, "81": 14, "82": 15, "83": 15, "84": 15, "85": 16, "86": 17, "87": 17, "88": 17, "89": 18, "90": 19, "91": 19, "92": 19, "93": 20, "94": 21, "95": 21, "96": 21, "97": 22, "98": 23, "99": 23, "100": 23, "101": 24, "102": 25, "103": 25, "104": 25, "110": 29, "122": 29, "123": 30, "124": 31, "125": 31, "126": 31, "127": 32, "128": 33, "129": 33, "130": 33, "131": 34, "132": 35, "133": 35, "134": 35, "135": 36, "136": 37, "137": 37, "138": 37, "139": 38, "140": 39, "141": 39, "142": 39, "143": 40, "144": 41, "145": 41, "146": 41, "147": 42, "148": 43, "149": 43, "150": 43, "156": 47, "168": 47, "169": 48, "170": 49, "171": 49, "172": 49, "173": 50, "174": 51, "175": 51, "176": 51, "177": 52, "178": 53, "179": 53, "180": 53, "181": 54, "182": 55, "183": 55, "184": 55, "185": 56, "186": 57, "187": 57, "188": 57, "189": 58, "190": 59, "191": 59, "192": 59, "193": 60, "194": 61, "195": 61, "196": 61, "202": 196}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper.tmpl", "uri": "comments_helper.tmpl", "line_map": {"22": 3, "25": 5, "28": 8, "31": 6, "34": 4, "37": 9, "40": 7, "43": 0, "48": 2, "49": 3, "50": 4, "51": 5, "52": 6, "53": 7, "54": 8, "55": 9, "56": 27, "57": 45, "58": 63, "64": 47, "76": 47, "77": 48, "78": 49, "79": 49, "80": 49, "81": 50, "82": 51, "83": 51, "84": 51, "85": 52, "86": 53, "87": 53, "88": 53, "89": 54, "90": 55, "91": 55, "92": 55, "93": 56, "94": 57, "95": 57, "96": 57, "97": 58, "98": 59, "99": 59, "100": 59, "101": 60, "102": 61, "103": 61, "104": 61, "110": 11, "122": 11, "123": 12, "124": 13, "125": 13, "126": 13, "127": 14, "128": 15, "129": 15, "130": 15, "131": 16, "132": 17, "133": 17, "134": 17, "135": 18, "136": 19, "137": 19, "138": 19, "139": 20, "140": 21, "141": 21, "142": 21, "143": 22, "144": 23, "145": 23, "146": 23, "147": 24, "148": 25, "149": 25, "150": 25, "156": 29, "168": 29, "169": 30, "170": 31, "171": 31, "172": 31, "173": 32, "174": 33, "175": 33, "176": 33, "177": 34, "178": 35, "179": 35, "180": 35, "181": 36, "182": 37, "183": 37, "184": 37, "185": 38, "186": 39, "187": 39, "188": 39, "189": 40, "190": 41, "191": 41, "192": 41, "193": 42, "194": 43, "195": 43, "196": 43, "202": 196}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
36
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
36
cache/.mako.tmp/comments_helper_disqus.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7357793
|
||||
_modified_time = 1433913322.0312395
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl'
|
||||
_template_uri = 'comments_helper_disqus.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
import json
|
||||
|
|
@ -29,6 +29,21 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <script>var disqus_shortname="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -78,23 +93,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <script>var disqus_shortname="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('";(function(){var a=document.createElement("script");a.async=true;a.src="//"+disqus_shortname+".disqus.com/count.js";(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 5, "38": 5, "39": 6, "40": 7, "41": 9, "42": 9, "43": 10, "44": 11, "45": 11, "46": 11, "47": 13, "48": 13, "49": 13, "50": 14, "51": 14, "52": 16, "53": 17, "54": 18, "55": 19, "56": 19, "57": 19, "58": 21, "64": 33, "69": 33, "70": 34, "71": 35, "72": 35, "73": 35, "74": 35, "75": 35, "81": 40, "86": 40, "87": 41, "88": 42, "89": 42, "90": 42, "96": 90}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_disqus.tmpl", "uri": "comments_helper_disqus.tmpl", "line_map": {"15": 3, "17": 0, "22": 2, "23": 3, "24": 31, "25": 37, "26": 44, "32": 40, "37": 40, "38": 41, "39": 42, "40": 42, "41": 42, "47": 5, "53": 5, "54": 6, "55": 7, "56": 9, "57": 9, "58": 10, "59": 11, "60": 11, "61": 11, "62": 13, "63": 13, "64": 13, "65": 14, "66": 14, "67": 16, "68": 17, "69": 18, "70": 19, "71": 19, "72": 19, "73": 21, "79": 33, "84": 33, "85": 34, "86": 35, "87": 35, "88": 35, "89": 35, "90": 35, "96": 90}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
32
cache/.mako.tmp/comments_helper_facebook.tmpl.py
vendored
32
cache/.mako.tmp/comments_helper_facebook.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7696767
|
||||
_modified_time = 1433913322.1601243
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl'
|
||||
_template_uri = 'comments_helper_facebook.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,19 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -52,21 +65,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<div id="fb-root"></div>\n<script>\n // thank lxml for this\n $(\'.fb-comments-count\').each(function(i, obj) {\n var url = obj.attributes[\'data-url\'].value;\n // change here if you dislike the default way of displaying\n // this\n obj.innerHTML = \'<fb:comments-count href="\' + url + \'"></fb:comments-count> comments\';\n });\n\n window.fbAsyncInit = function() {\n // init the FB JS SDK\n FB.init({\n appId : \'')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('\',\n status : true,\n xfbml : true\n });\n\n };\n\n // Load the SDK asynchronously\n (function(d, s, id){\n var js, fjs = d.getElementsByTagName(s)[0];\n if (d.getElementById(id)) {return;}\n js = d.createElement(s); js.id = id;\n js.src = "//connect.facebook.net/en_US/all.js";\n fjs.parentNode.insertBefore(js, fjs);\n }(document, \'script\', \'facebook-jssdk\'));\n</script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl", "line_map": {"33": 2, "34": 8, "35": 8, "36": 25, "37": 25, "60": 32, "43": 28, "15": 0, "48": 29, "49": 29, "20": 26, "21": 30, "22": 62, "55": 32, "68": 62, "47": 28, "28": 2, "61": 46, "62": 46}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_facebook.tmpl", "uri": "comments_helper_facebook.tmpl", "line_map": {"33": 32, "34": 46, "35": 46, "68": 62, "41": 2, "60": 28, "46": 2, "47": 8, "48": 8, "49": 25, "50": 25, "20": 26, "21": 30, "22": 62, "56": 28, "15": 0, "28": 32, "61": 29, "62": 29}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7644007
|
||||
_modified_time = 1433913322.139688
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl'
|
||||
_template_uri = 'comments_helper_googleplus.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,16 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -49,18 +59,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl", "line_map": {"32": 2, "33": 5, "34": 5, "40": 11, "44": 11, "45": 12, "46": 12, "15": 0, "20": 9, "21": 14, "22": 17, "56": 16, "52": 16, "28": 2, "62": 56}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_googleplus.tmpl", "uri": "comments_helper_googleplus.tmpl", "line_map": {"32": 16, "54": 11, "38": 2, "42": 2, "43": 5, "44": 5, "15": 0, "50": 11, "20": 9, "21": 14, "22": 17, "55": 12, "56": 12, "28": 16, "62": 56}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7522109
|
||||
_modified_time = 1433913322.092862
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl'
|
||||
_template_uri = 'comments_helper_intensedebate.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,16 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -63,18 +73,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "comments_helper_intensedebate.tmpl", "line_map": {"66": 24, "70": 24, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 2, "33": 2, "34": 4, "35": 4, "36": 5, "37": 5, "38": 6, "39": 6, "45": 13, "50": 13, "51": 14, "52": 14, "53": 14, "54": 14, "55": 16, "56": 16, "57": 17, "58": 17, "59": 18, "60": 18}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_intensedebate.tmpl", "uri": "comments_helper_intensedebate.tmpl", "line_map": {"64": 14, "65": 16, "66": 16, "67": 17, "68": 17, "69": 18, "70": 18, "76": 70, "15": 0, "20": 11, "21": 22, "22": 25, "28": 24, "32": 24, "38": 2, "43": 2, "44": 4, "45": 4, "46": 5, "47": 5, "48": 6, "49": 6, "55": 13, "60": 13, "61": 14, "62": 14, "63": 14}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
40
cache/.mako.tmp/comments_helper_isso.tmpl.py
vendored
40
cache/.mako.tmp/comments_helper_isso.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7779217
|
||||
_modified_time = 1433913322.187537
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl'
|
||||
_template_uri = 'comments_helper_isso.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,23 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <script src="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('js/count.min.js" data-isso="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -59,25 +76,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
comment_system_id = context.get('comment_system_id', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if comment_system_id:
|
||||
__M_writer(' <script src="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('js/count.min.js" data-isso="')
|
||||
__M_writer(str(comment_system_id))
|
||||
__M_writer('"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "comments_helper_isso.tmpl", "line_map": {"67": 16, "68": 17, "69": 18, "70": 18, "71": 18, "72": 18, "73": 18, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 2, "33": 2, "34": 3, "35": 4, "36": 4, "37": 4, "38": 5, "39": 5, "40": 5, "41": 5, "47": 9, "52": 9, "53": 10, "54": 11, "55": 11, "56": 11, "62": 16}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_isso.tmpl", "uri": "comments_helper_isso.tmpl", "line_map": {"64": 9, "69": 9, "70": 10, "71": 11, "72": 11, "73": 11, "15": 0, "20": 7, "21": 13, "22": 20, "79": 73, "28": 16, "33": 16, "34": 17, "35": 18, "36": 18, "37": 18, "38": 18, "39": 18, "45": 2, "50": 2, "51": 3, "52": 4, "53": 4, "54": 4, "55": 5, "56": 5, "57": 5, "58": 5}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
26
cache/.mako.tmp/comments_helper_livefyre.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7451496
|
||||
_modified_time = 1433913322.0662334
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl'
|
||||
_template_uri = 'comments_helper_livefyre.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -25,6 +25,16 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -57,18 +67,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="http://zor.livefyre.com/wjs/v1.0/javascripts/CommentCount.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl", "line_map": {"64": 31, "33": 2, "34": 7, "35": 7, "36": 11, "37": 11, "70": 64, "60": 31, "43": 23, "15": 0, "48": 23, "49": 24, "50": 24, "51": 25, "20": 21, "21": 28, "22": 33, "52": 25, "54": 25, "28": 2, "53": 25}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_livefyre.tmpl", "uri": "comments_helper_livefyre.tmpl", "line_map": {"32": 31, "64": 25, "59": 24, "70": 64, "38": 2, "63": 25, "60": 24, "43": 2, "44": 7, "45": 7, "46": 11, "15": 0, "20": 21, "21": 28, "22": 33, "58": 23, "47": 11, "28": 31, "61": 25, "62": 25, "53": 23}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
26
cache/.mako.tmp/comments_helper_muut.tmpl.py
vendored
26
cache/.mako.tmp/comments_helper_muut.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.7592924
|
||||
_modified_time = 1433913322.1197739
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl'
|
||||
_template_uri = 'comments_helper_muut.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['comment_form', 'comment_link', 'comment_link_script']
|
||||
_exports = ['comment_link_script', 'comment_form', 'comment_link']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -26,6 +26,16 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_form(context,url,title,identifier):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -53,18 +63,8 @@ def render_comment_link(context,link,identifier):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_comment_link_script(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<script src="//cdn.muut.com/1/moot.min.js"></script>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl", "line_map": {"34": 3, "35": 4, "36": 4, "37": 4, "38": 4, "39": 4, "40": 4, "66": 60, "46": 7, "15": 0, "50": 7, "20": 2, "21": 5, "22": 8, "23": 13, "56": 11, "60": 11, "29": 3}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/comments_helper_muut.tmpl", "uri": "comments_helper_muut.tmpl", "line_map": {"33": 11, "66": 60, "39": 3, "44": 3, "45": 4, "46": 4, "15": 0, "48": 4, "49": 4, "50": 4, "20": 2, "21": 5, "22": 8, "23": 13, "56": 7, "47": 4, "60": 7, "29": 11}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
2
cache/.mako.tmp/crumbs.tmpl.py
vendored
2
cache/.mako.tmp/crumbs.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.450669
|
||||
_modified_time = 1433913322.7345748
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/crumbs.tmpl'
|
||||
_template_uri = 'crumbs.tmpl'
|
||||
|
|
|
|||
82
cache/.mako.tmp/index.tmpl.py
vendored
82
cache/.mako.tmp/index.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.68363
|
||||
_modified_time = 1433913321.8305523
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl'
|
||||
_template_uri = 'index.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'content_header', 'extra_head']
|
||||
_exports = ['extra_head', 'content', 'content_header']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -32,21 +32,21 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
def content_header():
|
||||
return render_content_header(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -66,19 +66,41 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
__M_writer('\n')
|
||||
if posts and (permalink == '/' or permalink == '/' + index_file):
|
||||
__M_writer(' <link rel="prefetch" href="')
|
||||
__M_writer(str(posts[0].permalink()))
|
||||
__M_writer('" type="text/html">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
def content_header():
|
||||
return render_content_header(context)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
index_teasers = context.get('index_teasers', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content_header'):
|
||||
|
|
@ -141,30 +163,8 @@ def render_content_header(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
index_file = context.get('index_file', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
__M_writer('\n')
|
||||
if posts and (permalink == '/' or permalink == '/' + index_file):
|
||||
__M_writer(' <link rel="prefetch" href="')
|
||||
__M_writer(str(posts[0].permalink()))
|
||||
__M_writer('" type="text/html">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl", "line_map": {"133": 14, "144": 6, "22": 3, "25": 2, "154": 6, "155": 7, "156": 7, "157": 8, "158": 9, "31": 0, "160": 9, "166": 160, "51": 2, "52": 3, "53": 4, "58": 11, "159": 9, "63": 42, "69": 13, "83": 13, "88": 14, "89": 16, "90": 17, "91": 17, "92": 17, "93": 19, "94": 19, "95": 19, "96": 19, "97": 21, "98": 21, "99": 22, "100": 22, "101": 22, "102": 22, "103": 22, "104": 22, "105": 22, "106": 22, "107": 23, "108": 24, "109": 24, "110": 24, "111": 26, "112": 28, "113": 29, "114": 30, "115": 30, "116": 31, "117": 32, "118": 33, "119": 33, "120": 35, "121": 38, "122": 39, "123": 39, "124": 40, "125": 40, "126": 41, "127": 41}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index.tmpl", "uri": "index.tmpl", "line_map": {"128": 22, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 28, "135": 29, "136": 30, "137": 30, "138": 31, "139": 32, "140": 33, "141": 33, "142": 35, "143": 38, "144": 39, "145": 39, "146": 40, "147": 40, "148": 41, "149": 41, "22": 3, "25": 2, "155": 14, "31": 0, "166": 155, "51": 2, "52": 3, "53": 4, "58": 11, "63": 42, "69": 6, "79": 6, "80": 7, "81": 7, "82": 8, "83": 9, "84": 9, "85": 9, "91": 13, "105": 13, "110": 14, "111": 16, "112": 17, "113": 17, "114": 17, "115": 19, "116": 19, "117": 19, "118": 19, "119": 21, "120": 21, "121": 22, "122": 22, "123": 22, "124": 22, "125": 22, "126": 22, "127": 22}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
6
cache/.mako.tmp/index_helper.tmpl.py
vendored
6
cache/.mako.tmp/index_helper.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.6988854
|
||||
_modified_time = 1433913321.8908055
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/index_helper.tmpl'
|
||||
_template_uri = 'index_helper.tmpl'
|
||||
|
|
@ -40,9 +40,9 @@ def render_mathjax_script(context,posts):
|
|||
def render_html_pager(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
nextlink = context.get('nextlink', UNDEFINED)
|
||||
prevlink = context.get('prevlink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if prevlink or nextlink:
|
||||
|
|
|
|||
14
cache/.mako.tmp/list.tmpl.py
vendored
14
cache/.mako.tmp/list.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.6433148
|
||||
_modified_time = 1433913321.3827472
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list.tmpl'
|
||||
_template_uri = 'list.tmpl'
|
||||
|
|
@ -27,11 +27,11 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -47,11 +47,11 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
|
|||
14
cache/.mako.tmp/list_post.tmpl.py
vendored
14
cache/.mako.tmp/list_post.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.656327
|
||||
_modified_time = 1433913321.7339041
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/list_post.tmpl'
|
||||
_template_uri = 'list_post.tmpl'
|
||||
|
|
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
title = context.get('title', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="listpage">\n <header>\n <h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
|
|||
74
cache/.mako.tmp/listing.tmpl.py
vendored
74
cache/.mako.tmp/listing.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.3515348
|
||||
_modified_time = 1433913322.697043
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap3/templates/listing.tmpl'
|
||||
_template_uri = 'listing.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink']
|
||||
_exports = ['sourcelink', 'content']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -31,17 +31,17 @@ def render_body(context,**pageargs):
|
|||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n\n')
|
||||
|
|
@ -60,18 +60,40 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if source_link:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(source_link))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
crumbs = _import_ns.get('crumbs', context.get('crumbs', UNDEFINED))
|
||||
def content():
|
||||
return render_content(context)
|
||||
ui = _mako_get_namespace(context, 'ui')
|
||||
files = _import_ns.get('files', context.get('files', UNDEFINED))
|
||||
folders = _import_ns.get('folders', context.get('folders', UNDEFINED))
|
||||
code = _import_ns.get('code', context.get('code', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer(str(ui.bar(crumbs)))
|
||||
|
|
@ -100,30 +122,8 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
_import_ns = {}
|
||||
_mako_get_namespace(context, 'ui')._populate(_import_ns, ['bar'])
|
||||
source_link = _import_ns.get('source_link', context.get('source_link', UNDEFINED))
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
messages = _import_ns.get('messages', context.get('messages', UNDEFINED))
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if source_link:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(source_link))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl", "line_map": {"22": 3, "76": 5, "77": 6, "78": 6, "79": 7, "80": 8, "81": 9, "82": 10, "83": 10, "84": 10, "85": 10, "86": 10, "87": 12, "88": 13, "89": 13, "90": 13, "91": 13, "28": 0, "93": 15, "94": 17, "95": 18, "96": 18, "97": 18, "116": 25, "103": 22, "92": 13, "46": 2, "47": 3, "113": 22, "114": 23, "115": 24, "52": 20, "117": 25, "118": 25, "119": 25, "57": 28, "125": 119, "63": 5}, "source_encoding": "utf-8"}
|
||||
{"filename": "themes/bootstrap3/templates/listing.tmpl", "uri": "listing.tmpl", "line_map": {"73": 22, "74": 23, "75": 24, "76": 25, "77": 25, "78": 25, "79": 25, "85": 5, "22": 3, "110": 13, "111": 13, "28": 0, "116": 17, "98": 5, "99": 6, "100": 6, "101": 7, "102": 8, "103": 9, "104": 10, "105": 10, "106": 10, "107": 10, "108": 10, "109": 12, "46": 2, "47": 3, "112": 13, "113": 13, "114": 13, "115": 15, "52": 20, "117": 18, "118": 18, "119": 18, "57": 28, "125": 119, "63": 22}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
154
cache/.mako.tmp/post.tmpl.py
vendored
154
cache/.mako.tmp/post.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.8076608
|
||||
_modified_time = 1433913322.264518
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/post.tmpl'
|
||||
_template_uri = 'post.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'sourcelink', 'extra_head']
|
||||
_exports = ['extra_head', 'sourcelink', 'content']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
|
|
@ -35,20 +35,20 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context._locals(__M_locals))
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -74,74 +74,14 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def content():
|
||||
return render_content(context)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
__M_writer(' h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">\n ')
|
||||
__M_writer(str(pheader.html_post_header()))
|
||||
__M_writer('\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
|
||||
__M_writer(str(post.text()))
|
||||
__M_writer('\n </div>\n <aside class="postpromonav">\n <nav>\n ')
|
||||
__M_writer(str(helper.html_tags(post)))
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(helper.html_pager(post)))
|
||||
__M_writer('\n </nav>\n </aside>\n')
|
||||
if not post.meta('nocomments') and site_has_comments:
|
||||
__M_writer(' <section class="comments">\n <h2>')
|
||||
__M_writer(str(messages("Comments")))
|
||||
__M_writer('</h2>\n ')
|
||||
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
|
||||
__M_writer('\n </section>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(helper.mathjax_script(post)))
|
||||
__M_writer('\n</article>\n')
|
||||
__M_writer(str(comments.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
|
|
@ -181,8 +121,68 @@ def render_extra_head(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_sourcelink(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
def sourcelink():
|
||||
return render_sourcelink(context)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <li>\n <a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a>\n </li>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="post-')
|
||||
__M_writer(str(post.meta('type')))
|
||||
__M_writer(' h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article">\n ')
|
||||
__M_writer(str(pheader.html_post_header()))
|
||||
__M_writer('\n <div class="e-content entry-content" itemprop="articleBody text">\n ')
|
||||
__M_writer(str(post.text()))
|
||||
__M_writer('\n </div>\n <aside class="postpromonav">\n <nav>\n ')
|
||||
__M_writer(str(helper.html_tags(post)))
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(helper.html_pager(post)))
|
||||
__M_writer('\n </nav>\n </aside>\n')
|
||||
if not post.meta('nocomments') and site_has_comments:
|
||||
__M_writer(' <section class="comments">\n <h2>')
|
||||
__M_writer(str(messages("Comments")))
|
||||
__M_writer('</h2>\n ')
|
||||
__M_writer(str(comments.comment_form(post.permalink(absolute=True), post.title(), post._base_path)))
|
||||
__M_writer('\n </section>\n')
|
||||
__M_writer(' ')
|
||||
__M_writer(str(helper.mathjax_script(post)))
|
||||
__M_writer('\n</article>\n')
|
||||
__M_writer(str(comments.comment_link_script()))
|
||||
__M_writer('\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "line_map": {"128": 53, "129": 53, "130": 53, "131": 53, "150": 10, "162": 17, "137": 7, "146": 7, "147": 8, "148": 8, "149": 9, "22": 4, "151": 10, "152": 10, "25": 3, "154": 13, "155": 13, "28": 2, "157": 15, "158": 15, "159": 15, "160": 16, "161": 17, "34": 0, "163": 17, "164": 17, "165": 17, "166": 19, "167": 20, "168": 20, "156": 13, "170": 20, "171": 20, "172": 22, "173": 22, "174": 22, "175": 23, "176": 23, "177": 24, "178": 24, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "71": 56, "77": 27, "184": 178, "89": 27, "90": 28, "91": 28, "92": 29, "93": 29, "94": 31, "95": 31, "96": 35, "97": 35, "98": 36, "99": 36, "100": 39, "101": 40, "102": 41, "103": 41, "104": 42, "105": 42, "106": 45, "107": 45, "108": 45, "109": 47, "110": 47, "116": 50, "169": 20, "153": 12, "125": 50, "126": 51, "127": 52}, "source_encoding": "utf-8"}
|
||||
{"filename": "themes/bootstrap/templates/post.tmpl", "uri": "post.tmpl", "line_map": {"133": 50, "134": 51, "135": 52, "136": 53, "137": 53, "138": 53, "139": 53, "145": 27, "22": 3, "25": 4, "28": 2, "157": 27, "158": 28, "159": 28, "160": 29, "161": 29, "34": 0, "163": 31, "162": 31, "165": 35, "166": 36, "167": 36, "168": 39, "169": 40, "170": 41, "171": 41, "172": 42, "173": 42, "174": 45, "175": 45, "176": 45, "177": 47, "178": 47, "53": 2, "54": 3, "55": 4, "56": 5, "61": 25, "66": 48, "164": 35, "71": 56, "77": 7, "184": 178, "86": 7, "87": 8, "88": 8, "89": 9, "90": 10, "91": 10, "92": 10, "93": 12, "94": 13, "95": 13, "96": 13, "97": 15, "98": 15, "99": 15, "100": 16, "101": 17, "102": 17, "103": 17, "104": 17, "105": 17, "106": 19, "107": 20, "108": 20, "109": 20, "110": 20, "111": 20, "112": 22, "113": 22, "114": 22, "115": 23, "116": 23, "117": 24, "118": 24, "124": 50}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
148
cache/.mako.tmp/post_header.tmpl.py
vendored
148
cache/.mako.tmp/post_header.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.864289
|
||||
_modified_time = 1433913322.5110962
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl'
|
||||
_template_uri = 'post_header.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['html_post_header', 'html_sourcelink', 'html_translations', 'html_title']
|
||||
_exports = ['html_sourcelink', 'html_title', 'html_translations', 'html_post_header']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -41,20 +41,85 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_sourcelink(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <p class="sourceline"><a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a></p>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
title = context.get('title', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
|
||||
__M_writer(str(post.permalink()))
|
||||
__M_writer('" class="u-url">')
|
||||
__M_writer(filters.html_escape(str(post.title())))
|
||||
__M_writer('</a></h1>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
len = context.get('len', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(post.translated_to) > 1:
|
||||
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
|
||||
__M_writer(str(messages("Also available in:")))
|
||||
__M_writer('</h3>\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <p><a href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></p>\n')
|
||||
__M_writer(' </div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_post_header(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
post = context.get('post', UNDEFINED)
|
||||
def html_translations(post):
|
||||
return render_html_translations(context,post)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
def html_title():
|
||||
return render_html_title(context)
|
||||
def html_sourcelink():
|
||||
return render_html_sourcelink(context)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n <header>\n ')
|
||||
__M_writer(str(html_title()))
|
||||
|
|
@ -94,73 +159,8 @@ def render_html_post_header(context):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_sourcelink(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
show_sourcelink = context.get('show_sourcelink', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if show_sourcelink:
|
||||
__M_writer(' <p class="sourceline"><a href="')
|
||||
__M_writer(str(post.source_link()))
|
||||
__M_writer('" id="sourcelink">')
|
||||
__M_writer(str(messages("Source")))
|
||||
__M_writer('</a></p>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(post.translated_to) > 1:
|
||||
__M_writer(' <div class="metadata posttranslations translations">\n <h3 class="posttranslations-intro">')
|
||||
__M_writer(str(messages("Also available in:")))
|
||||
__M_writer('</h3>\n')
|
||||
for langname in translations.keys():
|
||||
if langname != lang and post.is_translation_available(langname):
|
||||
__M_writer(' <p><a href="')
|
||||
__M_writer(str(post.permalink(langname)))
|
||||
__M_writer('" rel="alternate" hreflang="')
|
||||
__M_writer(str(langname))
|
||||
__M_writer('">')
|
||||
__M_writer(str(messages("LANGUAGE", langname)))
|
||||
__M_writer('</a></p>\n')
|
||||
__M_writer(' </div>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_html_title(context):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
title = context.get('title', UNDEFINED)
|
||||
post = context.get('post', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if title and not post.meta('hidetitle'):
|
||||
__M_writer(' <h1 class="p-name entry-title" itemprop="headline name"><a href="')
|
||||
__M_writer(str(post.permalink()))
|
||||
__M_writer('" class="u-url">')
|
||||
__M_writer(filters.html_escape(str(post.title())))
|
||||
__M_writer('</a></h1>\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "line_map": {"128": 14, "129": 15, "130": 16, "131": 17, "132": 17, "133": 17, "134": 17, "135": 17, "136": 17, "137": 17, "138": 20, "144": 5, "22": 3, "151": 6, "152": 7, "25": 2, "154": 7, "155": 7, "28": 0, "150": 5, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 7, "44": 30, "162": 156, "59": 30, "60": 32, "61": 32, "62": 34, "63": 34, "64": 35, "65": 35, "66": 35, "67": 35, "68": 35, "69": 35, "70": 35, "71": 35, "72": 36, "73": 37, "74": 37, "75": 37, "76": 39, "77": 39, "78": 39, "79": 40, "80": 41, "81": 41, "82": 41, "83": 41, "84": 41, "85": 43, "86": 44, "87": 44, "88": 44, "89": 46, "90": 47, "91": 47, "97": 24, "104": 24, "105": 25, "106": 26, "107": 26, "108": 26, "109": 26, "110": 26, "116": 11, "153": 7, "124": 11, "125": 12, "126": 13, "127": 14}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_header.tmpl", "uri": "post_header.tmpl", "line_map": {"128": 34, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 35, "135": 35, "136": 35, "137": 36, "138": 37, "139": 37, "140": 37, "141": 39, "142": 39, "143": 39, "144": 40, "145": 41, "146": 41, "147": 41, "148": 41, "149": 41, "22": 3, "151": 44, "152": 44, "25": 2, "154": 46, "155": 47, "28": 0, "150": 43, "33": 2, "34": 3, "35": 9, "36": 22, "37": 28, "38": 49, "156": 47, "44": 24, "51": 24, "52": 25, "53": 26, "54": 26, "55": 26, "56": 26, "57": 26, "63": 5, "69": 5, "70": 6, "71": 7, "72": 7, "73": 7, "74": 7, "75": 7, "162": 156, "81": 11, "89": 11, "90": 12, "91": 13, "92": 14, "93": 14, "94": 15, "95": 16, "96": 17, "97": 17, "98": 17, "99": 17, "100": 17, "101": 17, "102": 17, "103": 20, "109": 30, "153": 44, "124": 30, "125": 32, "126": 32, "127": 34}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
104
cache/.mako.tmp/post_helper.tmpl.py
vendored
104
cache/.mako.tmp/post_helper.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.8354921
|
||||
_modified_time = 1433913322.4060154
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl'
|
||||
_template_uri = 'post_helper.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['open_graph_metadata', 'twitter_card_information', 'html_pager', 'meta_translations', 'mathjax_script', 'html_tags']
|
||||
_exports = ['twitter_card_information', 'html_pager', 'meta_translations', 'open_graph_metadata', 'mathjax_script', 'html_tags']
|
||||
|
||||
|
||||
def render_body(context,**pageargs):
|
||||
|
|
@ -29,53 +29,6 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_open_graph_metadata(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_open_graph:
|
||||
__M_writer(' <meta property="og:site_name" content="')
|
||||
__M_writer(striphtml(str(blog_title)))
|
||||
__M_writer('">\n <meta property="og:title" content="')
|
||||
__M_writer(filters.html_escape(str(post.title()[:70])))
|
||||
__M_writer('">\n <meta property="og:url" content="')
|
||||
__M_writer(str(abs_link(permalink)))
|
||||
__M_writer('">\n')
|
||||
if post.description():
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.description()[:200])))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
|
||||
__M_writer('">\n')
|
||||
if post.previewimage:
|
||||
__M_writer(' <meta property="og:image" content="')
|
||||
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
|
||||
__M_writer('">\n')
|
||||
__M_writer(' <meta property="og:type" content="article">\n')
|
||||
if post.date.isoformat():
|
||||
__M_writer(' <meta property="article:published_time" content="')
|
||||
__M_writer(str(post.date.isoformat()))
|
||||
__M_writer('">\n')
|
||||
if post.tags:
|
||||
for tag in post.tags:
|
||||
__M_writer(' <meta property="article:tag" content="')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_twitter_card_information(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -140,9 +93,9 @@ def render_html_pager(context,post):
|
|||
def render_meta_translations(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1:
|
||||
|
|
@ -158,6 +111,53 @@ def render_meta_translations(context,post):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_open_graph_metadata(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
blog_title = context.get('blog_title', UNDEFINED)
|
||||
use_open_graph = context.get('use_open_graph', UNDEFINED)
|
||||
abs_link = context.get('abs_link', UNDEFINED)
|
||||
permalink = context.get('permalink', UNDEFINED)
|
||||
url_replacer = context.get('url_replacer', UNDEFINED)
|
||||
striphtml = context.get('striphtml', UNDEFINED)
|
||||
lang = context.get('lang', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if use_open_graph:
|
||||
__M_writer(' <meta property="og:site_name" content="')
|
||||
__M_writer(striphtml(str(blog_title)))
|
||||
__M_writer('">\n <meta property="og:title" content="')
|
||||
__M_writer(filters.html_escape(str(post.title()[:70])))
|
||||
__M_writer('">\n <meta property="og:url" content="')
|
||||
__M_writer(str(abs_link(permalink)))
|
||||
__M_writer('">\n')
|
||||
if post.description():
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.description()[:200])))
|
||||
__M_writer('">\n')
|
||||
else:
|
||||
__M_writer(' <meta property="og:description" content="')
|
||||
__M_writer(filters.html_escape(str(post.text(strip_html=True)[:200])))
|
||||
__M_writer('">\n')
|
||||
if post.previewimage:
|
||||
__M_writer(' <meta property="og:image" content="')
|
||||
__M_writer(str(url_replacer(permalink, post.previewimage, lang, 'absolute')))
|
||||
__M_writer('">\n')
|
||||
__M_writer(' <meta property="og:type" content="article">\n')
|
||||
if post.date.isoformat():
|
||||
__M_writer(' <meta property="article:published_time" content="')
|
||||
__M_writer(str(post.date.isoformat()))
|
||||
__M_writer('">\n')
|
||||
if post.tags:
|
||||
for tag in post.tags:
|
||||
__M_writer(' <meta property="article:tag" content="')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_mathjax_script(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
|
|
@ -173,8 +173,8 @@ def render_mathjax_script(context,post):
|
|||
def render_html_tags(context,post):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
hidden_tags = context.get('hidden_tags', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
hidden_tags = context.get('hidden_tags', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
if post.tags:
|
||||
|
|
@ -194,6 +194,6 @@ def render_html_tags(context,post):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 42, "43": 42, "44": 43, "45": 44, "46": 44, "47": 44, "48": 45, "49": 45, "50": 46, "51": 46, "52": 47, "53": 48, "54": 48, "55": 48, "56": 49, "57": 50, "58": 50, "59": 50, "60": 52, "61": 53, "62": 53, "63": 53, "64": 55, "65": 60, "66": 61, "67": 61, "68": 61, "69": 63, "70": 64, "71": 65, "72": 65, "73": 65, "79": 71, "84": 71, "85": 72, "86": 73, "87": 73, "88": 73, "89": 74, "90": 75, "91": 75, "92": 75, "93": 76, "94": 77, "95": 77, "96": 77, "97": 79, "98": 80, "99": 80, "100": 80, "101": 81, "102": 82, "103": 82, "104": 82, "110": 25, "115": 25, "116": 26, "117": 27, "118": 28, "119": 29, "120": 30, "121": 30, "122": 30, "123": 30, "124": 30, "125": 30, "126": 33, "127": 34, "128": 35, "129": 35, "130": 35, "131": 35, "132": 35, "133": 35, "134": 38, "140": 3, "147": 3, "148": 4, "149": 5, "150": 6, "151": 7, "152": 7, "153": 7, "154": 7, "155": 7, "161": 87, "165": 87, "166": 88, "167": 89, "173": 13, "179": 13, "180": 14, "181": 15, "182": 16, "183": 17, "184": 18, "185": 18, "186": 18, "187": 18, "188": 18, "189": 21, "195": 189}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/post_helper.tmpl", "uri": "post_helper.tmpl", "line_map": {"15": 0, "20": 2, "21": 11, "22": 23, "23": 40, "24": 69, "25": 85, "26": 93, "32": 71, "37": 71, "38": 72, "39": 73, "40": 73, "41": 73, "42": 74, "43": 75, "44": 75, "45": 75, "46": 76, "47": 77, "48": 77, "49": 77, "50": 79, "51": 80, "52": 80, "53": 80, "54": 81, "55": 82, "56": 82, "57": 82, "63": 25, "68": 25, "69": 26, "70": 27, "71": 28, "72": 29, "73": 30, "74": 30, "75": 30, "76": 30, "77": 30, "78": 30, "79": 33, "80": 34, "81": 35, "82": 35, "83": 35, "84": 35, "85": 35, "86": 35, "87": 38, "93": 3, "100": 3, "101": 4, "102": 5, "103": 6, "104": 7, "105": 7, "106": 7, "107": 7, "108": 7, "114": 42, "125": 42, "126": 43, "127": 44, "128": 44, "129": 44, "130": 45, "131": 45, "132": 46, "133": 46, "134": 47, "135": 48, "136": 48, "137": 48, "138": 49, "139": 50, "140": 50, "141": 50, "142": 52, "143": 53, "144": 53, "145": 53, "146": 55, "147": 60, "148": 61, "149": 61, "150": 61, "151": 63, "152": 64, "153": 65, "154": 65, "155": 65, "161": 87, "165": 87, "166": 88, "167": 89, "173": 13, "179": 13, "180": 14, "181": 15, "182": 16, "183": 17, "184": 18, "185": 18, "186": 18, "187": 18, "188": 18, "189": 21, "195": 189}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
30
cache/.mako.tmp/story.tmpl.py
vendored
30
cache/.mako.tmp/story.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.8865528
|
||||
_modified_time = 1433913322.588019
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl'
|
||||
_template_uri = 'story.tmpl'
|
||||
|
|
@ -19,12 +19,12 @@ def _mako_get_namespace(context, name):
|
|||
_mako_generate_namespaces(context)
|
||||
return context.namespaces[(__name__, name)]
|
||||
def _mako_generate_namespaces(context):
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('pheader', context._clean_inheritance_tokens(), templateuri='post_header.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'pheader')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('comments', context._clean_inheritance_tokens(), templateuri='comments_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'comments')] = ns
|
||||
|
||||
ns = runtime.TemplateNamespace('helper', context._clean_inheritance_tokens(), templateuri='post_helper.tmpl', callables=None, calling_uri=_template_uri)
|
||||
context.namespaces[(__name__, 'helper')] = ns
|
||||
|
||||
|
|
@ -35,15 +35,15 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n')
|
||||
__M_writer('\n')
|
||||
|
|
@ -62,15 +62,15 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
post = context.get('post', UNDEFINED)
|
||||
pheader = _mako_get_namespace(context, 'pheader')
|
||||
def content():
|
||||
return render_content(context)
|
||||
comments = _mako_get_namespace(context, 'comments')
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
site_has_comments = context.get('site_has_comments', UNDEFINED)
|
||||
enable_comments = context.get('enable_comments', UNDEFINED)
|
||||
helper = _mako_get_namespace(context, 'helper')
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="storypage" itemscope="itemscope" itemtype="http://schema.org/Article">\n <header>\n ')
|
||||
__M_writer(str(pheader.html_title()))
|
||||
|
|
@ -95,6 +95,6 @@ def render_content(context,**pageargs):
|
|||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 4, "87": 19, "88": 22, "25": 3, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/story.tmpl", "uri": "story.tmpl", "line_map": {"86": 19, "75": 7, "76": 10, "77": 10, "78": 11, "79": 11, "80": 14, "81": 14, "82": 16, "83": 17, "84": 18, "85": 18, "22": 3, "87": 19, "88": 22, "25": 4, "90": 22, "28": 2, "96": 90, "34": 0, "48": 2, "49": 3, "50": 4, "51": 5, "89": 22, "56": 24, "62": 7}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
132
cache/.mako.tmp/tag.tmpl.py
vendored
132
cache/.mako.tmp/tag.tmpl.py
vendored
|
|
@ -4,12 +4,12 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.9360347
|
||||
_modified_time = 1433913322.8956037
|
||||
_enable_loop = True
|
||||
_template_filename = '/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl'
|
||||
_template_uri = 'tag.tmpl'
|
||||
_source_encoding = 'utf-8'
|
||||
_exports = ['content', 'extra_head']
|
||||
_exports = ['extra_head', 'content']
|
||||
|
||||
|
||||
def _mako_get_namespace(context, name):
|
||||
|
|
@ -27,23 +27,23 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context._locals(__M_locals))
|
||||
description = context.get('description', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'extra_head'):
|
||||
|
|
@ -61,23 +61,63 @@ def render_body(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
len = context.get('len', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1 and generate_rss:
|
||||
for language in translations:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
|
||||
__M_writer(str(kind))
|
||||
__M_writer(' ')
|
||||
__M_writer(str(tag))
|
||||
__M_writer(' (')
|
||||
__M_writer(str(language))
|
||||
__M_writer(')" href="')
|
||||
__M_writer(str(_link(kind + "_rss", tag, language)))
|
||||
__M_writer('">\n')
|
||||
elif generate_rss:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
|
||||
__M_writer(str(kind))
|
||||
__M_writer(' ')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('" href="')
|
||||
__M_writer(str(_link(kind + "_rss", tag)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
description = context.get('description', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
posts = context.get('posts', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
date_format = context.get('date_format', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
subcategories = context.get('subcategories', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<article class="tagpage">\n <header>\n <h1>')
|
||||
__M_writer(filters.html_escape(str(title)))
|
||||
|
|
@ -137,48 +177,8 @@ def render_content(context,**pageargs):
|
|||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
def render_extra_head(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
kind = context.get('kind', UNDEFINED)
|
||||
parent = context.get('parent', UNDEFINED)
|
||||
generate_rss = context.get('generate_rss', UNDEFINED)
|
||||
len = context.get('len', UNDEFINED)
|
||||
_link = context.get('_link', UNDEFINED)
|
||||
translations = context.get('translations', UNDEFINED)
|
||||
tag = context.get('tag', UNDEFINED)
|
||||
def extra_head():
|
||||
return render_extra_head(context)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n ')
|
||||
__M_writer(str(parent.extra_head()))
|
||||
__M_writer('\n')
|
||||
if len(translations) > 1 and generate_rss:
|
||||
for language in translations:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
|
||||
__M_writer(str(kind))
|
||||
__M_writer(' ')
|
||||
__M_writer(str(tag))
|
||||
__M_writer(' (')
|
||||
__M_writer(str(language))
|
||||
__M_writer(')" href="')
|
||||
__M_writer(str(_link(kind + "_rss", tag, language)))
|
||||
__M_writer('">\n')
|
||||
elif generate_rss:
|
||||
__M_writer(' <link rel="alternate" type="application/rss+xml" type="application/rss+xml" title="RSS for ')
|
||||
__M_writer(str(kind))
|
||||
__M_writer(' ')
|
||||
__M_writer(str(tag))
|
||||
__M_writer('" href="')
|
||||
__M_writer(str(_link(kind + "_rss", tag)))
|
||||
__M_writer('">\n')
|
||||
return ''
|
||||
finally:
|
||||
context.caller_stack._pop_frame()
|
||||
|
||||
|
||||
"""
|
||||
__M_BEGIN_METADATA
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl", "line_map": {"128": 46, "129": 46, "130": 46, "131": 46, "132": 46, "133": 48, "134": 50, "140": 4, "153": 4, "26": 0, "155": 5, "156": 6, "154": 5, "158": 8, "159": 8, "160": 8, "161": 8, "162": 8, "163": 8, "164": 8, "165": 8, "166": 8, "167": 10, "168": 11, "169": 11, "170": 11, "171": 11, "172": 11, "173": 11, "174": 11, "157": 7, "48": 2, "180": 174, "53": 13, "58": 51, "64": 16, "82": 16, "83": 19, "84": 19, "85": 20, "86": 21, "87": 21, "88": 21, "89": 23, "90": 24, "91": 24, "92": 24, "93": 26, "94": 27, "95": 27, "96": 27, "97": 27, "98": 27, "99": 29, "100": 31, "101": 32, "102": 33, "103": 34, "104": 35, "105": 35, "106": 35, "107": 35, "108": 35, "109": 35, "110": 35, "111": 35, "112": 38, "113": 39, "114": 39, "115": 39, "116": 39, "117": 39, "118": 41, "119": 43, "120": 44, "121": 45, "122": 46, "123": 46, "124": 46, "125": 46, "126": 46, "127": 46}, "source_encoding": "utf-8"}
|
||||
{"filename": "/usr/lib/python3.4/site-packages/nikola/data/themes/base/templates/tag.tmpl", "uri": "tag.tmpl", "line_map": {"128": 21, "129": 23, "130": 24, "131": 24, "132": 24, "133": 26, "134": 27, "135": 27, "136": 27, "137": 27, "138": 27, "139": 29, "140": 31, "141": 32, "142": 33, "143": 34, "144": 35, "145": 35, "146": 35, "147": 35, "148": 35, "149": 35, "150": 35, "151": 35, "152": 38, "153": 39, "26": 0, "155": 39, "156": 39, "154": 39, "158": 41, "159": 43, "160": 44, "161": 45, "162": 46, "163": 46, "164": 46, "165": 46, "166": 46, "167": 46, "168": 46, "169": 46, "170": 46, "171": 46, "172": 46, "173": 48, "174": 50, "157": 39, "48": 2, "180": 174, "53": 13, "58": 51, "64": 4, "77": 4, "78": 5, "79": 5, "80": 6, "81": 7, "82": 8, "83": 8, "84": 8, "85": 8, "86": 8, "87": 8, "88": 8, "89": 8, "90": 8, "91": 10, "92": 11, "93": 11, "94": 11, "95": 11, "96": 11, "97": 11, "98": 11, "104": 16, "122": 16, "123": 19, "124": 19, "125": 20, "126": 21, "127": 21}, "source_encoding": "utf-8"}
|
||||
__M_END_METADATA
|
||||
"""
|
||||
|
|
|
|||
18
cache/.mako.tmp/tags.tmpl.py
vendored
18
cache/.mako.tmp/tags.tmpl.py
vendored
|
|
@ -4,7 +4,7 @@ UNDEFINED = runtime.UNDEFINED
|
|||
__M_dict_builtin = dict
|
||||
__M_locals_builtin = locals
|
||||
_magic_number = 10
|
||||
_modified_time = 1433908197.9183095
|
||||
_modified_time = 1433913322.8149366
|
||||
_enable_loop = True
|
||||
_template_filename = 'themes/bootstrap/templates/tags.tmpl'
|
||||
_template_uri = 'tags.tmpl'
|
||||
|
|
@ -27,12 +27,12 @@ def render_body(context,**pageargs):
|
|||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
__M_locals = __M_dict_builtin(pageargs=pageargs)
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context._locals(__M_locals))
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n\n')
|
||||
if 'parent' not in context._data or not hasattr(context._data['parent'], 'content'):
|
||||
|
|
@ -48,12 +48,12 @@ def render_body(context,**pageargs):
|
|||
def render_content(context,**pageargs):
|
||||
__M_caller = context.caller_stack._push_frame()
|
||||
try:
|
||||
title = context.get('title', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
def content():
|
||||
return render_content(context)
|
||||
cat_items = context.get('cat_items', UNDEFINED)
|
||||
messages = context.get('messages', UNDEFINED)
|
||||
title = context.get('title', UNDEFINED)
|
||||
items = context.get('items', UNDEFINED)
|
||||
__M_writer = context.writer()
|
||||
__M_writer('\n<h1>')
|
||||
__M_writer(str(title))
|
||||
|
|
|
|||
2
cache/lastdeploy
vendored
2
cache/lastdeploy
vendored
|
|
@ -1 +1 @@
|
|||
2015-06-10T03:00:08.292906
|
||||
2015-06-10T05:14:31.918124
|
||||
26
cache/posts/updates-to-aur-packages.html
vendored
26
cache/posts/updates-to-aur-packages.html
vendored
|
|
@ -1,17 +1,17 @@
|
|||
<p>So, with the <a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">migration of the AUR to version 4</a>, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.</p>
|
||||
<p>The list started out with:</p>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/xlhtml/">xlhtml</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/xlhtml/">xlhttp</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li>
|
||||
</ul>
|
||||
<p>In the end, I only kept <em>xlhtml</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p>
|
||||
<p>In the end, I only kept <em>xlhttp</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p>
|
||||
|
|
|
|||
13
conf.py
13
conf.py
|
|
@ -77,7 +77,7 @@ DEPLOY_COMMANDS = {
|
|||
'default': [
|
||||
"nikola check -fl",
|
||||
"chmod -R a+rX output/",
|
||||
"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ duck@www:httpd/duckland.org/nikola",
|
||||
"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ www:httpd/duckland.org/nikola",
|
||||
]
|
||||
}
|
||||
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}...a></p>'
|
||||
|
|
@ -105,15 +105,8 @@ COPY_SOURCES = False
|
|||
INDEX_DISPLAY_POST_COUNT = 5
|
||||
UNSLUGIFY_TITLES = True
|
||||
LOGGING_HANDLERS = {
|
||||
#'stderr': {'loglevel': 'INFO', 'bubble': True},
|
||||
'smtp': {
|
||||
'from_addr': 'www.duckland.org@duckland.org',
|
||||
'recipients': ('duck@duckland.org'),
|
||||
'server_addr': ('127.0.0.1',25),
|
||||
'secure': (),
|
||||
'level': 'WARNING',
|
||||
'bubble': False
|
||||
}
|
||||
'stderr': {'loglevel': 'INFO', 'bubble': True},
|
||||
'smtp': { 'from_addr': 'www.duckland.org@duckland.org', 'recipients': ('duck@duckland.org'), 'server_addr': ('127.0.0.1',25), 'secure': (), 'level': 'WARNING', 'bubble': False }
|
||||
}
|
||||
GLOBAL_CONTEXT = {}
|
||||
GLOBAL_CONTEXT_FILLER = []
|
||||
|
|
|
|||
120
conf.py~
120
conf.py~
|
|
@ -1,120 +0,0 @@
|
|||
from __future__ import unicode_literals
|
||||
import time
|
||||
BLOG_AUTHOR = "Don Harper" # (translatable)
|
||||
BLOG_TITLE = "duckland.org news" # (translatable)
|
||||
SITE_URL = "http://www.duckland.org/"
|
||||
BLOG_EMAIL = "duck@duckland.org"
|
||||
BLOG_DESCRIPTION = "News from duckland.org" # (translatable)
|
||||
DEFAULT_LANG = "en"
|
||||
TRANSLATIONS = {
|
||||
DEFAULT_LANG: "",
|
||||
}
|
||||
TRANSLATIONS_PATTERN = "{path}.{lang}.{ext}"
|
||||
NAVIGATION_LINKS = {
|
||||
DEFAULT_LANG: (
|
||||
('/index.html', 'Home'),
|
||||
('/stories/about.html', 'About me'),
|
||||
(
|
||||
(
|
||||
('http://www.donaldharper.com', 'My Photo Blog'),
|
||||
('http://p365.donaldharper.com', 'My Attempt at a Project 365'),
|
||||
('http://www.duckland.org', 'My Personal and Tech Blog'),
|
||||
),
|
||||
'My Sites'
|
||||
),
|
||||
(
|
||||
(
|
||||
('https://twitter.com/duckunix', 'My Twitter'),
|
||||
('https://plus.google.com/+DonHarper/', 'My Google+'),
|
||||
('http://www.linkedin.com/in/donaldharper/', 'My LinkedIN'),
|
||||
),
|
||||
'Social Sites'
|
||||
),
|
||||
("/archive.html", "Archive"),
|
||||
("/categories/index.html", "Tags"),
|
||||
('/rss.xml', 'RSS'),
|
||||
),
|
||||
}
|
||||
#THEME = "slate"
|
||||
#THEME = "duckland"
|
||||
THEME = "superhero"
|
||||
TIMEZONE = "CDT6CST"
|
||||
DATE_FORMAT = '%Y-%m-%d'
|
||||
JS_DATE_FORMAT = 'YYYY-MM-DD'
|
||||
DATE_FANCINESS = 1
|
||||
POSTS = (
|
||||
("posts/*.rst", "posts", "post.tmpl"),
|
||||
("posts/*.txt", "posts", "post.tmpl"),
|
||||
("posts/*.html", "posts", "post.tmpl"),
|
||||
("posts/*.wp", "posts", "post.tmpl"),
|
||||
)
|
||||
PAGES = (
|
||||
("stories/*.rst", "stories", "story.tmpl"),
|
||||
("stories/*.txt", "stories", "story.tmpl"),
|
||||
)
|
||||
COMPILERS = {
|
||||
"rest": ('.rst', '.txt'),
|
||||
"markdown": ('.md', '.mdown', '.markdown'),
|
||||
"textile": ('.textile',),
|
||||
"txt2tags": ('.t2t',),
|
||||
"bbcode": ('.bb',),
|
||||
"wiki": ('.wiki',),
|
||||
"ipynb": ('.ipynb',),
|
||||
"html": ('.html', '.htm', '.wp'),
|
||||
"php": ('.php',),
|
||||
}
|
||||
WRITE_TAG_CLOUD = True
|
||||
HIDDEN_TAGS = ['mathjax']
|
||||
HIDDEN_CATEGORIES = []
|
||||
SHOW_BLOG_TITLE = True
|
||||
FEED_LENGTH = 10
|
||||
REDIRECTIONS = []
|
||||
IMAGE_FOLDERS = {'images': 'images'}
|
||||
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}…</a></p>'
|
||||
RSS_READ_MORE_LINK = '<p><a href="{link}">{read_more}…</a> ({min_remaining_read})</p>'
|
||||
RSS_LINKS_APPEND_QUERY = False
|
||||
DEPLOY_COMMANDS = {
|
||||
'default': [
|
||||
"nikola check -fl",
|
||||
"chmod -R a+rX output/",
|
||||
"rsync -a --delete -e 'ssh -x -i /home/don/.ssh/http -l duck' output/ duck@www:httpd/duckland.org/nikola",
|
||||
]
|
||||
}
|
||||
INDEX_READ_MORE_LINK = '<p class="more"><a href="{link}">{read_more}...a></p>'
|
||||
RSS_READ_MORE_LINK = '<p><a href="{link}">{read_more}...a> ({min_remaining_read})</p>'
|
||||
LICENSE = ""
|
||||
CONTENT_FOOTER = 'Contents © {date} <a href="mailto:{email}">{author}</a> - Powered by <a href="http://getnikola.com" rel="nofollow">Nikola</a> {license}'
|
||||
CONTENT_FOOTER_FORMATS = {
|
||||
DEFAULT_LANG: (
|
||||
(),
|
||||
{
|
||||
"email": BLOG_EMAIL,
|
||||
"author": BLOG_AUTHOR,
|
||||
"date": time.gmtime().tm_year,
|
||||
"license": LICENSE
|
||||
}
|
||||
)
|
||||
}
|
||||
COMMENT_SYSTEM = ""
|
||||
COMMENT_SYSTEM_ID = ""
|
||||
FUTURE_IS_NOW = False
|
||||
DEPLOY_DRAFTS = False
|
||||
SCHEDULE_ALL = True
|
||||
SHOW_SOURCELINK = False
|
||||
COPY_SOURCES = False
|
||||
INDEX_DISPLAY_POST_COUNT = 5
|
||||
UNSLUGIFY_TITLES = True
|
||||
LOGGING_HANDLERS = {
|
||||
#'stderr': {'loglevel': 'INFO', 'bubble': True},
|
||||
'smtp': {
|
||||
'from_addr': 'www.duckland.org@duckland.org',
|
||||
'recipients': ('duck@duckland.org'),
|
||||
'server_addr': ('127.0.0.1',25),
|
||||
'secure': (),
|
||||
'level': 'WARNING',
|
||||
'bubble': False
|
||||
}
|
||||
}
|
||||
GLOBAL_CONTEXT = {}
|
||||
GLOBAL_CONTEXT_FILLER = []
|
||||
CREATE_MONTHLY_ARCHIVE = True
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (30DayChallenge)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/30daychallenge.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description><div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (30DayChallenge)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/30daychallenge.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description><div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p>
|
||||
<p>I would try to debug the issues, but that means learning a whole new set of tools, and I will not have time for a while. Next week, I am in week long meetings which will run late every day, and then I have to finish writing and present a training class the last week of the month. The hour or two I can spare will be far better spent for me by backup, re-installing <a class="reference external" href="http://www.archlinux.org">ArchLinux</a> than by starting to learn the tools. Yes, a bit of a cop-out, but I need the machines to do what I need to do. I will keep the servers FreeBSD, however, as it works great there.</p>
|
||||
<p>I will revisit the issue of FreeBSD on the laptops when I either get new kit, or support for my models gets better.</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>linux</category><category>sa</category><guid>http://www.duckland.org/posts/30daychallengefreebsdsa.html</guid><pubDate>Fri, 06 Feb 2015 12:43:32 GMT</pubDate></item><item><title>FreeBSD Challenge II, Day 30 Update</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As the month draws to a close, I am further into the switch. I have rebuilt my main laptop to <a class="reference external" href="http://www.pcbsd.org">PCBSD</a>. I am still setting a few things up, but it seems to be going well.</p>
|
||||
<p>Two things I need to fix:</p>
|
||||
|
|
|
|||
|
|
@ -1,232 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# " lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Posts about 30DayChallenge | duckland.org news</title>
|
||||
|
||||
|
||||
<link href="../assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml">
|
||||
|
||||
<link rel="canonical" href="http://www.duckland.org/categories/30daychallenge.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--[if lt IE 9]><script src="../assets/js/html5.js"></script><![endif]-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS for tag 30DayChallenge" href="30daychallenge.xml">
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
|
||||
|
||||
<!-- Menubar -->
|
||||
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<!-- This keeps the margins nice -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="http://www.duckland.org/">
|
||||
|
||||
<span id="blog-title">duckland.org news</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.navbar-header -->
|
||||
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li>
|
||||
<a href="../index.html">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../stories/about.html">About me</a>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">My Sites<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="http://www.donaldharper.com">My Photo Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://p365.donaldharper.com">My Attempt at a Project 365</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.duckland.org">My Personal and Tech Blog</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Social Sites<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="https://twitter.com/duckunix">My Twitter</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://plus.google.com/+DonHarper/">My Google+</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.linkedin.com/in/donaldharper/">My LinkedIN</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../archive.html">Archive</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">Tags</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../rss.xml">RSS</a>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<!-- End of Menubar -->
|
||||
|
||||
<div class="container" id="content">
|
||||
<div class="body-content">
|
||||
<!--Body content-->
|
||||
<div class="row">
|
||||
|
||||
|
||||
<article class="tagpage">
|
||||
<header>
|
||||
<h1>Posts about 30DayChallenge</h1>
|
||||
<div class="metadata">
|
||||
<p class="feedlink"><a href="30daychallenge.xml" type="application/rss+xml">RSS feed</a></p>
|
||||
</div>
|
||||
</header>
|
||||
<ul class="postlist">
|
||||
<li>
|
||||
<a href="../posts/freebsd-challenge-ii-day-30-update.html" class="listtitle">FreeBSD Challenge II, Day 30 Update</a> <time class="listdate" datetime="2015-01-30T15:38:32-06:00" title="2015-01-30">2015-01-30</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/freebsd-challenge-ii-day-14.html" class="listtitle">FreeBSD Challenge II, Day 14</a> <time class="listdate" datetime="2015-01-14T23:51:48-06:00" title="2015-01-14">2015-01-14</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/update-on-revisiting-freebsd-challenge.html" class="listtitle">Update on revisiting FreeBSD Challenge</a> <time class="listdate" datetime="2015-01-10T22:35:04-06:00" title="2015-01-10">2015-01-10</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/goodbye-2014.html" class="listtitle">Goodbye 2014!</a> <time class="listdate" datetime="2014-12-30T23:44:55-06:00" title="2014-12-30">2014-12-30</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201407freebsd-switch.html" class="listtitle">FreeBSD Switch</a> <time class="listdate" datetime="2014-07-24T04:07:42-05:00" title="2014-07-24">2014-07-24</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201406back-to-freebsd-maybe-back-to-the-challenge.html" class="listtitle">Back to FreeBSD (maybe back to the challenge)</a> <time class="listdate" datetime="2014-06-30T15:06:09-05:00" title="2014-06-30">2014-06-30</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201404freebsd-challenge-final-for-now.html" class="listtitle">FreeBSD Challenge final (for now)</a> <time class="listdate" datetime="2014-04-22T22:04:17-05:00" title="2014-04-22">2014-04-22</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201404freebsd-challenge-day-17.html" class="listtitle">FreeBSD Challenge, Day 17</a> <time class="listdate" datetime="2014-04-17T04:04:52-05:00" title="2014-04-17">2014-04-17</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201404freebsd-challenge-update.html" class="listtitle">FreeBSD Challenge, Update</a> <time class="listdate" datetime="2014-04-15T16:04:26-05:00" title="2014-04-15">2014-04-15</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-16.html" class="listtitle">FreeBSD Challenge, Day 16</a> <time class="listdate" datetime="2014-03-29T05:03:18-06:00" title="2014-03-29">2014-03-29</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-12-15.html" class="listtitle">FreeBSD Challenge, Day 12-15</a> <time class="listdate" datetime="2014-03-27T05:03:20-06:00" title="2014-03-27">2014-03-27</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-9-11.html" class="listtitle">FreeBSD Challenge, Day 9-11</a> <time class="listdate" datetime="2014-03-22T17:03:03-06:00" title="2014-03-22">2014-03-22</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-8.html" class="listtitle">FreeBSD Challenge, Day 8</a> <time class="listdate" datetime="2014-03-19T18:03:12-06:00" title="2014-03-19">2014-03-19</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-7.html" class="listtitle">FreeBSD Challenge, Day 7</a> <time class="listdate" datetime="2014-03-18T04:03:04-06:00" title="2014-03-18">2014-03-18</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-4-6.html" class="listtitle">FreeBSD Challenge, Day 4-6</a> <time class="listdate" datetime="2014-03-16T18:03:20-06:00" title="2014-03-16">2014-03-16</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-3.html" class="listtitle">FreeBSD Challenge, Day 3</a> <time class="listdate" datetime="2014-03-14T05:03:44-06:00" title="2014-03-14">2014-03-14</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-2.html" class="listtitle">FreeBSD Challenge, Day 2</a> <time class="listdate" datetime="2014-03-13T20:03:36-06:00" title="2014-03-13">2014-03-13</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403back-to-freebsd-aka-day-1.html" class="listtitle">Back to FreeBSD aka Day 1</a> <time class="listdate" datetime="2014-03-12T04:03:05-06:00" title="2014-03-12">2014-03-12</time>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<!--End of body content-->
|
||||
|
||||
<footer>
|
||||
Contents © 2015 <a href="mailto:duck@duckland.org">Don Harper</a> - Powered by <a href="http://getnikola.com" rel="nofollow">Nikola</a>
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="../assets/js/all-nocdn.js"></script>
|
||||
|
||||
<!-- Social buttons -->
|
||||
<div id="addthisbox" class="addthis_toolbox addthis_peekaboo_style addthis_default_style addthis_label_style addthis_32x32_style">
|
||||
<a class="addthis_button_more">Share</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="addthis_button_facebook"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_google_plusone_share"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_linkedin"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_twitter"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f7088a56bb93798"></script>
|
||||
<!-- End of social buttons -->
|
||||
|
||||
|
||||
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<!-- fancy dates -->
|
||||
<script>
|
||||
moment.locale("");
|
||||
fancydates(1, "YYYY-MM-DD");
|
||||
</script>
|
||||
<!-- end fancy dates -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (30DayChallenge)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/30daychallenge.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, Day 30 Update</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As the month draws to a close, I am further into the switch. I have rebuilt my main laptop to <a class="reference external" href="http://www.pcbsd.org">PCBSD</a>. I am still setting a few things up, but it seems to be going well.</p>
|
||||
<p>Two things I need to fix:</p>
|
||||
<ul class="simple">
|
||||
<li><strong>Skype</strong>: While there is not a native client, there are lots of folks who report success with the Linux client. I will need to do some research.</li>
|
||||
<li><strong>Nikola</strong>: The software I use for my blogs. It throws a python error when I run it, so I cannot update things. Again, I think I just need to do some more research.</li>
|
||||
</ul>
|
||||
<p>Now, the fun of the weekend is here, so I am off!</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</guid><pubDate>Fri, 30 Jan 2015 21:38:32 GMT</pubDate></item><item><title>FreeBSD Challenge II, Day 14</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-14.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Today is day 14 (pushing day 15 at this hour), and things are looking very good. Today, I got word from the <a class="reference external" href="http://www.pcbsd.org">PCBSD Project</a> that a patch which I submitted to fix the <a class="reference external" href="http://www.duckland.org/posts/201407freebsd-switch.html">issue with the WiFi NIC</a>. Well, I got notice today that <a class="reference external" href="https://bugs.freenas.org/issues/7330">PCBSD Bug #7330</a> has been resolved, and I tested on the R810. It works!</p>
|
||||
<p>Now, I just need to get a few things configured here first, like snapshots, backups, and porting my SDCARD reading scripts over to FreeBSD, and I should be good.</p>
|
||||
<p>Then, fun things like configure &amp; use IPv6. I have two FreeBSD VSP servers to test with...it will be fun!</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/freebsd-challenge-ii-day-14.html</guid><pubDate>Thu, 15 Jan 2015 05:51:48 GMT</pubDate></item><item><title>Update on revisiting FreeBSD Challenge</title><link>http://www.duckland.org/posts/update-on-revisiting-freebsd-challenge.html</link><dc:creator>Don Harper</dc:creator><description><div><p>It is the 10th day of the month, and I am 10 days in trying to use FreeBSD as my daily non-work driver. How is it going?</p>
|
||||
<p>Well, for the most part, well. I can spend most of my personal work-flow on the FreeBSD laptop with no issues. There are a couple of things I have not moved over yet, and those relate to my photo work-flow. The main application, <a class="reference external" href="http://aftershotpro.com">AfterShotPro</a> is installed and working (see <a class="reference external" href="http://www.duckland.org/posts/201403freebsd-challenge-day-4-6.html">my previous desciption</a> of installing in), however, I have not moved over the scripts I use in the flow. I believe they will just come over, but I have not had a chance to test them.</p>
|
||||
<p>I was using <a class="reference external" href="http://chromium.org">Chromium</a>, but any Flash site did not work. I need to revisit this at some point, but for now I went back to Firefox, and it is working create.</p>
|
||||
<p>The only major thing right now I need to figure out is how FreeBSD deals with sound. I can hear things from the speakers just fine, but I need to figure out how to enable and use an USB headset. Not the biggest, but still. I also need to either install &amp; configure Skype, or find a replacement video chat to use with the wife while traveling that works under FreeBSD. I like the second option better, but I have not really had the time to do the research.</p>
|
||||
<p>And, the new site generating suite I am using works under FreeBSD. I wrote and posted this from the FreeBSD laptop.</p>
|
||||
<p>More updates soon.</p></div></description><category>30DayChallenge</category><category>sa</category><guid>http://www.duckland.org/posts/update-on-revisiting-freebsd-challenge.html</guid><pubDate>Sun, 11 Jan 2015 04:35:04 GMT</pubDate></item><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As 2014 draws to a close, I look back at the year.</p>
|
||||
<p>Overall, it was a good year. The family staid reasonably health (just a case of the flu which every one of us caught).</p>
|
||||
<p>Work slowed down a bit after only three trips, and the last one was in June, but I did get to spend two weeks in London which was cool. While the work has been not what I really want to be doing, it has been interesting, and next year promises to be very interesting. I have no clue if travel is in the cards or not, but I will keep the camera handy.</p>
|
||||
<p>In the coming year, I plan to focus on health, photography, and technology. I want to get back to taking photos every day, and to bring the quality back up to art level over the snapshots and historical documentation that I have been doing.</p>
|
||||
<p>Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running <a class="reference external" href="http://www.pcbsd.org">PCBSD 10.1</a> already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.</p>
|
||||
<p>Just to prove things, this post was written under FreeBSD.</p>
|
||||
<p>I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.</p>
|
||||
<p>I hope your 2015 is a great year.</p></div></description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>FreeBSD Switch</title><link>http://www.duckland.org/posts/201407freebsd-switch.html</link><dc:creator>Don Harper</dc:creator><description><p>I just noticed I have not updated this in a few weeks. Sorry about that.</p>
|
||||
|
||||
<p>I have my R810 running PCBSD 10.0.2, and I just patched and configured WiFi on it. I need to figure out how to submit a patch to see if I can get the Centrino supported in the main-line kernel so I do not have to compile a custom kernel just for that.</p>
|
||||
|
||||
<p>I almost have this working where I can switch to it full time. I need to deal with getting my <strong>killer</strong> apps installed and working. I had most (all?) of them working before, so I know I can do it again.</p>
|
||||
|
||||
<p>Currently, FireFox is not working for me for some reason, but Chromium is, so I will use that for now.</p>
|
||||
|
||||
<p>I have started a wiki to keep some notes for myself on this (what SA has not done that?), so I hope this process will be easier this time.</p>
|
||||
|
||||
<p>peace.</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201407freebsd-switch.html</guid><pubDate>Thu, 24 Jul 2014 09:07:42 GMT</pubDate></item><item><title>Back to FreeBSD (maybe back to the challenge)</title><link>http://www.duckland.org/posts/201406back-to-freebsd-maybe-back-to-the-challenge.html</link><dc:creator>Don Harper</dc:creator><description><p>So, I had a bit of time over the weekend, and spent it doing a bit of hacking around.</p>
|
||||
|
||||
<p>I had re-installed <a href="http://www.pcbsd.org">PC-BSD</a> on my HP EliteBook R810. I used 10.0.2, and everything but the wireless looked good. I decided to try to get the wireless working with the internal WNIC. <a href="http://www.duckland.org/2014/04/freebsd-challenge,-day-17">Previously</a>, I used an external dongle to get WiFi working, but it was a pain to remember to pull it out, so I decided to try again.</p>
|
||||
|
||||
<p>I updated the base OS to 10-CURRENT, and then 'patched' the source tree using the info I found <a href="https://forums.freebsd.org/viewtopic.php?t=35467">in this forum post</a>. Once I rebooted, and used the PC-BSD tools to enable the device, things worked! Since this was only last night, I need to test it a bit to make sure it stands up to load.</p>
|
||||
|
||||
<p>There is a <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169433">PR</a>, and support <strong>has</strong> been added to HEAD. I am going try to write a patch to get this added before then. I will need to see if I can figure out how to do that. :)</p>
|
||||
|
||||
<p>Since my work laptop uses the same WNIC, I am one step closer to being able to install it on the work machine.</p>
|
||||
|
||||
<p>I am going to see about trying to use <strong><em>dragon</em></strong> as my non-work daily driver and shake out what I need to do, so I may be restarting the <a href="http://www.duckland.org/tag/30DayChallenge">30 Day Challenge</a> again, but a lot of that depends on how work goes.</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201406back-to-freebsd-maybe-back-to-the-challenge.html</guid><pubDate>Mon, 30 Jun 2014 20:06:09 GMT</pubDate></item><item><title>FreeBSD Challenge final (for now)</title><link>http://www.duckland.org/posts/201404freebsd-challenge-final-for-now.html</link><dc:creator>Don Harper</dc:creator><description><p>Well,
|
||||
Something broke on the main computer. The speed when trying to run
|
||||
a few terminal apps, firefox, and thunderbird at the same time was
|
||||
appalling. I never had that sort of performance issues under
|
||||
ArchLinix on the same kit. I would love to take the time to debug it,
|
||||
but I am almost four weeks behind in dealing with my photos, including
|
||||
those from my trip to England, and I am getting ready to do run some
|
||||
training courses for work which will suck up all my free time.</p>
|
||||
|
||||
<p>I am re-installing Arch on the two laptops. I should have restored
|
||||
working configs in a day or two, and then I can start working on my
|
||||
backlog of photo and other projects.</p>
|
||||
|
||||
<p>Also, since my laptops are not supported under 10-RELEASE, I want to
|
||||
wait until 10.1 to see if my WLAN NICs are supported.</p>
|
||||
|
||||
<p>I still need to rebuild my server which has a failing drive (backed up
|
||||
the data already, just need time). I may go ahead and put 10-RELEASE
|
||||
on it since the NICs are fully supported.</p>
|
||||
|
||||
<p>d</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201404freebsd-challenge-final-for-now.html</guid><pubDate>Wed, 23 Apr 2014 03:04:17 GMT</pubDate></item><item><title>FreeBSD Challenge, Day 17</title><link>http://www.duckland.org/posts/201404freebsd-challenge-day-17.html</link><dc:creator>Don Harper</dc:creator><description><p>Today, I got my new laptop <strong><em>dragon</em></strong> up on wireless with a little <a href="http://www.amazon.com/gp/product/B003MTTJOY/ref=ox_sc_act_title_1?ie=UTF8&amp;psc=1&amp;smid=A2N1S6D8VVCNZ3">Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter</a>. Now, setup begins in ernest. I have disabled the on-board wireless NIC in the BIOS, and started to set up shop on it.</p>
|
||||
|
||||
<p>Next major task. Configure X. :)</p>
|
||||
|
||||
<p>d</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201404freebsd-challenge-day-17.html</guid><pubDate>Thu, 17 Apr 2014 09:04:52 GMT</pubDate></item><item><title>FreeBSD Challenge, Update</title><link>http://www.duckland.org/posts/201404freebsd-challenge-update.html</link><dc:creator>Don Harper</dc:creator><description><p>Hey,
|
||||
Sorry about the lack of updates over the last two weeks, but my job sent me out of country for two weeks, and I had no time to work on this project. Once I unbury myself, I will return to this with a vengence. I am planning on <em>upgrading</em> my two servers to FreeBSD10 from Linux. One will involve a major disk reworking as one of the disks is about dead.</p>
|
||||
|
||||
<p>Stay tuned, and thanks for coming back!</p>
|
||||
|
||||
<p>d</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201404freebsd-challenge-update.html</guid><pubDate>Tue, 15 Apr 2014 21:04:26 GMT</pubDate></item><item><title>FreeBSD Challenge, Day 16</title><link>http://www.duckland.org/posts/201403freebsd-challenge-day-16.html</link><dc:creator>Don Harper</dc:creator><description><p>Busy day with other things than play computers, but I found a little time. I have FreeBSD 10-STABLE loaded with the custom WiFi hack on my <a href="http://notebookplanet.blogspot.com/2013/04/hp-elitebook-revolve-810-g1-tablet.html">Elitebook Revolve 810</a>. I would have to let it try to boot off the USB stick. After multiple tries, it would finally run the installer. I tried ZFS a few times, but if I did not select MBR format for the partition table, then it would not boot (no OS error). With MBR and ZFS, it would fail to mount the ZFS filesystem with <strong>error 2</strong>. After trying the various fixes listed on-line, I gave up and went with MBR and UFS.</p>
|
||||
|
||||
<p>Once installed, it was fairly easy to get going. I have not configured it to take on the role of daily driver yet. If I have time tomorrow, then I will do it then, otherwise, it will have to wait a bit as I am getting on a plane this weekend, and I will not have room for the second computer. I will try to get it as far as I can with ssh.</p>
|
||||
|
||||
<p>The neat thing I found based on <a href="http://lists.freebsd.org/pipermail/freebsd-questions/2005-April/083317.html">this email post from 2005</a> and <a href="http://www.freebsdonline.com/content/view/829/524/">this blog post</a> is that I can have a fancy screensaver at the console! Pretty rad. :) Next steps will be improving the screen resolution in text-mode.</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201403freebsd-challenge-day-16.html</guid><pubDate>Sat, 29 Mar 2014 11:03:18 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (ansible)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/ansible.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Quick Ansible Tip</title><link>http://www.duckland.org/posts/quick-ansible-tip.html</link><dc:creator>Don Harper</dc:creator><description><div><p>This is a quick post to capture something seen. <a class="reference external" href="http://www.ansible.com">Ansibel</a> is a configuration management tool that I have been learning recently. More details in a future post. This is just to capture this idea:</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (ansible)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/ansible.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:29 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Quick Ansible Tip</title><link>http://www.duckland.org/posts/quick-ansible-tip.html</link><dc:creator>Don Harper</dc:creator><description><div><p>This is a quick post to capture something seen. <a class="reference external" href="http://www.ansible.com">Ansibel</a> is a configuration management tool that I have been learning recently. More details in a future post. This is just to capture this idea:</p>
|
||||
<blockquote>
|
||||
<p>From: Smith, Chris (Big Data)</p>
|
||||
<p>To: ansible</p>
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (arch)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/arch.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 09 Jun 2015 23:00:42 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Updates to AUR packages</title><link>http://www.duckland.org/posts/updates-to-aur-packages.html</link><dc:creator>Don Harper</dc:creator><description><div><p>So, with the <a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">migration of the AUR to version 4</a>, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (arch)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/arch.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Updates to AUR packages</title><link>http://www.duckland.org/posts/updates-to-aur-packages.html</link><dc:creator>Don Harper</dc:creator><description><div><p>So, with the <a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">migration of the AUR to version 4</a>, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.</p>
|
||||
<p>The list started out with:</p>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/xlhtml/">xlhtml</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/xlhtml/">xlhttp</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li>
|
||||
</ul>
|
||||
<p>In the end, I only kept <em>xlhtml</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p></div></description><category>arch</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/updates-to-aur-packages.html</guid><pubDate>Tue, 09 Jun 2015 22:19:48 GMT</pubDate></item><item><title>Perl, Modules, and Package Management</title><link>http://www.duckland.org/posts/201409perl-modules-and-package-management.html</link><dc:creator>Don Harper</dc:creator><description><p>So, even though I have been starting to <a href="http://www.duckland.org/2014/06/back-to-freebsd-maybe-back-to-the-challenge">work with</a> <a href="http://www.duckland.org/2014/07/freebsd-switch">FreeBSD</a> <a href="http://www.duckland.org/2014/08/one-step-closer">again</a>, I am still running <a href="http://www.archlinux.org/">ArchLinux</a> on my workstation.</p>
|
||||
<p>In the end, I only kept <em>xlhttp</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p></div></description><category>arch</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/updates-to-aur-packages.html</guid><pubDate>Tue, 09 Jun 2015 22:19:48 GMT</pubDate></item><item><title>Perl, Modules, and Package Management</title><link>http://www.duckland.org/posts/201409perl-modules-and-package-management.html</link><dc:creator>Don Harper</dc:creator><description><p>So, even though I have been starting to <a href="http://www.duckland.org/2014/06/back-to-freebsd-maybe-back-to-the-challenge">work with</a> <a href="http://www.duckland.org/2014/07/freebsd-switch">FreeBSD</a> <a href="http://www.duckland.org/2014/08/one-step-closer">again</a>, I am still running <a href="http://www.archlinux.org/">ArchLinux</a> on my workstation.</p>
|
||||
|
||||
<p>And I wanted to run a script I wrote a long time ago to support a <a href="http://www.donaldharper.com/">website</a> of mine, which I have not updated in a while. The way I would update the site is by doing some batch editing of photos, park them in a directory, and then run my script which pushes the photos to the web server, and then interfaces with the CMS software to schedule the posts and all is good.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (arch)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/arch.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Perl, Modules, and Package Management</title><link>http://www.duckland.org/posts/201409perl-modules-and-package-management.html</link><dc:creator>Don Harper</dc:creator><description><p>So, even though I have been starting to <a href="http://www.duckland.org/2014/06/back-to-freebsd-maybe-back-to-the-challenge">work with</a> <a href="http://www.duckland.org/2014/07/freebsd-switch">FreeBSD</a> <a href="http://www.duckland.org/2014/08/one-step-closer">again</a>, I am still running <a href="http://www.archlinux.org/">ArchLinux</a> on my workstation.</p>
|
||||
|
||||
<p>And I wanted to run a script I wrote a long time ago to support a <a href="http://www.donaldharper.com/">website</a> of mine, which I have not updated in a while. The way I would update the site is by doing some batch editing of photos, park them in a directory, and then run my script which pushes the photos to the web server, and then interfaces with the CMS software to schedule the posts and all is good.</p>
|
||||
|
||||
<p>Except the script is in perl, and it uses some modules which are not main-stream. While perl has the awesome <strong>cpan(1perl)</strong> command to fetch and install perl modules, I wanted it to be tied into <strong>pacman(8)</strong> . A quick trip to the <a href="http://aur.archlinux.org/">AUR</a> turned up the tools <a href="https://aur.archlinux.org/packages/perl-cpanplus-dist-arch-git/">cpan2aur</a> and <a href="https://aur.archlinux.org/packages/pkgbuild-introspection-git/">mkaurball</a> which made it pretty easy to package up and post the the AUR the 9 perl modules I needed to get my script going and keep track of things with pacman.</p>
|
||||
|
||||
<p>Yeah!</p></description><category>arch</category><category>sa</category><guid>http://www.duckland.org/posts/201409perl-modules-and-package-management.html</guid><pubDate>Thu, 18 Sep 2014 10:09:12 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (article)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/article.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Strayed from the path</title><link>http://www.duckland.org/posts/200703strayed-from-the-path.html</link><dc:creator>Don Harper</dc:creator><description><h1>Strayed from the path</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (article)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/article.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:33 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Strayed from the path</title><link>http://www.duckland.org/posts/200703strayed-from-the-path.html</link><dc:creator>Don Harper</dc:creator><description><h1>Strayed from the path</h1>
|
||||
|
||||
<p>In two ways…first, I have not updated the site in a while, and I<br>
|
||||
need to get back to updating it.</p>
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (article)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/article.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Strayed from the path</title><link>http://www.duckland.org/posts/200703strayed-from-the-path.html</link><dc:creator>Don Harper</dc:creator><description><h1>Strayed from the path</h1>
|
||||
|
||||
<p>In two ways…first, I have not updated the site in a while, and I<br>
|
||||
need to get back to updating it.</p>
|
||||
|
||||
<p>Second, because I have not been true to my cli roots. I have moved<br>
|
||||
from my default MUA of the last, oh, 8 years, and flirted with a GUI<br>
|
||||
MUA, <a href="http://www.mozillia.org">thunderbird</a>. It was pretty.<br>
|
||||
It was sexy. It let me see everything then and now. It tried to<br>
|
||||
seduce me into using a GUI for more…</p>
|
||||
|
||||
<p>But, then I got behind in my email, and it was taking longer and<br>
|
||||
longer to catch up. <em>sigh</em> Two days ago, I switched back, and now, I<br>
|
||||
am fully caught up on my inbox, and making headway on my actionable<br>
|
||||
items.</p></description><category>article</category><category>cli</category><guid>http://www.duckland.org/posts/200703strayed-from-the-path.html</guid><pubDate>Tue, 20 Mar 2007 00:03:00 GMT</pubDate></item><item><title>CLI Magic: Linux troubleshooting tools 101</title><link>http://www.duckland.org/posts/200703cli-magic-linux-troubleshooting-tools-101.html</link><dc:creator>Don Harper</dc:creator><description><h1>CLI Magic: Linux troubleshooting tools 101</h1>
|
||||
|
||||
<p>When something goes wrong with your Linux-based system, you can try to<br>
|
||||
diagnose it yourself with the many troubleshooting tools bundled with<br>
|
||||
the operating system. Knowing about these tools, and how to<br>
|
||||
effectively use them, can help you overcome many…</p>
|
||||
|
||||
<p><a href="http://rss.slashdot.org/~r/linux/KhmQ/~3/92841427/article.pl">Read<br>
|
||||
More…</a></p></description><category>article</category><category>cli</category><category>troubleshooting</category><guid>http://www.duckland.org/posts/200703cli-magic-linux-troubleshooting-tools-101.html</guid><pubDate>Wed, 14 Mar 2007 00:03:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (blogging)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/blogging.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:02 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Command-Line blog posts</title><link>http://www.duckland.org/posts/200805command-line-blog-posts.html</link><dc:creator>Don Harper</dc:creator><description><h1>Command-Line blog posts</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (blogging)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/blogging.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:32 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Command-Line blog posts</title><link>http://www.duckland.org/posts/200805command-line-blog-posts.html</link><dc:creator>Don Harper</dc:creator><description><h1>Command-Line blog posts</h1>
|
||||
|
||||
<p>So, it only seems fitting that I should talk about a command-line interface to posting on this blog. No, I do not mean using <a href="http://links.twibright.com"> links</a> or the like, but a way to post from the command line.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,44 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (blogging)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/blogging.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Command-Line blog posts</title><link>http://www.duckland.org/posts/200805command-line-blog-posts.html</link><dc:creator>Don Harper</dc:creator><description><h1>Command-Line blog posts</h1>
|
||||
|
||||
<p>So, it only seems fitting that I should talk about a command-line interface to posting on this blog. No, I do not mean using <a href="http://links.twibright.com"> links</a> or the like, but a way to post from the command line.</p>
|
||||
|
||||
<p>So, this post is being typed up in <a href="http://www.vim.org">vim</a> on my <a href="http://www.fedoraproject.org">Fedora 8</a> laptop. I will use this great little tool I found called <em>wppost</em> to post. <em>wwpost</em> is part of the <a href="http://www.perl.org">perl</a> module <a href="http://search.cpan.org/~leocharre/WordPress-Post-1.04">WordPress::Post</a>.</p>
|
||||
|
||||
<p>A brief summary of its commands are bellow:</p>
|
||||
|
||||
<pre><code> -c category, can be a list separated by commas, no spaces
|
||||
-t title
|
||||
-i description, main body of post, if it has a slash, it is interpreted as a file to slurp
|
||||
like a text or html file
|
||||
-D iso formatted date for post, can be left out
|
||||
-T if there are image attachments, place them as thumbnails only, with link, not just resized
|
||||
</code></pre>
|
||||
|
||||
<p>Some usage examples taken from the man page:</p>
|
||||
|
||||
<pre><code> Most basic of usage, (provided you have a ~/.wppost file)
|
||||
|
||||
wppost -t 'hi everyone' -i 'i just wanted to say hello'
|
||||
|
||||
If you want to specify two different categories:
|
||||
|
||||
wppost -t 'Another Apple' -i 'Apples are really great. I do love them so.' -c food,rant -D 20071231
|
||||
|
||||
If the body of the post is in a file
|
||||
|
||||
wppost -t 'title here' -i ./content.txt
|
||||
|
||||
If the content of the post is in a file and you want to use the file
|
||||
name as the title
|
||||
|
||||
wppost -i ./Title_Here.txt
|
||||
|
||||
If you want to have file attachments:
|
||||
|
||||
wppost -t 'recent photos' -i 'these are recent pictures i took' ./*jpg
|
||||
</code></pre>
|
||||
|
||||
<p>Pretty cool, huh? <img alt=":)" src="http://www.duckland.org/wp-includes/images/smilies/icon_smile.gif"></p>
|
||||
|
||||
<p>Peace out!</p></description><category>blogging</category><category>cli</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/200805command-line-blog-posts.html</guid><pubDate>Wed, 07 May 2008 23:05:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (bugtracker)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/bugtracker.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>cli bug/issue/task tracking system?</title><link>http://www.duckland.org/posts/200703cli-bugissuetask-tracking-system.html</link><dc:creator>Don Harper</dc:creator><description><h1>cli bug/issue/task tracking system?</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (bugtracker)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/bugtracker.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:32 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>cli bug/issue/task tracking system?</title><link>http://www.duckland.org/posts/200703cli-bugissuetask-tracking-system.html</link><dc:creator>Don Harper</dc:creator><description><h1>cli bug/issue/task tracking system?</h1>
|
||||
|
||||
<p>Fresh from freshmeat:</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (bugtracker)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/bugtracker.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>cli bug/issue/task tracking system?</title><link>http://www.duckland.org/posts/200703cli-bugissuetask-tracking-system.html</link><dc:creator>Don Harper</dc:creator><description><h1>cli bug/issue/task tracking system?</h1>
|
||||
|
||||
<p>Fresh from freshmeat:</p>
|
||||
|
||||
<p>http://www.ditrack.org/</p>
|
||||
|
||||
<pre><code>What is DITrack?
|
||||
|
||||
DITrack is a free, open source, lightweight, distributed issue (bug,
|
||||
defect, ticket) tracking system using a [Subversion](http://subversion.tigris.org/) repository instead
|
||||
of a backend database. It is written in Python and runs in UNIX
|
||||
environment (*BSD, Linux, MacOS X).
|
||||
|
||||
The project is inspired by the idea of [Subissue](http://subissue.tigris.org/) issue tracking system.
|
||||
|
||||
However, while Subissue aims in merely replacing the traditional
|
||||
database storage with Subversion repository, DITrack is a major
|
||||
rethought of the issue tracking system paradigm. The main difference
|
||||
is that instead of sticking to the centralized model (one database,
|
||||
one web interface, one mail integration machinery), DITrack treats
|
||||
underlying Subversion storage as a versioned distributed file system
|
||||
which enables benefits of truly distributed operation mode.
|
||||
</code></pre></description><category>bugtracker</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200703cli-bugissuetask-tracking-system.html</guid><pubDate>Mon, 05 Mar 2007 23:03:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (calendar)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/calendar.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Google’s Calendar on the Command Line!</title><link>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</link><dc:creator>Don Harper</dc:creator><description><h1>Google’s Calendar on the Command Line!</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (calendar)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/calendar.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Google’s Calendar on the Command Line!</title><link>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</link><dc:creator>Don Harper</dc:creator><description><h1>Google’s Calendar on the Command Line!</h1>
|
||||
|
||||
<p>You love your comfortable command line, but all the cool kids are playing in the Web 2.0 web space, and you want to stay true to your roots? Want a Web 2.0 calendar, but still love (or need) command line access?</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,46 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (calendar)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/calendar.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Google’s Calendar on the Command Line!</title><link>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</link><dc:creator>Don Harper</dc:creator><description><h1>Google’s Calendar on the Command Line!</h1>
|
||||
|
||||
<p>You love your comfortable command line, but all the cool kids are playing in the Web 2.0 web space, and you want to stay true to your roots? Want a Web 2.0 calendar, but still love (or need) command line access?</p>
|
||||
|
||||
<p>I just found the answer: <a href="http://code.google.com/p/gcalcli/">gcalcli</a>. This little tool will let you list your appointments, get an list your events, get an agenda, print ascii rendering of your calendar for the week or month. You can even add events to the calendar.</p>
|
||||
|
||||
<p>I like the fact that I can easly get at my gcalendar from anywhere (even my cell phone), and now I can do it from my shell.</p>
|
||||
|
||||
<p>The only downsides so far? The code has not been updated since October of 2007, and the speed can be a little slow sometimes. I am going to play with it for a while to see if I like it enough to replace remind.</p></description><category>calendar</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</guid><pubDate>Mon, 08 Dec 2008 23:12:00 GMT</pubDate></item><item><title>Alerting with Remind</title><link>http://www.duckland.org/posts/200811alerting-with-remind.html</link><dc:creator>Don Harper</dc:creator><description><h1>Alerting with Remind</h1>
|
||||
|
||||
<p>Back in my <a href="http://www.duckland.org/archives/2008/08/05/so-you-need-a-calendar/">article on Remind</a>, I talked about the simple power of remind to power your scheduling needs. That is all fine and good, but how to you get it to tell you when you have an event?</p>
|
||||
|
||||
<p>In its simplest form, when you run _remind _ from the command line, it will not only display the current day’s reminders, but it will run in the background and wake up to tell you about other reminders on the screen while you work.</p>
|
||||
|
||||
<p>This is fine, but what happens if you do not have that termial open in front of you? Well, I have two ways I approach that issue.</p>
|
||||
|
||||
<p>First, when I run under X (<a href="http://www.duckland.org/archives/2006/12/31/what-do-i-use/">yeah, yeah, I know, but I use cli tools under X</a>), I have this added to my .xinitrc:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>remind -z -k’xmessage -buttons okay:0 -default okay %s&amp;’ ~/.reminders &amp;</p>
|
||||
</blockquote>
|
||||
|
||||
<p>Let’s look at the command line:</p>
|
||||
|
||||
<ul>
|
||||
<li>The <strong>-z</strong> tells remind to wake up every 5 minutes and reread the .reminders file.</li>
|
||||
<li>The <strong>-k</strong> tells remind to run a command instead of simply printing the reminder to the screen</li>
|
||||
<li><strong>xmessage -buttons okay:0 -default okay %s&amp;</strong> is the secret sauce of this. This is the command run when there is an alarm. This command line calls xmessage (which is on pretty much any box with X) to display the alert. You could use zenity or kmessage, or winpopup, or whatever. This is what puts the alert in your face when you are not looking at the screen. The <strong>&amp;</strong> is needed to make this command non-blocking by putting it in the background.</li>
|
||||
</ul>
|
||||
|
||||
<p>That all good if you are setting at your computer. But, what do you do when <em>gasp</em> you leave to computer? This is a little tricker. For this, my solution needs two things: 1) a computer which is always on and 2) a way to send messages to your cell phone/pager (sms or email). I have a cron job which checks to make sure remind is running, and restarts it if it is not (I use a hosting provider which does not like long running processes). The command line is similar to the one for X, but with a difference:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>TZ=CDT6CST ~/bin/remind -z -k”echo %s</p>
|
||||
</blockquote></description><category>calendar</category><category>cli</category><category>remind</category><category>software</category><guid>http://www.duckland.org/posts/200811alerting-with-remind.html</guid><pubDate>Wed, 19 Nov 2008 23:11:00 GMT</pubDate></item><item><title>So you need a calendar?</title><link>http://www.duckland.org/posts/200808so-you-need-a-calendar.html</link><dc:creator>Don Harper</dc:creator><description><h1>So you need a calendar?</h1>
|
||||
|
||||
<p>So, one of the things we have been using computers for is to keep track of our lives. And this means a scheduling or calendaring tool. Some tools out there do this fine, and some do it very well.</p>
|
||||
|
||||
<p>I have to keep track of a lot of appointments. From conference calls for work, to each member of the family’s schedules, to random, but highly important reminders. Most calendaring programs out there will let you set up a reoccurring event by day of the month, or the date. But, what if you need to do something two days before the end of the month, every month? Or, you need to do something every full moon, but not on <a href="http://en.wikipedia.org/wiki/Blue_moon">the blue moon</a>? Or, you have a standing meeting with your boss every other Monday morning, execpt when Monday is a holiday, then the meeting shifts to Tuesday? Oh, and you want something that you can run over an ssh session, while on your smart phone, or you friend’s smart phone?</p>
|
||||
|
||||
<p>The answer is simple: <a href="http://www.roaringpenguin.com/products/remind/">remind</a>. remind can do this, and more. Need to set something up by the Hebrew Calendar? Check. Want your calendar to run a shell command for you on a holiday, specific day of the month, or phase of the moon? Check.</p>
|
||||
|
||||
<p>Most modern Linux distrobutions include remind nowdays, as it is so darn usefull. In addition, it runs just fine under Solaris, and the BSDs, including MacOS X. If fact, over at <a href="http://www.43Folders.com">43Folders</a>, they have a whole section their wiki for <a href="http://wiki.43folders.com/index.php/Remind">remind</a>. The wiki has many tips and tricks on how to use remind to its fullest.</p>
|
||||
|
||||
<p>In my next post, I will share some tips on how I get remind to remind me of events.</p></description><category>calendar</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200808so-you-need-a-calendar.html</guid><pubDate>Mon, 04 Aug 2008 23:08:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (cli)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/cli.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:02 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>An Update to 'Window Managers?'</title><link>http://www.duckland.org/posts/201112an-update-to-window-managers.html</link><dc:creator>Don Harper</dc:creator><description><h1>An Update to 'Window Managers?'</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (cli)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/cli.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:31 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>An Update to 'Window Managers?'</title><link>http://www.duckland.org/posts/201112an-update-to-window-managers.html</link><dc:creator>Don Harper</dc:creator><description><h1>An Update to 'Window Managers?'</h1>
|
||||
|
||||
<p>Way back, I wrote a quick blurb on <a href="http://www.duckland.org/index.php/2006/07/31/window-managers/">Windows Managers</a> for running under X.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,238 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (cli)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/cli.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>An Update to 'Window Managers?'</title><link>http://www.duckland.org/posts/201112an-update-to-window-managers.html</link><dc:creator>Don Harper</dc:creator><description><h1>An Update to 'Window Managers?'</h1>
|
||||
|
||||
<p>Way back, I wrote a quick blurb on <a href="http://www.duckland.org/index.php/2006/07/31/window-managers/">Windows Managers</a> for running under X.</p>
|
||||
|
||||
<p>Well, a while back I switched to <a href="http://www.ubuntu.com">Ubuntu</a> for my OS of choice. As you may know, the fine folks at Ubuntu switch the default window manager to something called <strong>Unity</strong>, which cause a stir. I tried it for a while, but decided that it was too heavy, and to mouse-centric.</p>
|
||||
|
||||
<p>So, what to do? Well, I went back to my old standby <a href="http://wmfs.info">wmfs</a>, Window Manager From Scratch. This is a modern WM with systray support, full Ximirama and Xrandr support, tiles, and is mainly driven from the keyboard. Life is good.</p>
|
||||
|
||||
<p>To install (same steps as for Fedora, RHEL, or Ubuntu), download the source, and install the needed development libraries for: <strong>X11, Xft, freetype, Xinerama, Xrandr, and Imlib2</strong>. I used the native packages from the OS. Then, simple do a</p>
|
||||
|
||||
<pre><code>make
|
||||
sudo make install
|
||||
</code></pre>
|
||||
|
||||
<p>(you do build software as a normal user, right?)</p>
|
||||
|
||||
<p>This will install all the needed bits and configs into the correct place. Under Ubuntu 11.10, there was an entry from the login screen to let me chose wmfs.</p>
|
||||
|
||||
<p>Config is handled in <em>$HOME/.config/wmfs/wmfsrc</em> which you can copy from <em>/etc/xdg/wmfs/wmfsrc</em>.</p>
|
||||
|
||||
<p>The <a href="http://wmfs.info">wmfs website</a> has very nice documentation as well as likes to some people’s configs with screen shots.</p>
|
||||
|
||||
<p>It runs very fast, and very lean:</p>
|
||||
|
||||
<pre><code> Private + Shared = RAM used Program
|
||||
3.9 MiB + 310.0 KiB = 4.2 MiB wmfs
|
||||
</code></pre>
|
||||
|
||||
<p>Check it out, I am sure you will like what you see.</p></description><category>cli</category><category>software</category><category>windowmanager</category><guid>http://www.duckland.org/posts/201112an-update-to-window-managers.html</guid><pubDate>Thu, 22 Dec 2011 23:12:00 GMT</pubDate></item><item><title>cmus project restarted</title><link>http://www.duckland.org/posts/201002cmus-project-restarted.html</link><dc:creator>Don Harper</dc:creator><description><h1>cmus project restarted</h1>
|
||||
|
||||
<p>Just a quick note. The cmus project has been restarted recently, and they are working on a new release. This one should have better integration with things like PulseAudio.</p>
|
||||
|
||||
<p>Good news!</p>
|
||||
|
||||
<p>Go check out <a href="http://cmus.sourceforge.net/">http://cmus.sourceforge.net/</a> for more details.</p></description><category>cli</category><category>music</category><category>software</category><guid>http://www.duckland.org/posts/201002cmus-project-restarted.html</guid><pubDate>Sat, 27 Feb 2010 23:02:00 GMT</pubDate></item><item><title>Making life easy over flaky links</title><link>http://www.duckland.org/posts/200912making-life-easy-over-flaky-links.html</link><dc:creator>Don Harper</dc:creator><description><h1>Making life easy over flaky links</h1>
|
||||
|
||||
<p>I tend to work over VPN, which we know can be flaky at times, Since I work on server, I spend a lot of time ssh’ed into hosts. I was getting tired of the lost time having to restart what I was working on every time the VPN dropped (which could be as much as every 15 minutes on a bad day). While I already used screen to handle the lack of terminals (Alas, I am forced to use a Windows laptop to VPN in with), I thought there could be an easier way to do this.</p>
|
||||
|
||||
<p>The way I tend to work is that I ssh into a jump server, fire up screen, then ssh into the hosts I need to work on, and fire up screen on those hosts.</p>
|
||||
|
||||
<p>Now, this is nice, but it can get a bit tiring to do it all over
|
||||
again. So, I found a tool called
|
||||
<a href="http://www.harding.motd.ca/autossh/">autossh</a> which will automatically restart your ssh session if it drops for any reason but a graceful disconnect. (Well, there are others, but this is basically it). Combine this with your ssh-agent, and you can re-attach with easy. I also use <a href="http://www.funtoo.org/Keychain">keychain</a> to help manage my ssh-agent when I log in.</p>
|
||||
|
||||
<p>Now that the connection will come back, I need a way to re-attach to my screen session, or if there is not one, to start one for me. To do<br>
|
||||
that, I have this is my .bashrc file:</p>
|
||||
|
||||
<pre><code>test -x $STY &amp;&amp; screen -xR
|
||||
</code></pre>
|
||||
|
||||
<p>This will check to make sure that we are not already inside a screen session on the local host (<em>test -x $STY</em>), and if we are not, then either attach to an existing screen session or start a new one (<em>screen -xR</em>)</p>
|
||||
|
||||
<p>I have define this function in my .bashrc to spawn a new ssh connection in a separate screen window:</p>
|
||||
|
||||
<pre><code>function ss ()
|
||||
{
|
||||
screen -t $1 ssh $*
|
||||
}
|
||||
</code></pre>
|
||||
|
||||
<p>Easy stuff</p></description><category>cli</category><category>software</category><category>ssh</category><category>telecommute</category><guid>http://www.duckland.org/posts/200912making-life-easy-over-flaky-links.html</guid><pubDate>Mon, 28 Dec 2009 23:12:00 GMT</pubDate></item><item><title>Search your email!</title><link>http://www.duckland.org/posts/200905search-your-email.html</link><dc:creator>Don Harper</dc:creator><description><h1>Search your email!</h1>
|
||||
|
||||
<p>One of the features that most of the pretty GUI mailers offer you is the ability to search your email. While this is not a feature I use regularly, it is one which when you need it, you really need it. I have used <a href="http://grepmail.sf.net">grepmail</a> in the past, but it slow for me (it scans the mail files every time) and the big thing for me is that is only supports <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> files, and I use <a href="http://en.wikipedia.org/wiki/Maildir">maildir</a> since I use <a href="http://software.complete.org/software/projects/show/offlineimap">offlineimap</a>.</p>
|
||||
|
||||
<p>I recently found <a href="http://www.rpcurnow.force9.co.uk/mairix/">mairix</a>. While I have not been using it long, so far I am very impressed with it. It uses an index to speed up the search process, and it smartly adds only new or changed files to the index. The first indexing run was only a few seconds on my archive of almost 15,000 mail messages. I have it scheduled to update the index every 15 minutes, and I never notice the load this will put on the system.</p>
|
||||
|
||||
<p>To integrated mairix with mutt, I wrote a quick little script to search from within (or without) mutt:</p>
|
||||
|
||||
<pre><code>#!/bin/bash
|
||||
#===============================================================================
|
||||
#
|
||||
# FILE: mailsearch.sh
|
||||
#
|
||||
# USAGE: ./mailsearch.sh
|
||||
#
|
||||
# DESCRIPTION: search mail stuff
|
||||
#
|
||||
# OPTIONS: ---
|
||||
# REQUIREMENTS: ---
|
||||
# BUGS: ---
|
||||
# NOTES: ---
|
||||
# AUTHOR: Don Harper (), duck@duckland.org
|
||||
# COMPANY: Don Harper
|
||||
# VERSION: 1.0
|
||||
# CREATED: 05/25/2009 07:03:30 PM CST
|
||||
# REVISION: ---
|
||||
#===============================================================================
|
||||
|
||||
rm -rf $HOME/Maildir/mfolder
|
||||
echo " t::word
|
||||
Match word in the To: header.
|
||||
c::word
|
||||
Match word in the Cc: header.
|
||||
f::word
|
||||
Match word in the From: header.
|
||||
s::word
|
||||
Match word in the Subject: header.
|
||||
m::word
|
||||
Match word in the Message-ID: header.
|
||||
b::word
|
||||
Match word in the message body.
|
||||
d::[start-datespec]--[end-datespec]
|
||||
Match messages with Date: headers lying in the specific range.
|
||||
z::[low-size]--[high-size]
|
||||
Match messages whose size lies in the specified range.
|
||||
n::word
|
||||
Match word occurring as the name of an attachment in the mes-
|
||||
sage. Since attachment names are usually long, this option
|
||||
F::flags
|
||||
Match messages with particular flag settings.
|
||||
s meaning seen,
|
||||
r meaning replied
|
||||
f meaning flags
|
||||
prefixed by a - to negate its sense.
|
||||
|
||||
The a:: search pattern is an abbreviation for tcf:
|
||||
|
||||
Match words
|
||||
The word argument to the search strings can take various forms.
|
||||
~word
|
||||
Match messages not containing the word.
|
||||
word1,word2
|
||||
This matches if both the words are matched in the specified message part.
|
||||
word1/word2
|
||||
This matches if either of the words are matched in the specified message part.
|
||||
substring=
|
||||
Match any word containing substring as a substring
|
||||
substring=N
|
||||
Match any word containing substring, allowing up to N errors in
|
||||
the match. For example, if N is 1, a single error is allowed,
|
||||
where an error can be
|
||||
* a missing letter
|
||||
* an extra letter
|
||||
* a different letter.
|
||||
^substring=
|
||||
Match any word containing substring as a substring, with the
|
||||
requirement that substring occurs at the beginning of the
|
||||
matched word.
|
||||
d::start-end
|
||||
Specify both start and end explicitly
|
||||
"
|
||||
echo -n "Enter your search string: "
|
||||
read string
|
||||
mairix $string
|
||||
mutt -f=mfolder
|
||||
rm -rf $HOME/Maildir/mfolder
|
||||
</code></pre>
|
||||
|
||||
<p>Then, I bound this to “S'’ from within mutt:</p>
|
||||
|
||||
<pre><code> macro index,pager S "!mailsearch\n"
|
||||
</code></pre>
|
||||
|
||||
<p>This will give me a reminder of the search command, run the search, and then give me the search results in a new mutt session.</p></description><category>cli</category><category>email</category><category>search</category><category>software</category><guid>http://www.duckland.org/posts/200905search-your-email.html</guid><pubDate>Mon, 25 May 2009 23:05:00 GMT</pubDate></item><item><title>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</title><link>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</link><dc:creator>Don Harper</dc:creator><description><h1>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</h1>
|
||||
|
||||
<p>One of the things that has annoyed me about Fedora has been the decision to switch over to using <a href="http://www.gnome.org/projects/NetworkManager/">NetworkManager</a> to manage all network connections.</p>
|
||||
|
||||
<p>Now, on the service this has a lot of advantages. A lot of work has gone into it, and it just works for a vast majority of the installations out there. They have made it so the move from wired to wireless and back can be done without the user doing anything. They have also seamlessly tied in Dial-Up Networking if you still need a modem or use a wireless modem. They even have two-click access to your VPN which is pretty cool.</p>
|
||||
|
||||
<p>All these are things which are very good for Linux users. The biggest drawback to all this? The need for a user-space program to manage the non-hardwired connections. Which means that in order to be able to have any network running besides the good old twisted-pair copper, you have to have a little applet running as you, and it has to have a systray somewhere to display. Which means you have to be a) logged into the system and b) you have to be running a window manager which supports having a system tray. Now, Fedora gives you lots of choices for the second part now days. You have <a href="http://www.gnome.org">Gnome</a>, <a href="http://www.kde.org">KDE</a>, <a href="http://www.xfce.org">XFCE</a>, and <a href="http://lxde.sf.net">LXDE</a>. All are perfectly usable window managers. But, they still require you to be logged in to X. And, <a href="http://www.duckland.org/archives/2006/07/31/window-managers/">I do not use any of them</a>.</p>
|
||||
|
||||
<p>So, what is a cli-loving Fedora user to do? Well, there is this great program called <a href="http://www.tummy.com/Community/software/wifiroamd/">wifiroamd</a>. It will handle the same basic tasks that NetworkManager handles. It will automatically configure your wifi interface and connect to the wifi networks or the locate hardwired NIC if it cannot. You can configure it to run scripts per connection, so for example, you can change your firewall rules for different networks (shields down at home or the office, but up full at the coffee house), or you could bring up your VPN connection when you start using a given wireless network.</p>
|
||||
|
||||
<p>One tip I picked up from the author was that if you have multiple AP’s in range, an you want to select once AP over the other, is under the <em>/etc/wifiroamd/connections</em> directory, simply link the AP info you do not want to the one you want:</p>
|
||||
|
||||
<pre><code>ln essid:my_home_ap essid:bad_ap
|
||||
</code></pre>
|
||||
|
||||
<p>where <strong>essid:my_home_ap</strong> is your AP with the keys and other information you want, and <strong>essid:bad_ap</strong> is the one you do not want to connect to. My neighbors have some very powerful AP’s which have a habit of showing up high than mine, but I have no problem with them now.</p>
|
||||
|
||||
<p>I have been using this set up under Fedora since FC6 days, but when I upgraded to F10, this stopped working. wifiroamd would try to scan for an AP, and not find anything. The change, it turns out, is that when I switched from using the iw3945 driver to the native iwl3945, wifiroamd could no longer see the wireless NIC due to the wpa_supplicant process, but NetworkManager could. Simply stopping and disabling wp_supplicant and NetworkManager, and wifiroamd started working again! I am a happy camper again.</p></description><category>cli</category><category>network</category><category>software</category><category>wireless</category><guid>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</guid><pubDate>Fri, 17 Apr 2009 23:04:00 GMT</pubDate></item><item><title>C*MUS - A music manager for the terminal</title><link>http://www.duckland.org/posts/200901cmus-a-music-manager-for-the-terminal.html</link><dc:creator>Don Harper</dc:creator><description><h1>C*MUS - A music manager for the terminal</h1>
|
||||
|
||||
<p><a href="http://cmus.sf.net/">C*mus</a> is an advanced music juke-box for *inx and Window operating systems. It can handle the modern audio file formats: FLAC, Ogg/Vorbis, MP3 , Wav, AAC , MP4, .mod, .s3m, .mpc, mpp, .mp+, .wma, and .wv . It also can deal with many different types of audio output systems: ALSA, libao, ARTS, OSS, Sun, and WaveOut on Windows. The typical features of an electronic juke-box are supported like play lists and random/shuffle play, in addition to easily switching between playing from the library, an artist, or a single album with a simple keystroke.</p>
|
||||
|
||||
<p>C*Mus is pretty painless to install from source. The website lists the build dependencies with links. There is no RPM .SPEC file on the web site, but you can use this <a href="http://www.duckland.org/files/cmus.spec">one</a>.</p>
|
||||
|
||||
<h2>En-queuing</h2>
|
||||
|
||||
<p>One of the features I really enjoy and use is the en-queue function. I tend to use this two ways. The first is when I am listening to a song, and want to listen to similar songs, I go find them in my library, and I queue them up with a simple keystroke. A dynamic play-list, if you will. Then, I can simply create a more permanent playlist from this temporary list.</p>
|
||||
|
||||
<p>The second way is using the helper program cmus-remote to be able to queue up tracks from a different terminal, or from a script. My podcatcher program (bashpodder) will queue up the podcasts it just downloaded for me, so I can listen to them first thing in the morning.</p>
|
||||
|
||||
<h2>Keystroke and CLI</h2>
|
||||
|
||||
<p>C<em>Mus is developed to be driven via keystrokes. The default mapping is set up to be comfortable for those use are familiar with VI but, it is very easy to remap the keys to make it more comfortable. C</em>Mus will automatically save the current settings on a clean exit. The default mappings for selecting and updating views, moving through songs forward and backwards in small and large increments, adding to play list and queue lists.</p>
|
||||
|
||||
<h2>Filters</h2>
|
||||
|
||||
<p>One of the very powerful features is simple filters. You can set a filter for your 80’s Metal Bands or your Classical music. Many of the common tags can be used for filter on. Things like filename, artist, album, title, genre, discnumber, tracknumber, date (year), duration (seconds), and tag.</p></description><category>cli</category><category>music</category><category>software</category><guid>http://www.duckland.org/posts/200901cmus-a-music-manager-for-the-terminal.html</guid><pubDate>Mon, 12 Jan 2009 23:01:00 GMT</pubDate></item><item><title>Google’s Calendar on the Command Line!</title><link>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</link><dc:creator>Don Harper</dc:creator><description><h1>Google’s Calendar on the Command Line!</h1>
|
||||
|
||||
<p>You love your comfortable command line, but all the cool kids are playing in the Web 2.0 web space, and you want to stay true to your roots? Want a Web 2.0 calendar, but still love (or need) command line access?</p>
|
||||
|
||||
<p>I just found the answer: <a href="http://code.google.com/p/gcalcli/">gcalcli</a>. This little tool will let you list your appointments, get an list your events, get an agenda, print ascii rendering of your calendar for the week or month. You can even add events to the calendar.</p>
|
||||
|
||||
<p>I like the fact that I can easly get at my gcalendar from anywhere (even my cell phone), and now I can do it from my shell.</p>
|
||||
|
||||
<p>The only downsides so far? The code has not been updated since October of 2007, and the speed can be a little slow sometimes. I am going to play with it for a while to see if I like it enough to replace remind.</p></description><category>calendar</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200812googles-calendar-on-the-command-line.html</guid><pubDate>Mon, 08 Dec 2008 23:12:00 GMT</pubDate></item><item><title>Alerting with Remind</title><link>http://www.duckland.org/posts/200811alerting-with-remind.html</link><dc:creator>Don Harper</dc:creator><description><h1>Alerting with Remind</h1>
|
||||
|
||||
<p>Back in my <a href="http://www.duckland.org/archives/2008/08/05/so-you-need-a-calendar/">article on Remind</a>, I talked about the simple power of remind to power your scheduling needs. That is all fine and good, but how to you get it to tell you when you have an event?</p>
|
||||
|
||||
<p>In its simplest form, when you run _remind _ from the command line, it will not only display the current day’s reminders, but it will run in the background and wake up to tell you about other reminders on the screen while you work.</p>
|
||||
|
||||
<p>This is fine, but what happens if you do not have that termial open in front of you? Well, I have two ways I approach that issue.</p>
|
||||
|
||||
<p>First, when I run under X (<a href="http://www.duckland.org/archives/2006/12/31/what-do-i-use/">yeah, yeah, I know, but I use cli tools under X</a>), I have this added to my .xinitrc:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>remind -z -k’xmessage -buttons okay:0 -default okay %s&amp;’ ~/.reminders &amp;</p>
|
||||
</blockquote>
|
||||
|
||||
<p>Let’s look at the command line:</p>
|
||||
|
||||
<ul>
|
||||
<li>The <strong>-z</strong> tells remind to wake up every 5 minutes and reread the .reminders file.</li>
|
||||
<li>The <strong>-k</strong> tells remind to run a command instead of simply printing the reminder to the screen</li>
|
||||
<li><strong>xmessage -buttons okay:0 -default okay %s&amp;</strong> is the secret sauce of this. This is the command run when there is an alarm. This command line calls xmessage (which is on pretty much any box with X) to display the alert. You could use zenity or kmessage, or winpopup, or whatever. This is what puts the alert in your face when you are not looking at the screen. The <strong>&amp;</strong> is needed to make this command non-blocking by putting it in the background.</li>
|
||||
</ul>
|
||||
|
||||
<p>That all good if you are setting at your computer. But, what do you do when <em>gasp</em> you leave to computer? This is a little tricker. For this, my solution needs two things: 1) a computer which is always on and 2) a way to send messages to your cell phone/pager (sms or email). I have a cron job which checks to make sure remind is running, and restarts it if it is not (I use a hosting provider which does not like long running processes). The command line is similar to the one for X, but with a difference:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>TZ=CDT6CST ~/bin/remind -z -k”echo %s</p>
|
||||
</blockquote></description><category>calendar</category><category>cli</category><category>remind</category><category>software</category><guid>http://www.duckland.org/posts/200811alerting-with-remind.html</guid><pubDate>Wed, 19 Nov 2008 23:11:00 GMT</pubDate></item><item><title>Pizza Party - Command Line Pizza ordering program</title><link>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pizza Party - Command Line Pizza ordering program</h1>
|
||||
|
||||
<p>Want a pizza, and do not want to fire up that pesky GUI? We have the solution for you: <a href="http://www.beigerecords.com/cory/pizza_party/">Pizza Party - Command Line Pizza ordering program</a></p>
|
||||
|
||||
<p>Currently, only from Dominos, so if you do not have one near you who accepts on-line orders (<em>sigh</em>, mine does not), then you are out of luck.</p></description><category>cli</category><category>lifeimitatingmovies</category><category>software</category><guid>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</guid><pubDate>Mon, 25 Aug 2008 23:08:00 GMT</pubDate></item><item><title>So you need a calendar?</title><link>http://www.duckland.org/posts/200808so-you-need-a-calendar.html</link><dc:creator>Don Harper</dc:creator><description><h1>So you need a calendar?</h1>
|
||||
|
||||
<p>So, one of the things we have been using computers for is to keep track of our lives. And this means a scheduling or calendaring tool. Some tools out there do this fine, and some do it very well.</p>
|
||||
|
||||
<p>I have to keep track of a lot of appointments. From conference calls for work, to each member of the family’s schedules, to random, but highly important reminders. Most calendaring programs out there will let you set up a reoccurring event by day of the month, or the date. But, what if you need to do something two days before the end of the month, every month? Or, you need to do something every full moon, but not on <a href="http://en.wikipedia.org/wiki/Blue_moon">the blue moon</a>? Or, you have a standing meeting with your boss every other Monday morning, execpt when Monday is a holiday, then the meeting shifts to Tuesday? Oh, and you want something that you can run over an ssh session, while on your smart phone, or you friend’s smart phone?</p>
|
||||
|
||||
<p>The answer is simple: <a href="http://www.roaringpenguin.com/products/remind/">remind</a>. remind can do this, and more. Need to set something up by the Hebrew Calendar? Check. Want your calendar to run a shell command for you on a holiday, specific day of the month, or phase of the moon? Check.</p>
|
||||
|
||||
<p>Most modern Linux distrobutions include remind nowdays, as it is so darn usefull. In addition, it runs just fine under Solaris, and the BSDs, including MacOS X. If fact, over at <a href="http://www.43Folders.com">43Folders</a>, they have a whole section their wiki for <a href="http://wiki.43folders.com/index.php/Remind">remind</a>. The wiki has many tips and tricks on how to use remind to its fullest.</p>
|
||||
|
||||
<p>In my next post, I will share some tips on how I get remind to remind me of events.</p></description><category>calendar</category><category>cli</category><category>software</category><guid>http://www.duckland.org/posts/200808so-you-need-a-calendar.html</guid><pubDate>Mon, 04 Aug 2008 23:08:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (email)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/email.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Search your email!</title><link>http://www.duckland.org/posts/200905search-your-email.html</link><dc:creator>Don Harper</dc:creator><description><h1>Search your email!</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (email)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/email.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:33 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Search your email!</title><link>http://www.duckland.org/posts/200905search-your-email.html</link><dc:creator>Don Harper</dc:creator><description><h1>Search your email!</h1>
|
||||
|
||||
<p>One of the features that most of the pretty GUI mailers offer you is the ability to search your email. While this is not a feature I use regularly, it is one which when you need it, you really need it. I have used <a href="http://grepmail.sf.net">grepmail</a> in the past, but it slow for me (it scans the mail files every time) and the big thing for me is that is only supports <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> files, and I use <a href="http://en.wikipedia.org/wiki/Maildir">maildir</a> since I use <a href="http://software.complete.org/software/projects/show/offlineimap">offlineimap</a>.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,95 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (email)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/email.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Search your email!</title><link>http://www.duckland.org/posts/200905search-your-email.html</link><dc:creator>Don Harper</dc:creator><description><h1>Search your email!</h1>
|
||||
|
||||
<p>One of the features that most of the pretty GUI mailers offer you is the ability to search your email. While this is not a feature I use regularly, it is one which when you need it, you really need it. I have used <a href="http://grepmail.sf.net">grepmail</a> in the past, but it slow for me (it scans the mail files every time) and the big thing for me is that is only supports <a href="http://en.wikipedia.org/wiki/Mbox">mbox</a> files, and I use <a href="http://en.wikipedia.org/wiki/Maildir">maildir</a> since I use <a href="http://software.complete.org/software/projects/show/offlineimap">offlineimap</a>.</p>
|
||||
|
||||
<p>I recently found <a href="http://www.rpcurnow.force9.co.uk/mairix/">mairix</a>. While I have not been using it long, so far I am very impressed with it. It uses an index to speed up the search process, and it smartly adds only new or changed files to the index. The first indexing run was only a few seconds on my archive of almost 15,000 mail messages. I have it scheduled to update the index every 15 minutes, and I never notice the load this will put on the system.</p>
|
||||
|
||||
<p>To integrated mairix with mutt, I wrote a quick little script to search from within (or without) mutt:</p>
|
||||
|
||||
<pre><code>#!/bin/bash
|
||||
#===============================================================================
|
||||
#
|
||||
# FILE: mailsearch.sh
|
||||
#
|
||||
# USAGE: ./mailsearch.sh
|
||||
#
|
||||
# DESCRIPTION: search mail stuff
|
||||
#
|
||||
# OPTIONS: ---
|
||||
# REQUIREMENTS: ---
|
||||
# BUGS: ---
|
||||
# NOTES: ---
|
||||
# AUTHOR: Don Harper (), duck@duckland.org
|
||||
# COMPANY: Don Harper
|
||||
# VERSION: 1.0
|
||||
# CREATED: 05/25/2009 07:03:30 PM CST
|
||||
# REVISION: ---
|
||||
#===============================================================================
|
||||
|
||||
rm -rf $HOME/Maildir/mfolder
|
||||
echo " t::word
|
||||
Match word in the To: header.
|
||||
c::word
|
||||
Match word in the Cc: header.
|
||||
f::word
|
||||
Match word in the From: header.
|
||||
s::word
|
||||
Match word in the Subject: header.
|
||||
m::word
|
||||
Match word in the Message-ID: header.
|
||||
b::word
|
||||
Match word in the message body.
|
||||
d::[start-datespec]--[end-datespec]
|
||||
Match messages with Date: headers lying in the specific range.
|
||||
z::[low-size]--[high-size]
|
||||
Match messages whose size lies in the specified range.
|
||||
n::word
|
||||
Match word occurring as the name of an attachment in the mes-
|
||||
sage. Since attachment names are usually long, this option
|
||||
F::flags
|
||||
Match messages with particular flag settings.
|
||||
s meaning seen,
|
||||
r meaning replied
|
||||
f meaning flags
|
||||
prefixed by a - to negate its sense.
|
||||
|
||||
The a:: search pattern is an abbreviation for tcf:
|
||||
|
||||
Match words
|
||||
The word argument to the search strings can take various forms.
|
||||
~word
|
||||
Match messages not containing the word.
|
||||
word1,word2
|
||||
This matches if both the words are matched in the specified message part.
|
||||
word1/word2
|
||||
This matches if either of the words are matched in the specified message part.
|
||||
substring=
|
||||
Match any word containing substring as a substring
|
||||
substring=N
|
||||
Match any word containing substring, allowing up to N errors in
|
||||
the match. For example, if N is 1, a single error is allowed,
|
||||
where an error can be
|
||||
* a missing letter
|
||||
* an extra letter
|
||||
* a different letter.
|
||||
^substring=
|
||||
Match any word containing substring as a substring, with the
|
||||
requirement that substring occurs at the beginning of the
|
||||
matched word.
|
||||
d::start-end
|
||||
Specify both start and end explicitly
|
||||
"
|
||||
echo -n "Enter your search string: "
|
||||
read string
|
||||
mairix $string
|
||||
mutt -f=mfolder
|
||||
rm -rf $HOME/Maildir/mfolder
|
||||
</code></pre>
|
||||
|
||||
<p>Then, I bound this to “S'’ from within mutt:</p>
|
||||
|
||||
<pre><code> macro index,pager S "!mailsearch\n"
|
||||
</code></pre>
|
||||
|
||||
<p>This will give me a reminder of the search command, run the search, and then give me the search results in a new mutt session.</p></description><category>cli</category><category>email</category><category>search</category><category>software</category><guid>http://www.duckland.org/posts/200905search-your-email.html</guid><pubDate>Mon, 25 May 2009 23:05:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (FreeBSD)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/freebsd.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description><div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (FreeBSD)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/freebsd.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description><div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p>
|
||||
<p>I would try to debug the issues, but that means learning a whole new set of tools, and I will not have time for a while. Next week, I am in week long meetings which will run late every day, and then I have to finish writing and present a training class the last week of the month. The hour or two I can spare will be far better spent for me by backup, re-installing <a class="reference external" href="http://www.archlinux.org">ArchLinux</a> than by starting to learn the tools. Yes, a bit of a cop-out, but I need the machines to do what I need to do. I will keep the servers FreeBSD, however, as it works great there.</p>
|
||||
<p>I will revisit the issue of FreeBSD on the laptops when I either get new kit, or support for my models gets better.</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>linux</category><category>sa</category><guid>http://www.duckland.org/posts/30daychallengefreebsdsa.html</guid><pubDate>Fri, 06 Feb 2015 12:43:32 GMT</pubDate></item><item><title>FreeBSD Challenge II, Day 30 Update</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As the month draws to a close, I am further into the switch. I have rebuilt my main laptop to <a class="reference external" href="http://www.pcbsd.org">PCBSD</a>. I am still setting a few things up, but it seems to be going well.</p>
|
||||
<p>Two things I need to fix:</p>
|
||||
|
|
|
|||
|
|
@ -1,235 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# " lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Posts about FreeBSD | duckland.org news</title>
|
||||
|
||||
|
||||
<link href="../assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml">
|
||||
|
||||
<link rel="canonical" href="http://www.duckland.org/categories/freebsd.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--[if lt IE 9]><script src="../assets/js/html5.js"></script><![endif]-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS for tag FreeBSD" href="freebsd.xml">
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
|
||||
|
||||
<!-- Menubar -->
|
||||
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<!-- This keeps the margins nice -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="http://www.duckland.org/">
|
||||
|
||||
<span id="blog-title">duckland.org news</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.navbar-header -->
|
||||
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li>
|
||||
<a href="../index.html">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../stories/about.html">About me</a>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">My Sites<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="http://www.donaldharper.com">My Photo Blog</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://p365.donaldharper.com">My Attempt at a Project 365</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.duckland.org">My Personal and Tech Blog</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Social Sites<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="https://twitter.com/duckunix">My Twitter</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://plus.google.com/+DonHarper/">My Google+</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.linkedin.com/in/donaldharper/">My LinkedIN</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../archive.html">Archive</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">Tags</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../rss.xml">RSS</a>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<!-- End of Menubar -->
|
||||
|
||||
<div class="container" id="content">
|
||||
<div class="body-content">
|
||||
<!--Body content-->
|
||||
<div class="row">
|
||||
|
||||
|
||||
<article class="tagpage">
|
||||
<header>
|
||||
<h1>Posts about FreeBSD</h1>
|
||||
<div class="metadata">
|
||||
<p class="feedlink"><a href="freebsd.xml" type="application/rss+xml">RSS feed</a></p>
|
||||
</div>
|
||||
</header>
|
||||
<ul class="postlist">
|
||||
<li>
|
||||
<a href="../posts/freebsd-challenge-ii-day-30-update.html" class="listtitle">FreeBSD Challenge II, Day 30 Update</a> <time class="listdate" datetime="2015-01-30T15:38:32-06:00" title="2015-01-30">2015-01-30</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/freebsd-challenge-ii-day-14.html" class="listtitle">FreeBSD Challenge II, Day 14</a> <time class="listdate" datetime="2015-01-14T23:51:48-06:00" title="2015-01-14">2015-01-14</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201408one-step-closer.html" class="listtitle">One step closer</a> <time class="listdate" datetime="2014-08-05T20:08:14-05:00" title="2014-08-05">2014-08-05</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201407freebsd-switch.html" class="listtitle">FreeBSD Switch</a> <time class="listdate" datetime="2014-07-24T04:07:42-05:00" title="2014-07-24">2014-07-24</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201406back-to-freebsd-maybe-back-to-the-challenge.html" class="listtitle">Back to FreeBSD (maybe back to the challenge)</a> <time class="listdate" datetime="2014-06-30T15:06:09-05:00" title="2014-06-30">2014-06-30</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201404freebsd-challenge-final-for-now.html" class="listtitle">FreeBSD Challenge final (for now)</a> <time class="listdate" datetime="2014-04-22T22:04:17-05:00" title="2014-04-22">2014-04-22</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201404freebsd-challenge-day-17.html" class="listtitle">FreeBSD Challenge, Day 17</a> <time class="listdate" datetime="2014-04-17T04:04:52-05:00" title="2014-04-17">2014-04-17</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201404freebsd-challenge-update.html" class="listtitle">FreeBSD Challenge, Update</a> <time class="listdate" datetime="2014-04-15T16:04:26-05:00" title="2014-04-15">2014-04-15</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-16.html" class="listtitle">FreeBSD Challenge, Day 16</a> <time class="listdate" datetime="2014-03-29T05:03:18-06:00" title="2014-03-29">2014-03-29</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-12-15.html" class="listtitle">FreeBSD Challenge, Day 12-15</a> <time class="listdate" datetime="2014-03-27T05:03:20-06:00" title="2014-03-27">2014-03-27</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-9-11.html" class="listtitle">FreeBSD Challenge, Day 9-11</a> <time class="listdate" datetime="2014-03-22T17:03:03-06:00" title="2014-03-22">2014-03-22</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-8.html" class="listtitle">FreeBSD Challenge, Day 8</a> <time class="listdate" datetime="2014-03-19T18:03:12-06:00" title="2014-03-19">2014-03-19</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-7.html" class="listtitle">FreeBSD Challenge, Day 7</a> <time class="listdate" datetime="2014-03-18T04:03:04-06:00" title="2014-03-18">2014-03-18</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-4-6.html" class="listtitle">FreeBSD Challenge, Day 4-6</a> <time class="listdate" datetime="2014-03-16T18:03:20-06:00" title="2014-03-16">2014-03-16</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-3.html" class="listtitle">FreeBSD Challenge, Day 3</a> <time class="listdate" datetime="2014-03-14T05:03:44-06:00" title="2014-03-14">2014-03-14</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403freebsd-challenge-day-2.html" class="listtitle">FreeBSD Challenge, Day 2</a> <time class="listdate" datetime="2014-03-13T20:03:36-06:00" title="2014-03-13">2014-03-13</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201403back-to-freebsd-aka-day-1.html" class="listtitle">Back to FreeBSD aka Day 1</a> <time class="listdate" datetime="2014-03-12T04:03:05-06:00" title="2014-03-12">2014-03-12</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201401tale-of-install-2.html" class="listtitle">Tale of Installs, Part 2</a> <time class="listdate" datetime="2014-01-08T17:01:00-06:00" title="2014-01-08">2014-01-08</time>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../posts/201311tale-of-install.html" class="listtitle">Tale of Installs</a> <time class="listdate" datetime="2013-11-21T17:11:00-06:00" title="2013-11-21">2013-11-21</time>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<!--End of body content-->
|
||||
|
||||
<footer>
|
||||
Contents © 2015 <a href="mailto:duck@duckland.org">Don Harper</a> - Powered by <a href="http://getnikola.com" rel="nofollow">Nikola</a>
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="../assets/js/all-nocdn.js"></script>
|
||||
|
||||
<!-- Social buttons -->
|
||||
<div id="addthisbox" class="addthis_toolbox addthis_peekaboo_style addthis_default_style addthis_label_style addthis_32x32_style">
|
||||
<a class="addthis_button_more">Share</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="addthis_button_facebook"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_google_plusone_share"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_linkedin"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_twitter"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f7088a56bb93798"></script>
|
||||
<!-- End of social buttons -->
|
||||
|
||||
|
||||
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<!-- fancy dates -->
|
||||
<script>
|
||||
moment.locale("");
|
||||
fancydates(1, "YYYY-MM-DD");
|
||||
</script>
|
||||
<!-- end fancy dates -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (FreeBSD)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/freebsd.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>FreeBSD Challenge II, Day 30 Update</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As the month draws to a close, I am further into the switch. I have rebuilt my main laptop to <a class="reference external" href="http://www.pcbsd.org">PCBSD</a>. I am still setting a few things up, but it seems to be going well.</p>
|
||||
<p>Two things I need to fix:</p>
|
||||
<ul class="simple">
|
||||
<li><strong>Skype</strong>: While there is not a native client, there are lots of folks who report success with the Linux client. I will need to do some research.</li>
|
||||
<li><strong>Nikola</strong>: The software I use for my blogs. It throws a python error when I run it, so I cannot update things. Again, I think I just need to do some more research.</li>
|
||||
</ul>
|
||||
<p>Now, the fun of the weekend is here, so I am off!</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/freebsd-challenge-ii-day-30-update.html</guid><pubDate>Fri, 30 Jan 2015 21:38:32 GMT</pubDate></item><item><title>FreeBSD Challenge II, Day 14</title><link>http://www.duckland.org/posts/freebsd-challenge-ii-day-14.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Today is day 14 (pushing day 15 at this hour), and things are looking very good. Today, I got word from the <a class="reference external" href="http://www.pcbsd.org">PCBSD Project</a> that a patch which I submitted to fix the <a class="reference external" href="http://www.duckland.org/posts/201407freebsd-switch.html">issue with the WiFi NIC</a>. Well, I got notice today that <a class="reference external" href="https://bugs.freenas.org/issues/7330">PCBSD Bug #7330</a> has been resolved, and I tested on the R810. It works!</p>
|
||||
<p>Now, I just need to get a few things configured here first, like snapshots, backups, and porting my SDCARD reading scripts over to FreeBSD, and I should be good.</p>
|
||||
<p>Then, fun things like configure &amp; use IPv6. I have two FreeBSD VSP servers to test with...it will be fun!</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/freebsd-challenge-ii-day-14.html</guid><pubDate>Thu, 15 Jan 2015 05:51:48 GMT</pubDate></item><item><title>One step closer</title><link>http://www.duckland.org/posts/201408one-step-closer.html</link><dc:creator>Don Harper</dc:creator><description><p>So, I have upgraded my servers at the house to FreeBSD, and have set up the basic functions needed on them. So, now, I am down to only my main laptop running Linux. Oh, and the work machine which runs Windows 8.1.</p>
|
||||
|
||||
<p>So far, not much different than running Arch for the server. But, the magic will be when I start working with jails...</p></description><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201408one-step-closer.html</guid><pubDate>Wed, 06 Aug 2014 01:08:14 GMT</pubDate></item><item><title>FreeBSD Switch</title><link>http://www.duckland.org/posts/201407freebsd-switch.html</link><dc:creator>Don Harper</dc:creator><description><p>I just noticed I have not updated this in a few weeks. Sorry about that.</p>
|
||||
|
||||
<p>I have my R810 running PCBSD 10.0.2, and I just patched and configured WiFi on it. I need to figure out how to submit a patch to see if I can get the Centrino supported in the main-line kernel so I do not have to compile a custom kernel just for that.</p>
|
||||
|
||||
<p>I almost have this working where I can switch to it full time. I need to deal with getting my <strong>killer</strong> apps installed and working. I had most (all?) of them working before, so I know I can do it again.</p>
|
||||
|
||||
<p>Currently, FireFox is not working for me for some reason, but Chromium is, so I will use that for now.</p>
|
||||
|
||||
<p>I have started a wiki to keep some notes for myself on this (what SA has not done that?), so I hope this process will be easier this time.</p>
|
||||
|
||||
<p>peace.</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201407freebsd-switch.html</guid><pubDate>Thu, 24 Jul 2014 09:07:42 GMT</pubDate></item><item><title>Back to FreeBSD (maybe back to the challenge)</title><link>http://www.duckland.org/posts/201406back-to-freebsd-maybe-back-to-the-challenge.html</link><dc:creator>Don Harper</dc:creator><description><p>So, I had a bit of time over the weekend, and spent it doing a bit of hacking around.</p>
|
||||
|
||||
<p>I had re-installed <a href="http://www.pcbsd.org">PC-BSD</a> on my HP EliteBook R810. I used 10.0.2, and everything but the wireless looked good. I decided to try to get the wireless working with the internal WNIC. <a href="http://www.duckland.org/2014/04/freebsd-challenge,-day-17">Previously</a>, I used an external dongle to get WiFi working, but it was a pain to remember to pull it out, so I decided to try again.</p>
|
||||
|
||||
<p>I updated the base OS to 10-CURRENT, and then 'patched' the source tree using the info I found <a href="https://forums.freebsd.org/viewtopic.php?t=35467">in this forum post</a>. Once I rebooted, and used the PC-BSD tools to enable the device, things worked! Since this was only last night, I need to test it a bit to make sure it stands up to load.</p>
|
||||
|
||||
<p>There is a <a href="https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=169433">PR</a>, and support <strong>has</strong> been added to HEAD. I am going try to write a patch to get this added before then. I will need to see if I can figure out how to do that. :)</p>
|
||||
|
||||
<p>Since my work laptop uses the same WNIC, I am one step closer to being able to install it on the work machine.</p>
|
||||
|
||||
<p>I am going to see about trying to use <strong><em>dragon</em></strong> as my non-work daily driver and shake out what I need to do, so I may be restarting the <a href="http://www.duckland.org/tag/30DayChallenge">30 Day Challenge</a> again, but a lot of that depends on how work goes.</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201406back-to-freebsd-maybe-back-to-the-challenge.html</guid><pubDate>Mon, 30 Jun 2014 20:06:09 GMT</pubDate></item><item><title>FreeBSD Challenge final (for now)</title><link>http://www.duckland.org/posts/201404freebsd-challenge-final-for-now.html</link><dc:creator>Don Harper</dc:creator><description><p>Well,
|
||||
Something broke on the main computer. The speed when trying to run
|
||||
a few terminal apps, firefox, and thunderbird at the same time was
|
||||
appalling. I never had that sort of performance issues under
|
||||
ArchLinix on the same kit. I would love to take the time to debug it,
|
||||
but I am almost four weeks behind in dealing with my photos, including
|
||||
those from my trip to England, and I am getting ready to do run some
|
||||
training courses for work which will suck up all my free time.</p>
|
||||
|
||||
<p>I am re-installing Arch on the two laptops. I should have restored
|
||||
working configs in a day or two, and then I can start working on my
|
||||
backlog of photo and other projects.</p>
|
||||
|
||||
<p>Also, since my laptops are not supported under 10-RELEASE, I want to
|
||||
wait until 10.1 to see if my WLAN NICs are supported.</p>
|
||||
|
||||
<p>I still need to rebuild my server which has a failing drive (backed up
|
||||
the data already, just need time). I may go ahead and put 10-RELEASE
|
||||
on it since the NICs are fully supported.</p>
|
||||
|
||||
<p>d</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201404freebsd-challenge-final-for-now.html</guid><pubDate>Wed, 23 Apr 2014 03:04:17 GMT</pubDate></item><item><title>FreeBSD Challenge, Day 17</title><link>http://www.duckland.org/posts/201404freebsd-challenge-day-17.html</link><dc:creator>Don Harper</dc:creator><description><p>Today, I got my new laptop <strong><em>dragon</em></strong> up on wireless with a little <a href="http://www.amazon.com/gp/product/B003MTTJOY/ref=ox_sc_act_title_1?ie=UTF8&amp;psc=1&amp;smid=A2N1S6D8VVCNZ3">Edimax EW-7811Un 150 Mbps Wireless 11n Nano Size USB Adapter</a>. Now, setup begins in ernest. I have disabled the on-board wireless NIC in the BIOS, and started to set up shop on it.</p>
|
||||
|
||||
<p>Next major task. Configure X. :)</p>
|
||||
|
||||
<p>d</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201404freebsd-challenge-day-17.html</guid><pubDate>Thu, 17 Apr 2014 09:04:52 GMT</pubDate></item><item><title>FreeBSD Challenge, Update</title><link>http://www.duckland.org/posts/201404freebsd-challenge-update.html</link><dc:creator>Don Harper</dc:creator><description><p>Hey,
|
||||
Sorry about the lack of updates over the last two weeks, but my job sent me out of country for two weeks, and I had no time to work on this project. Once I unbury myself, I will return to this with a vengence. I am planning on <em>upgrading</em> my two servers to FreeBSD10 from Linux. One will involve a major disk reworking as one of the disks is about dead.</p>
|
||||
|
||||
<p>Stay tuned, and thanks for coming back!</p>
|
||||
|
||||
<p>d</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201404freebsd-challenge-update.html</guid><pubDate>Tue, 15 Apr 2014 21:04:26 GMT</pubDate></item><item><title>FreeBSD Challenge, Day 16</title><link>http://www.duckland.org/posts/201403freebsd-challenge-day-16.html</link><dc:creator>Don Harper</dc:creator><description><p>Busy day with other things than play computers, but I found a little time. I have FreeBSD 10-STABLE loaded with the custom WiFi hack on my <a href="http://notebookplanet.blogspot.com/2013/04/hp-elitebook-revolve-810-g1-tablet.html">Elitebook Revolve 810</a>. I would have to let it try to boot off the USB stick. After multiple tries, it would finally run the installer. I tried ZFS a few times, but if I did not select MBR format for the partition table, then it would not boot (no OS error). With MBR and ZFS, it would fail to mount the ZFS filesystem with <strong>error 2</strong>. After trying the various fixes listed on-line, I gave up and went with MBR and UFS.</p>
|
||||
|
||||
<p>Once installed, it was fairly easy to get going. I have not configured it to take on the role of daily driver yet. If I have time tomorrow, then I will do it then, otherwise, it will have to wait a bit as I am getting on a plane this weekend, and I will not have room for the second computer. I will try to get it as far as I can with ssh.</p>
|
||||
|
||||
<p>The neat thing I found based on <a href="http://lists.freebsd.org/pipermail/freebsd-questions/2005-April/083317.html">this email post from 2005</a> and <a href="http://www.freebsdonline.com/content/view/829/524/">this blog post</a> is that I can have a fancy screensaver at the console! Pretty rad. :) Next steps will be improving the screen resolution in text-mode.</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201403freebsd-challenge-day-16.html</guid><pubDate>Sat, 29 Mar 2014 11:03:18 GMT</pubDate></item><item><title>FreeBSD Challenge, Day 12-15</title><link>http://www.duckland.org/posts/201403freebsd-challenge-day-12-15.html</link><dc:creator>Don Harper</dc:creator><description><p>Half-way point.</p>
|
||||
|
||||
<p>Much progress made in the world of a bootable USB stick to get my new-fangled WiFi chip working. I was able to make a new image, wrote it to a new USB stick, booted it, and was able to successfully scan for my Access Points! W00t!</p>
|
||||
|
||||
<p>Tomorrow, I will take the second laptop (HP EliteBook Revolve 810), and load it with 10-Release (slightly patched). I do not expect everything to work (it has a touch screen), but enough should work that I can start using it for the daily driver. Having real wifi will help a lot.</p>
|
||||
|
||||
<p>My updates have been a bit slow due to craziness at work. I am taking a trip, and the departure date has been reset many times. I am on my 5th set of airline tickets. With things settled, I need to decide if I am going to bring the second laptop (the R180) with me or not. Weight issues and all.</p>
|
||||
|
||||
<p>How do I think this is going? Well, the two major issues I thought I would have going in, WiFi and Photo editing/management, are for the most part solved. Can I use this for my daily non-work driver? Yes. Can I use it for my work daily driver? Maybe. I have set up a few jails on the FreeNAS box (btsync, dns/dhcp, <a href="http://taskwarrior.org/docs/server_setup.html">taskwarrior's taskd</a>, and Plex), and they are mainly working well together (the Plex will not play nice with btsync, yet), but I need to figure out a bit more, and set it up as a target to backup my laptop's ZFS snapshots.</p>
|
||||
|
||||
<p>Next steps are to find those performance monitoring tools/docs, and to look at something like puppet/chef/salt.</p>
|
||||
|
||||
<p>Thanks for reading....</p></description><category>30DayChallenge</category><category>FreeBSD</category><category>sa</category><guid>http://www.duckland.org/posts/201403freebsd-challenge-day-12-15.html</guid><pubDate>Thu, 27 Mar 2014 11:03:20 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (games)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/games.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Pacman for Console</title><link>http://www.duckland.org/posts/200706pacman-for-console.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pacman for Console</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (games)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/games.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Pacman for Console</title><link>http://www.duckland.org/posts/200706pacman-for-console.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pacman for Console</h1>
|
||||
|
||||
<p>You are tired of hearing your GUI friends talking about their games? Tired of playing simple <a href="http://en.wikipedia.org/wiki/Colossal_Cave_Adventure">Adventure</a>? Why not try <a href="http://doctormike.googlepages.com/pacman.html">Pacman for Console</a>?</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (games)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/games.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Pacman for Console</title><link>http://www.duckland.org/posts/200706pacman-for-console.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pacman for Console</h1>
|
||||
|
||||
<p>You are tired of hearing your GUI friends talking about their games? Tired of playing simple <a href="http://en.wikipedia.org/wiki/Colossal_Cave_Adventure">Adventure</a>? Why not try <a href="http://doctormike.googlepages.com/pacman.html">Pacman for Console</a>?</p>
|
||||
|
||||
<p>The game play is just like the old quarter game you played long ago, and the best part, you can develop your own maps! Check out the screen shot:<br>
|
||||
<img alt="" src="http://doctormike.googlepages.com/pacman-1-1.png/pacman-1-1-full.jpg"></p></description><category>cli</category><category>games</category><category>software</category><guid>http://www.duckland.org/posts/200706pacman-for-console.html</guid><pubDate>Mon, 25 Jun 2007 23:06:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (imap)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/imap.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Disconnected IMAP</title><link>http://www.duckland.org/posts/200611disconnected-imap.html</link><dc:creator>Don Harper</dc:creator><description><h1>Disconnected IMAP</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (imap)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/imap.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Disconnected IMAP</title><link>http://www.duckland.org/posts/200611disconnected-imap.html</link><dc:creator>Don Harper</dc:creator><description><h1>Disconnected IMAP</h1>
|
||||
|
||||
<p>So, in an effort to get to the office earlier, I decided to try to<br>
|
||||
figure out how to do disconnected IMAP. Well, the route I took was to<br>
|
||||
|
|
|
|||
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (imap)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/imap.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Disconnected IMAP</title><link>http://www.duckland.org/posts/200611disconnected-imap.html</link><dc:creator>Don Harper</dc:creator><description><h1>Disconnected IMAP</h1>
|
||||
|
||||
<p>So, in an effort to get to the office earlier, I decided to try to<br>
|
||||
figure out how to do disconnected IMAP. Well, the route I took was to<br>
|
||||
use a tool called &lt;a<br>
|
||||
<a href="http://mailsync.sourceforge.net/">mailsync</a> which is a cool<br>
|
||||
tool to allow you to sync IAMP mailboxes. So, my tack is to sync it<br>
|
||||
down to my laptop, and read the email on the bus. I sync email down<br>
|
||||
in the morning, and then in the evening, sync again. So far, so good.</p>
|
||||
|
||||
<p>More updates later…</p></description><category>cli</category><category>imap</category><category>software</category><guid>http://www.duckland.org/posts/200611disconnected-imap.html</guid><pubDate>Sun, 26 Nov 2006 23:11:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (lifeimitatingmovies)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/lifeimitatingmovies.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Pizza Party - Command Line Pizza ordering program</title><link>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pizza Party - Command Line Pizza ordering program</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (lifeimitatingmovies)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/lifeimitatingmovies.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:32 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Pizza Party - Command Line Pizza ordering program</title><link>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pizza Party - Command Line Pizza ordering program</h1>
|
||||
|
||||
<p>Want a pizza, and do not want to fire up that pesky GUI? We have the solution for you: <a href="http://www.beigerecords.com/cory/pizza_party/">Pizza Party - Command Line Pizza ordering program</a></p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (lifeimitatingmovies)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/lifeimitatingmovies.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Pizza Party - Command Line Pizza ordering program</title><link>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</link><dc:creator>Don Harper</dc:creator><description><h1>Pizza Party - Command Line Pizza ordering program</h1>
|
||||
|
||||
<p>Want a pizza, and do not want to fire up that pesky GUI? We have the solution for you: <a href="http://www.beigerecords.com/cory/pizza_party/">Pizza Party - Command Line Pizza ordering program</a></p>
|
||||
|
||||
<p>Currently, only from Dominos, so if you do not have one near you who accepts on-line orders (<em>sigh</em>, mine does not), then you are out of luck.</p></description><category>cli</category><category>lifeimitatingmovies</category><category>software</category><guid>http://www.duckland.org/posts/200808pizza-party-command-line-pizza-ordering-program.html</guid><pubDate>Mon, 25 Aug 2008 23:08:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,21 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (linux)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/linux.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 09 Jun 2015 23:00:42 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Updates to AUR packages</title><link>http://www.duckland.org/posts/updates-to-aur-packages.html</link><dc:creator>Don Harper</dc:creator><description><div><p>So, with the <a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">migration of the AUR to version 4</a>, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (linux)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/linux.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Updates to AUR packages</title><link>http://www.duckland.org/posts/updates-to-aur-packages.html</link><dc:creator>Don Harper</dc:creator><description><div><p>So, with the <a class="reference external" href="https://wiki.archlinux.org/index.php/Arch_User_Repository#AUR_4">migration of the AUR to version 4</a>, I looked at the 12 AUR packages I had created over the years which I have not looked at in a long, long time.</p>
|
||||
<p>The list started out with:</p>
|
||||
<ul class="simple">
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li>
|
||||
<li><a class="reference external" href="html://aur.archlinux.org/packages/xlhtml/">xlhtml</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/chronicle/">chronicle</a> - A simple blog compiler written in Perl</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-basename/">perl-leocharre-basename</a> - Very basic filename string and path operations such as ext and paths</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-cli2/">perl-leocharre-cli2</a> - Some quick help for writing cli scripts</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-debug/">perl-leocharre-debug</a> - Debug subroutines</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-dir/">perl-leocharre-dir</a> - Subroutines for general directory needs</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-leocharre-strings/">perl-leocharre-strings</a> - Combines string procedures I frequently use</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-string-prettify/">perl-string-prettify</a> - Subroutines to cleanup a filename and or garble for human eyes</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-api/">perl-wordpress-api</a> - Management of Wordpress API objects. Inherits WordPress::XMLRPC and all its methods</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-cli/">perl-wordpress-cli</a> - Command line access to Wordpress</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/perl-wordpress-xmlrpc/">perl-wordpress-xmlrpc</a> - API to Wordpress XML RPC calls</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/usbmount/">usbmount</a> - Automatically mount and unmount USB mass storage devices</li>
|
||||
<li><a class="reference external" href="http://aur.archlinux.org/packages/xlhtml/">xlhttp</a> - An Excel spreadsheet (.xls) and PowerPoint (.ppt) to HTML converter</li>
|
||||
</ul>
|
||||
<p>In the end, I only kept <em>xlhtml</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p></div></description><category>arch</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/updates-to-aur-packages.html</guid><pubDate>Tue, 09 Jun 2015 22:19:48 GMT</pubDate></item><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description><div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p>
|
||||
<p>In the end, I only kept <em>xlhttp</em> as I do not use the others anymore. Surprisingly enough, only one of the packages (<em>chronicle</em>) was out of date. I disowned all the others, so if you want, you can pick them up.</p></div></description><category>arch</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/updates-to-aur-packages.html</guid><pubDate>Tue, 09 Jun 2015 22:19:48 GMT</pubDate></item><item><title>FreeBSD Challenge II, End Report</title><link>http://www.duckland.org/posts/30daychallengefreebsdsa.html</link><dc:creator>Don Harper</dc:creator><description><div><p>And, again, I hit something which is causing massive disk performance issues. That, and suspend/resume does not work on either laptop.</p>
|
||||
<p>I would try to debug the issues, but that means learning a whole new set of tools, and I will not have time for a while. Next week, I am in week long meetings which will run late every day, and then I have to finish writing and present a training class the last week of the month. The hour or two I can spare will be far better spent for me by backup, re-installing <a class="reference external" href="http://www.archlinux.org">ArchLinux</a> than by starting to learn the tools. Yes, a bit of a cop-out, but I need the machines to do what I need to do. I will keep the servers FreeBSD, however, as it works great there.</p>
|
||||
<p>I will revisit the issue of FreeBSD on the laptops when I either get new kit, or support for my models gets better.</p></div></description><category>30DayChallenge</category><category>FreeBSD</category><category>linux</category><category>sa</category><guid>http://www.duckland.org/posts/30daychallengefreebsdsa.html</guid><pubDate>Fri, 06 Feb 2015 12:43:32 GMT</pubDate></item><item><title>Command-Line blog posts</title><link>http://www.duckland.org/posts/200805command-line-blog-posts.html</link><dc:creator>Don Harper</dc:creator><description><h1>Command-Line blog posts</h1>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,44 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (linux)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/linux.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Command-Line blog posts</title><link>http://www.duckland.org/posts/200805command-line-blog-posts.html</link><dc:creator>Don Harper</dc:creator><description><h1>Command-Line blog posts</h1>
|
||||
|
||||
<p>So, it only seems fitting that I should talk about a command-line interface to posting on this blog. No, I do not mean using <a href="http://links.twibright.com"> links</a> or the like, but a way to post from the command line.</p>
|
||||
|
||||
<p>So, this post is being typed up in <a href="http://www.vim.org">vim</a> on my <a href="http://www.fedoraproject.org">Fedora 8</a> laptop. I will use this great little tool I found called <em>wppost</em> to post. <em>wwpost</em> is part of the <a href="http://www.perl.org">perl</a> module <a href="http://search.cpan.org/~leocharre/WordPress-Post-1.04">WordPress::Post</a>.</p>
|
||||
|
||||
<p>A brief summary of its commands are bellow:</p>
|
||||
|
||||
<pre><code> -c category, can be a list separated by commas, no spaces
|
||||
-t title
|
||||
-i description, main body of post, if it has a slash, it is interpreted as a file to slurp
|
||||
like a text or html file
|
||||
-D iso formatted date for post, can be left out
|
||||
-T if there are image attachments, place them as thumbnails only, with link, not just resized
|
||||
</code></pre>
|
||||
|
||||
<p>Some usage examples taken from the man page:</p>
|
||||
|
||||
<pre><code> Most basic of usage, (provided you have a ~/.wppost file)
|
||||
|
||||
wppost -t 'hi everyone' -i 'i just wanted to say hello'
|
||||
|
||||
If you want to specify two different categories:
|
||||
|
||||
wppost -t 'Another Apple' -i 'Apples are really great. I do love them so.' -c food,rant -D 20071231
|
||||
|
||||
If the body of the post is in a file
|
||||
|
||||
wppost -t 'title here' -i ./content.txt
|
||||
|
||||
If the content of the post is in a file and you want to use the file
|
||||
name as the title
|
||||
|
||||
wppost -i ./Title_Here.txt
|
||||
|
||||
If you want to have file attachments:
|
||||
|
||||
wppost -t 'recent photos' -i 'these are recent pictures i took' ./*jpg
|
||||
</code></pre>
|
||||
|
||||
<p>Pretty cool, huh? <img alt=":)" src="http://www.duckland.org/wp-includes/images/smilies/icon_smile.gif"></p>
|
||||
|
||||
<p>Peace out!</p></description><category>blogging</category><category>cli</category><category>linux</category><category>software</category><guid>http://www.duckland.org/posts/200805command-line-blog-posts.html</guid><pubDate>Wed, 07 May 2008 23:05:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (music)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/music.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>cmus project restarted</title><link>http://www.duckland.org/posts/201002cmus-project-restarted.html</link><dc:creator>Don Harper</dc:creator><description><h1>cmus project restarted</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (music)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/music.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>cmus project restarted</title><link>http://www.duckland.org/posts/201002cmus-project-restarted.html</link><dc:creator>Don Harper</dc:creator><description><h1>cmus project restarted</h1>
|
||||
|
||||
<p>Just a quick note. The cmus project has been restarted recently, and they are working on a new release. This one should have better integration with things like PulseAudio.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (music)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/music.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>cmus project restarted</title><link>http://www.duckland.org/posts/201002cmus-project-restarted.html</link><dc:creator>Don Harper</dc:creator><description><h1>cmus project restarted</h1>
|
||||
|
||||
<p>Just a quick note. The cmus project has been restarted recently, and they are working on a new release. This one should have better integration with things like PulseAudio.</p>
|
||||
|
||||
<p>Good news!</p>
|
||||
|
||||
<p>Go check out <a href="http://cmus.sourceforge.net/">http://cmus.sourceforge.net/</a> for more details.</p></description><category>cli</category><category>music</category><category>software</category><guid>http://www.duckland.org/posts/201002cmus-project-restarted.html</guid><pubDate>Sat, 27 Feb 2010 23:02:00 GMT</pubDate></item><item><title>C*MUS - A music manager for the terminal</title><link>http://www.duckland.org/posts/200901cmus-a-music-manager-for-the-terminal.html</link><dc:creator>Don Harper</dc:creator><description><h1>C*MUS - A music manager for the terminal</h1>
|
||||
|
||||
<p><a href="http://cmus.sf.net/">C*mus</a> is an advanced music juke-box for *inx and Window operating systems. It can handle the modern audio file formats: FLAC, Ogg/Vorbis, MP3 , Wav, AAC , MP4, .mod, .s3m, .mpc, mpp, .mp+, .wma, and .wv . It also can deal with many different types of audio output systems: ALSA, libao, ARTS, OSS, Sun, and WaveOut on Windows. The typical features of an electronic juke-box are supported like play lists and random/shuffle play, in addition to easily switching between playing from the library, an artist, or a single album with a simple keystroke.</p>
|
||||
|
||||
<p>C*Mus is pretty painless to install from source. The website lists the build dependencies with links. There is no RPM .SPEC file on the web site, but you can use this <a href="http://www.duckland.org/files/cmus.spec">one</a>.</p>
|
||||
|
||||
<h2>En-queuing</h2>
|
||||
|
||||
<p>One of the features I really enjoy and use is the en-queue function. I tend to use this two ways. The first is when I am listening to a song, and want to listen to similar songs, I go find them in my library, and I queue them up with a simple keystroke. A dynamic play-list, if you will. Then, I can simply create a more permanent playlist from this temporary list.</p>
|
||||
|
||||
<p>The second way is using the helper program cmus-remote to be able to queue up tracks from a different terminal, or from a script. My podcatcher program (bashpodder) will queue up the podcasts it just downloaded for me, so I can listen to them first thing in the morning.</p>
|
||||
|
||||
<h2>Keystroke and CLI</h2>
|
||||
|
||||
<p>C<em>Mus is developed to be driven via keystrokes. The default mapping is set up to be comfortable for those use are familiar with VI but, it is very easy to remap the keys to make it more comfortable. C</em>Mus will automatically save the current settings on a clean exit. The default mappings for selecting and updating views, moving through songs forward and backwards in small and large increments, adding to play list and queue lists.</p>
|
||||
|
||||
<h2>Filters</h2>
|
||||
|
||||
<p>One of the very powerful features is simple filters. You can set a filter for your 80’s Metal Bands or your Classical music. Many of the common tags can be used for filter on. Things like filename, artist, album, title, genre, discnumber, tracknumber, date (year), duration (seconds), and tag.</p></description><category>cli</category><category>music</category><category>software</category><guid>http://www.duckland.org/posts/200901cmus-a-music-manager-for-the-terminal.html</guid><pubDate>Mon, 12 Jan 2009 23:01:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (network)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/network.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</title><link>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</link><dc:creator>Don Harper</dc:creator><description><h1>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (network)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/network.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:31 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</title><link>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</link><dc:creator>Don Harper</dc:creator><description><h1>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</h1>
|
||||
|
||||
<p>One of the things that has annoyed me about Fedora has been the decision to switch over to using <a href="http://www.gnome.org/projects/NetworkManager/">NetworkManager</a> to manage all network connections.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (network)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/network.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</title><link>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</link><dc:creator>Don Harper</dc:creator><description><h1>wifiroamd, Intel PRO/Wireless 3945ABG, and Fedora</h1>
|
||||
|
||||
<p>One of the things that has annoyed me about Fedora has been the decision to switch over to using <a href="http://www.gnome.org/projects/NetworkManager/">NetworkManager</a> to manage all network connections.</p>
|
||||
|
||||
<p>Now, on the service this has a lot of advantages. A lot of work has gone into it, and it just works for a vast majority of the installations out there. They have made it so the move from wired to wireless and back can be done without the user doing anything. They have also seamlessly tied in Dial-Up Networking if you still need a modem or use a wireless modem. They even have two-click access to your VPN which is pretty cool.</p>
|
||||
|
||||
<p>All these are things which are very good for Linux users. The biggest drawback to all this? The need for a user-space program to manage the non-hardwired connections. Which means that in order to be able to have any network running besides the good old twisted-pair copper, you have to have a little applet running as you, and it has to have a systray somewhere to display. Which means you have to be a) logged into the system and b) you have to be running a window manager which supports having a system tray. Now, Fedora gives you lots of choices for the second part now days. You have <a href="http://www.gnome.org">Gnome</a>, <a href="http://www.kde.org">KDE</a>, <a href="http://www.xfce.org">XFCE</a>, and <a href="http://lxde.sf.net">LXDE</a>. All are perfectly usable window managers. But, they still require you to be logged in to X. And, <a href="http://www.duckland.org/archives/2006/07/31/window-managers/">I do not use any of them</a>.</p>
|
||||
|
||||
<p>So, what is a cli-loving Fedora user to do? Well, there is this great program called <a href="http://www.tummy.com/Community/software/wifiroamd/">wifiroamd</a>. It will handle the same basic tasks that NetworkManager handles. It will automatically configure your wifi interface and connect to the wifi networks or the locate hardwired NIC if it cannot. You can configure it to run scripts per connection, so for example, you can change your firewall rules for different networks (shields down at home or the office, but up full at the coffee house), or you could bring up your VPN connection when you start using a given wireless network.</p>
|
||||
|
||||
<p>One tip I picked up from the author was that if you have multiple AP’s in range, an you want to select once AP over the other, is under the <em>/etc/wifiroamd/connections</em> directory, simply link the AP info you do not want to the one you want:</p>
|
||||
|
||||
<pre><code>ln essid:my_home_ap essid:bad_ap
|
||||
</code></pre>
|
||||
|
||||
<p>where <strong>essid:my_home_ap</strong> is your AP with the keys and other information you want, and <strong>essid:bad_ap</strong> is the one you do not want to connect to. My neighbors have some very powerful AP’s which have a habit of showing up high than mine, but I have no problem with them now.</p>
|
||||
|
||||
<p>I have been using this set up under Fedora since FC6 days, but when I upgraded to F10, this stopped working. wifiroamd would try to scan for an AP, and not find anything. The change, it turns out, is that when I switched from using the iw3945 driver to the native iwl3945, wifiroamd could no longer see the wireless NIC due to the wpa_supplicant process, but NetworkManager could. Simply stopping and disabling wp_supplicant and NetworkManager, and wifiroamd started working again! I am a happy camper again.</p></description><category>cli</category><category>network</category><category>software</category><category>wireless</category><guid>http://www.duckland.org/posts/200904wifiroamd-intel-prowireless-3945abg-and-fedora.html</guid><pubDate>Fri, 17 Apr 2009 23:04:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (OpenBSD)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/openbsd.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Tale of Installs, Part 2</title><link>http://www.duckland.org/posts/201401tale-of-install-2.html</link><dc:creator>Don Harper</dc:creator><description><p>Well, as I <a href="http://www.duckland.org/archive/2013/11/Tale_of_Installs.html">mentioned</a>, I was trying to install OpenBSD. Well, my main workstation died, so I have to re-purposed the OpenBSD box as my workstation running <a href="http://www.archlinux.org">ArchLinux</a>. I am hunting for a suitable replacement.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (OpenBSD)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/openbsd.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:30 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Tale of Installs, Part 2</title><link>http://www.duckland.org/posts/201401tale-of-install-2.html</link><dc:creator>Don Harper</dc:creator><description><p>Well, as I <a href="http://www.duckland.org/archive/2013/11/Tale_of_Installs.html">mentioned</a>, I was trying to install OpenBSD. Well, my main workstation died, so I have to re-purposed the OpenBSD box as my workstation running <a href="http://www.archlinux.org">ArchLinux</a>. I am hunting for a suitable replacement.</p>
|
||||
|
||||
<p>Oh, and Happy New Year!</p></description><category>FreeBSD</category><category>OpenBSD</category><category>sa</category><category>Unix</category><guid>http://www.duckland.org/posts/201401tale-of-install-2.html</guid><pubDate>Wed, 08 Jan 2014 23:01:00 GMT</pubDate></item><item><title>Tale of Installs</title><link>http://www.duckland.org/posts/201311tale-of-install.html</link><dc:creator>Don Harper</dc:creator><description><p>So, I am starting a new personal project at the house, and I need a new server. As I was wanting to learn more about the *BSD, I started looking around at things like <a href="http://www.freebsd.org">FreeBSD</a>, <a href="http://www.netBSD.org">NetBSD</a>, or <a href="http://www.openbsd.org">OpenBSD</a>.</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (OpenBSD)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/openbsd.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Tale of Installs, Part 2</title><link>http://www.duckland.org/posts/201401tale-of-install-2.html</link><dc:creator>Don Harper</dc:creator><description><p>Well, as I <a href="http://www.duckland.org/archive/2013/11/Tale_of_Installs.html">mentioned</a>, I was trying to install OpenBSD. Well, my main workstation died, so I have to re-purposed the OpenBSD box as my workstation running <a href="http://www.archlinux.org">ArchLinux</a>. I am hunting for a suitable replacement.</p>
|
||||
|
||||
<p>Oh, and Happy New Year!</p></description><category>FreeBSD</category><category>OpenBSD</category><category>Unix</category><category>sa</category><guid>http://www.duckland.org/posts/201401tale-of-install-2.html</guid><pubDate>Wed, 08 Jan 2014 23:01:00 GMT</pubDate></item><item><title>Tale of Installs</title><link>http://www.duckland.org/posts/201311tale-of-install.html</link><dc:creator>Don Harper</dc:creator><description><p>So, I am starting a new personal project at the house, and I need a new server. As I was wanting to learn more about the *BSD, I started looking around at things like <a href="http://www.freebsd.org">FreeBSD</a>, <a href="http://www.netBSD.org">NetBSD</a>, or <a href="http://www.openbsd.org">OpenBSD</a>.</p>
|
||||
|
||||
<p>Since there was a security part, I started with <strong>OpenBSD</strong>. One of
|
||||
the things I noticed quickly while doing my research is that while
|
||||
there is a lot of documentation, they do not really seem to care about
|
||||
making it easy for new folks to join the project, nor are the trying
|
||||
to support new-fangled hardware, like <a href="http://openbsd.7691.n7.nabble.com/bootable-OpenBSD-USB-stick-from-windows-td223393.html">bootable USB
|
||||
drives</a>.
|
||||
This strikes me odd, as FreeBSD has <a href="http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html">instructions (see
|
||||
2.3.5)</a>.</p>
|
||||
|
||||
<p>Since I want to use pf, I am going to stay with OpenBSD for now.</p></description><category>FreeBSD</category><category>OpenBSD</category><category>Unix</category><category>sa</category><guid>http://www.duckland.org/posts/201311tale-of-install.html</guid><pubDate>Thu, 21 Nov 2013 23:11:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (personal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Another Year</title><link>http://www.duckland.org/posts/another-year.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Well, 2014 is drawing to a close. For the most part, it has been a good year with the family, but time is always in short supply. I am going to try to focus a bit more on my photography, as well as technology. We shall see.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (personal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:32 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Another Year</title><link>http://www.duckland.org/posts/another-year.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Well, 2014 is drawing to a close. For the most part, it has been a good year with the family, but time is always in short supply. I am going to try to focus a bit more on my photography, as well as technology. We shall see.</p>
|
||||
<p>Happy new year, and make it a safe one.</p></div></description><category>personal</category><guid>http://www.duckland.org/posts/another-year.html</guid><pubDate>Sat, 27 Dec 2014 00:33:36 GMT</pubDate></item><item><title>This posting thing is not working right now</title><link>http://www.duckland.org/posts/201412this-posting-thing-is-not-working-right-now.html</link><dc:creator>Don Harper</dc:creator><description><p>Wow...missed November by that much. It was a good month, but busy with the start of the holidays and all.</p>
|
||||
|
||||
<p>A bit of work in the background on some projects, but nothing to show for it. Still a new picture daily over at my <a href="http://www.donaldharper.com/">photo blog</a>, so go check it out.</p></description><category>personal</category><guid>http://www.duckland.org/posts/201412this-posting-thing-is-not-working-right-now.html</guid><pubDate>Mon, 01 Dec 2014 20:12:58 GMT</pubDate></item><item><title>Another Month Going Quick.</title><link>http://www.duckland.org/posts/201410another-month-going-quick.html</link><dc:creator>Don Harper</dc:creator><description><p>Well, October is almost over already. Time flies. This fall has been very busy with non-work things. Kids in sports (with me being the coach for one of them), kids doing scouts, kids doing Y Adventure program (with me in the leadership), kids in advance classes at school.</p>
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (personal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Another Year</title><link>http://www.duckland.org/posts/another-year.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Well, 2014 is drawing to a close. For the most part, it has been a good year with the family, but time is always in short supply. I am going to try to focus a bit more on my photography, as well as technology. We shall see.</p>
|
||||
<p>Happy new year, and make it a safe one.</p></div></description><category>personal</category><guid>http://www.duckland.org/posts/another-year.html</guid><pubDate>Sat, 27 Dec 2014 00:33:36 GMT</pubDate></item><item><title>This posting thing is not working right now</title><link>http://www.duckland.org/posts/201412this-posting-thing-is-not-working-right-now.html</link><dc:creator>Don Harper</dc:creator><description><p>Wow...missed November by that much. It was a good month, but busy with the start of the holidays and all.</p>
|
||||
|
||||
<p>A bit of work in the background on some projects, but nothing to show for it. Still a new picture daily over at my <a href="http://www.donaldharper.com/">photo blog</a>, so go check it out.</p></description><category>personal</category><guid>http://www.duckland.org/posts/201412this-posting-thing-is-not-working-right-now.html</guid><pubDate>Mon, 01 Dec 2014 20:12:58 GMT</pubDate></item><item><title>Another Month Going Quick.</title><link>http://www.duckland.org/posts/201410another-month-going-quick.html</link><dc:creator>Don Harper</dc:creator><description><p>Well, October is almost over already. Time flies. This fall has been very busy with non-work things. Kids in sports (with me being the coach for one of them), kids doing scouts, kids doing Y Adventure program (with me in the leadership), kids in advance classes at school.</p>
|
||||
|
||||
<p>Free time, how I miss you.</p></description><category>personal</category><guid>http://www.duckland.org/posts/201410another-month-going-quick.html</guid><pubDate>Thu, 23 Oct 2014 11:10:00 GMT</pubDate></item><item><title>My Travel Map</title><link>http://www.duckland.org/posts/201402travels.html</link><dc:creator>Don Harper</dc:creator><description><p>Found this site, and since I had someone ask, I thought I would share.</p>
|
||||
|
||||
<div style="width:550px; position: relative;">
|
||||
<object width="550" height="293" type="application/x-shockwave-flash" data="http://static.travbuddy.com/flash/countries_map.swf?id=6299186">
|
||||
<param name="movie" value="http://static.travbuddy.com/flash/countries_map.swf?id=6299186">
|
||||
<param name="quality" value="high"><param name="bgcolor" value="#372060">
|
||||
<embed src="http://static.travbuddy.com/flash/countries_map.swf?id=6299186" quality="high" bgcolor="#372060" width="550" height="293" type="application/x-shockwave-flash"></embed>
|
||||
</object>
|
||||
<div style="background-color: #38235b; padding: 5px 0px 5px 0px; text-align: center; width: 549px; border-left: 1px solid #372060; font-size: 11px; color: #EEE; line-height: 1.4em;">
|
||||
<a style="font-size: 14px; color: #FFBF42" href="http://www.travbuddy.com/travel-widgets"><strong>Create your own travel map</strong></a> - <a style="font-size: 14px; color: #FFBF42" href="http://www.travbuddy.com"><strong>TravBuddy</strong></a><br>
|
||||
</div>
|
||||
</div></description><category>personal</category><category>travel</category><guid>http://www.duckland.org/posts/201402travels.html</guid><pubDate>Sun, 23 Feb 2014 23:02:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (personeal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personeal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As 2014 draws to a close, I look back at the year.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (personeal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personeal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:31 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As 2014 draws to a close, I look back at the year.</p>
|
||||
<p>Overall, it was a good year. The family staid reasonably health (just a case of the flu which every one of us caught).</p>
|
||||
<p>Work slowed down a bit after only three trips, and the last one was in June, but I did get to spend two weeks in London which was cool. While the work has been not what I really want to be doing, it has been interesting, and next year promises to be very interesting. I have no clue if travel is in the cards or not, but I will keep the camera handy.</p>
|
||||
<p>In the coming year, I plan to focus on health, photography, and technology. I want to get back to taking photos every day, and to bring the quality back up to art level over the snapshots and historical documentation that I have been doing.</p>
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (personeal)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/personeal.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As 2014 draws to a close, I look back at the year.</p>
|
||||
<p>Overall, it was a good year. The family staid reasonably health (just a case of the flu which every one of us caught).</p>
|
||||
<p>Work slowed down a bit after only three trips, and the last one was in June, but I did get to spend two weeks in London which was cool. While the work has been not what I really want to be doing, it has been interesting, and next year promises to be very interesting. I have no clue if travel is in the cards or not, but I will keep the camera handy.</p>
|
||||
<p>In the coming year, I plan to focus on health, photography, and technology. I want to get back to taking photos every day, and to bring the quality back up to art level over the snapshots and historical documentation that I have been doing.</p>
|
||||
<p>Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running <a class="reference external" href="http://www.pcbsd.org">PCBSD 10.1</a> already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.</p>
|
||||
<p>Just to prove things, this post was written under FreeBSD.</p>
|
||||
<p>I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.</p>
|
||||
<p>I hope your 2015 is a great year.</p></div></description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (photo)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/photo.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Vegas, again</title><link>http://www.duckland.org/posts/vegas-again.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Once more, off the Las Vegas for to work a trade show. This year, I was helping present training, so I was tucked away in a basement most of the trip, and did not get out to do much in the way of sight-seeing aside from walking around the hotel.</p>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (photo)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/photo.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:33 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Vegas, again</title><link>http://www.duckland.org/posts/vegas-again.html</link><dc:creator>Don Harper</dc:creator><description><div><p>Once more, off the Las Vegas for to work a trade show. This year, I was helping present training, so I was tucked away in a basement most of the trip, and did not get out to do much in the way of sight-seeing aside from walking around the hotel.</p>
|
||||
|
||||
<div id="slides_f86a3decfc4e45d4aca81be4fcf7a0fb" class="carousel slide">
|
||||
<ol class="carousel-indicators">
|
||||
|
|
|
|||
|
|
@ -1,61 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (photo)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/photo.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Goodbye 2014!</title><link>http://www.duckland.org/posts/goodbye-2014.html</link><dc:creator>Don Harper</dc:creator><description><div><p>As 2014 draws to a close, I look back at the year.</p>
|
||||
<p>Overall, it was a good year. The family staid reasonably health (just a case of the flu which every one of us caught).</p>
|
||||
<p>Work slowed down a bit after only three trips, and the last one was in June, but I did get to spend two weeks in London which was cool. While the work has been not what I really want to be doing, it has been interesting, and next year promises to be very interesting. I have no clue if travel is in the cards or not, but I will keep the camera handy.</p>
|
||||
<p>In the coming year, I plan to focus on health, photography, and technology. I want to get back to taking photos every day, and to bring the quality back up to art level over the snapshots and historical documentation that I have been doing.</p>
|
||||
<p>Also, I want to revisit the 30 Day FreeBSD challenge again in January. I have the old HP R810 running <a class="reference external" href="http://www.pcbsd.org">PCBSD 10.1</a> already set up that I have been using for a couple of days working the kinks out of it, so I think I can do it this time. Normal caveat applies...I have a work laptop which dual boots Windows 8.1 and Fedora 21 for my work stuff. The home stuff should work nicely on the laptop.</p>
|
||||
<p>Just to prove things, this post was written under FreeBSD.</p>
|
||||
<p>I also need to fix up my virtual host farm. I have one too many, and do not need it, but of course, it is the one with the main mail and other services, so I need to hurry up and migrate things off of it.</p>
|
||||
<p>I hope your 2015 is a great year.</p></div></description><category>30DayChallenge</category><category>personeal</category><category>photo</category><category>sa</category><guid>http://www.duckland.org/posts/goodbye-2014.html</guid><pubDate>Wed, 31 Dec 2014 05:44:55 GMT</pubDate></item><item><title>More travel</title><link>http://www.duckland.org/posts/201406more-travel.html</link><dc:creator>Don Harper</dc:creator><description><p><img alt="View in front of The Venetian" src="http://img.duckland.org/2014-06/20140607094949.JPG">
|
||||
I am back from Las Vegas for a trade show for work. The hardest part was two and a half days of setting up an isolated network for some hands on training.</p>
|
||||
|
||||
<p>The training went very well, and I got some good feedback from the students. By the last session, all the kinks were worked out of the training, and the students were able to explore a bit more than planned, but that was okay.</p>
|
||||
|
||||
<p><img alt="Gondolas waiting at The Venetian" src="http://img.duckland.org/2014-06/20140607095037.JPG"></p>
|
||||
|
||||
<p>The major downside is that I did not have much time but one day for a quick walk around where I was staying at The Venetian to take some photos. It is a shame, as there are lots of really cool visuals around the strip and in the area of Las Vegas. Maybe next time.</p>
|
||||
|
||||
<p><img alt="Bell Tower and The Moon at The Ventian" src="http://img.duckland.org/2014-06/20140607234122.JPG"></p></description><category>photo</category><category>travel</category><category>work</category><guid>http://www.duckland.org/posts/201406more-travel.html</guid><pubDate>Tue, 17 Jun 2014 08:06:15 GMT</pubDate></item><item><title>Rewards for Hard Travel</title><link>http://www.duckland.org/posts/201406rewards-for-hard-travel.html</link><dc:creator>Don Harper</dc:creator><description><p><img alt="New Toy" src="http://www.getolympus.com/us/en/media/catalog/product/cache/hero_resize/600X245/em5_hero_black.png">
|
||||
So, in 2013, I went to China twice, Tokyo, Las Vegas, London twice, and Barcelona. This was enough to get me some serious air miles. I decided to turn them into something to help me get back into photography, so I got <a href="http://www.getolympus.com/us/en/digitalcameras/omd/e-m5.html" title="Olympus E-M5">Olympus OM-D E-M5</a>. This is one of the latest in the line of Olympus DSLR. This one is a micros 4/3, with a built-in Electronic View Finder (EVF).</p>
|
||||
|
||||
<p>It showed up yesterday, and I have not had much of a chance to take it through its paces. I hope to have some time this weekend, but I have a major work project which might interfere.</p>
|
||||
|
||||
<p>Keep an eye out for some photos as I get a chance to try it out.</p></description><category>photo</category><category>travel</category><guid>http://www.duckland.org/posts/201406rewards-for-hard-travel.html</guid><pubDate>Thu, 05 Jun 2014 09:06:15 GMT</pubDate></item><item><title>On the Road Again</title><link>http://www.duckland.org/posts/201405on-the-road-again.html</link><dc:creator>Don Harper</dc:creator><description><p><img alt="On The Road Again" src="http://img.duckland.org/2014-05/StartMexico.jpg">
|
||||
The reason I was busy at work is that I was getting ready for two different trips to conduct three different training courses.</p>
|
||||
|
||||
<p>Last week I was down in Mexico City to present some training to folks from Latin and Central America on one of our new products. Next month, I head off to Lost Wages, er, Las Vegas, for our major conference and two different training courses, while supporting a third.</p>
|
||||
|
||||
<p>That, and the fact the two oldest kids are in swim team right now, free time has drop to null.</p></description><category>photo</category><category>travel</category><guid>http://www.duckland.org/posts/201405on-the-road-again.html</guid><pubDate>Tue, 20 May 2014 17:05:59 GMT</pubDate></item><item><title>BINS Photo Album</title><link>http://www.duckland.org/posts/200705bins-photo-album.html</link><dc:creator>Don Harper</dc:creator><description><h1>BINS Photo Album</h1>
|
||||
|
||||
<p>The <a href="http://bins.sautret.org/">BINS Photo Album</a> is a package to generate static web pages from the command line. Why would you want to do this? Well, most of the dynamic web photo albums require that the server do all the work when the client requests the images, thus either slowing it down, or requiring a very beefy server. Also, you introduce the chance for a script-kiddie from hacking your site. Not good.</p>
|
||||
|
||||
<p>Enter BINS. Some of its features include [<a href="http://bins.sautret.org/intro.html">from the web page</a>]:</p>
|
||||
|
||||
<ul>
|
||||
<li>generated album is <strong>static</strong> : it’s just plain HTML/CSS/Javascript files (Javascript is not mandatory to view the album), no need of any dynamic language (php, asp, etc.) nor database on server side. Album can be burned on CD or DVD.</li>
|
||||
<li>album can contains other albums (<strong>sub albums</strong>): the album can have a tree structure ;</li>
|
||||
<li>generation of a <strong>thumbnail</strong> and of <strong>scaled images</strong> for each picture ;</li>
|
||||
<li>generated album appearance is <strong>fully customizable</strong> by using <strong>HTML templates</strong> (5 different templates sets are currently provided) and <strong>configuration parameters</strong>: colors, number and size of thumbnails per page, number and size of scaled pictures (in pixels or percentage of the original image for the size), fields to display, etc. Those parameters can be <strong>set globally</strong> (system wide or per user), <strong>per album</strong> or sub album or <strong>per picture</strong> (for example, you can change the colors of one sub album or one just one picture page in an album by editing its description file) ;</li>
|
||||
<li>several <strong>description fields</strong> (date, location, etc…) can be associated with the pictures (in text or HTML format). You can easily add or customize these fields ;</li>
|
||||
<li>description fields can be set or modified via a <strong>command line interface</strong> or a <strong>GTK+/GNOME-based GUI</strong> ;</li>
|
||||
<li>A <strong>search engine</strong> is included in the album : you can find some pictures by searching keywords in their description fields.</li>
|
||||
<li>Album can be generated from pictures managed by <a href="http://www.nother.net/zoph/">Zoph</a>.</li>
|
||||
<li><strong>speed up</strong> album browsing by performing a clean up of HTML code to reduce its size and by <strong>pre-loading</strong> thumbnails in browser cache using <em>JavaScript</em> code ;</li>
|
||||
<li><p>Exif information and <strong>Digital camera support</strong> :</p>
|
||||
|
||||
<ul>
|
||||
<li>use the EXIF data structure found on some image files (usually, those produced by digital cameras) to fill automatically some fields (date and time for example).</li>
|
||||
<li>BINS use the Orientation EXIF tag (which is normally set when you rotate a image on you DigiCam) to <strong>rotate the picture to correct orientation</strong>.</li>
|
||||
<li>For each image, a page provides all information available on the picture and the <strong>DigiCam settings</strong> when the photo was taken.</li>
|
||||
<li>Additional information are provided for <strong>Canon DigiCams</strong>.</li>
|
||||
<li>Tooltips provide information about the meaning of some of the fields.</li>
|
||||
<li>All EXIF information is saved in the XML description file, preventing they disappear when the image is modified ;</li>
|
||||
</ul></li>
|
||||
<li><strong>internationalization</strong> (generation of album in different languages) using gettext. Current languages supported are Catalan, Dutch, English, Esperanto, Finish, French, German, Hungarian, Italian, Japanese, Polish, Russian, Spanish and Traditional Chinese ;</li>
|
||||
<li><strong>customizable charset encoding</strong> for HTML generation, including <strong>UTF-8 (Unicode)</strong> support by default. Generation of the Apache <code>.htaccess</code> file for correct encoding charset in HTTP headers ;</li>
|
||||
<li>use of <strong>XML files</strong> to save user description of pictures and albums/subalbums and Exif data from image file ;</li>
|
||||
<li>handle correctly file and directory names with spaces or other odd characters (excepted ‘/’), and create <strong>valid escaped URLs</strong> ;</li>
|
||||
<li>generate <strong>valid HTML/XHTML</strong> code. The level of HTML depends of the style used. Some of the styles are valid, table free XHTML.</li>
|
||||
</ul>
|
||||
|
||||
<p>The web site has some great <a href="http://bins.sautret.org/examples.html">example.</a> Go check them out.</p></description><category>cli</category><category>photo</category><category>software</category><guid>http://www.duckland.org/posts/200705bins-photo-album.html</guid><pubDate>Mon, 21 May 2007 23:05:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (remind)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/remind.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:03 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Alerting with Remind</title><link>http://www.duckland.org/posts/200811alerting-with-remind.html</link><dc:creator>Don Harper</dc:creator><description><h1>Alerting with Remind</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (remind)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/remind.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:32 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Alerting with Remind</title><link>http://www.duckland.org/posts/200811alerting-with-remind.html</link><dc:creator>Don Harper</dc:creator><description><h1>Alerting with Remind</h1>
|
||||
|
||||
<p>Back in my <a href="http://www.duckland.org/archives/2008/08/05/so-you-need-a-calendar/">article on Remind</a>, I talked about the simple power of remind to power your scheduling needs. That is all fine and good, but how to you get it to tell you when you have an event?</p>
|
||||
|
||||
|
|
|
|||
|
|
@ -1,28 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (remind)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/remind.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:05 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Alerting with Remind</title><link>http://www.duckland.org/posts/200811alerting-with-remind.html</link><dc:creator>Don Harper</dc:creator><description><h1>Alerting with Remind</h1>
|
||||
|
||||
<p>Back in my <a href="http://www.duckland.org/archives/2008/08/05/so-you-need-a-calendar/">article on Remind</a>, I talked about the simple power of remind to power your scheduling needs. That is all fine and good, but how to you get it to tell you when you have an event?</p>
|
||||
|
||||
<p>In its simplest form, when you run _remind _ from the command line, it will not only display the current day’s reminders, but it will run in the background and wake up to tell you about other reminders on the screen while you work.</p>
|
||||
|
||||
<p>This is fine, but what happens if you do not have that termial open in front of you? Well, I have two ways I approach that issue.</p>
|
||||
|
||||
<p>First, when I run under X (<a href="http://www.duckland.org/archives/2006/12/31/what-do-i-use/">yeah, yeah, I know, but I use cli tools under X</a>), I have this added to my .xinitrc:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>remind -z -k’xmessage -buttons okay:0 -default okay %s&amp;’ ~/.reminders &amp;</p>
|
||||
</blockquote>
|
||||
|
||||
<p>Let’s look at the command line:</p>
|
||||
|
||||
<ul>
|
||||
<li>The <strong>-z</strong> tells remind to wake up every 5 minutes and reread the .reminders file.</li>
|
||||
<li>The <strong>-k</strong> tells remind to run a command instead of simply printing the reminder to the screen</li>
|
||||
<li><strong>xmessage -buttons okay:0 -default okay %s&amp;</strong> is the secret sauce of this. This is the command run when there is an alarm. This command line calls xmessage (which is on pretty much any box with X) to display the alert. You could use zenity or kmessage, or winpopup, or whatever. This is what puts the alert in your face when you are not looking at the screen. The <strong>&amp;</strong> is needed to make this command non-blocking by putting it in the background.</li>
|
||||
</ul>
|
||||
|
||||
<p>That all good if you are setting at your computer. But, what do you do when <em>gasp</em> you leave to computer? This is a little tricker. For this, my solution needs two things: 1) a computer which is always on and 2) a way to send messages to your cell phone/pager (sms or email). I have a cron job which checks to make sure remind is running, and restarts it if it is not (I use a hosting provider which does not like long running processes). The command line is similar to the one for X, but with a difference:</p>
|
||||
|
||||
<blockquote>
|
||||
<p>TZ=CDT6CST ~/bin/remind -z -k”echo %s</p>
|
||||
</blockquote></description><category>calendar</category><category>cli</category><category>remind</category><category>software</category><guid>http://www.duckland.org/posts/200811alerting-with-remind.html</guid><pubDate>Wed, 19 Nov 2008 23:11:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (rss)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/rss.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 08 Jun 2015 16:00:02 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>RSS Reader: Raggle</title><link>http://www.duckland.org/posts/200611rss-reader-raggle.html</link><dc:creator>Don Harper</dc:creator><description><h1>RSS Reader: Raggle</h1>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>duckland.org news (rss)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/rss.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 10 Jun 2015 05:13:32 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>RSS Reader: Raggle</title><link>http://www.duckland.org/posts/200611rss-reader-raggle.html</link><dc:creator>Don Harper</dc:creator><description><h1>RSS Reader: Raggle</h1>
|
||||
|
||||
<p>Well, after getting some time over the US holiday to try to get raggle<br>
|
||||
built, I gave up. I am guessing that Fedora Core 5/6 are not very<br>
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>duckland.org news (rss)</title><link>http://www.duckland.org/</link><description></description><atom:link href="http://www.duckland.org/categories/rss.xml" type="application/rss+xml" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 01 Feb 2015 21:00:06 GMT</lastBuildDate><generator>http://getnikola.com/</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>RSS Reader: Raggle</title><link>http://www.duckland.org/posts/200611rss-reader-raggle.html</link><dc:creator>Don Harper</dc:creator><description><h1>RSS Reader: Raggle</h1>
|
||||
|
||||
<p>Well, after getting some time over the US holiday to try to get raggle<br>
|
||||
built, I gave up. I am guessing that Fedora Core 5/6 are not very<br>
|
||||
ruby friendly yet, as I could not find everything I needed very<br>
|
||||
easily. I was able to get it almost all the way there, but I could<br>
|
||||
not get the ruby-Ncurses rpm to build, and I am very strict about<br>
|
||||
using the native package management system (ie RPM on a RPM based<br>
|
||||
system, portage on Gentoo, apt on a Debian deviant), so I will not be<br>
|
||||
trying this until I can get the RPMS.</p>
|
||||
|
||||
<p>In other news, I have found some more PIM type things to play with.<br>
|
||||
Does anyone know of a good CLI Palm Pilot sync package? <a href="http://www.coldsync.org/">Cold Sync seems to be dead, and I am<br>
|
||||
not sure if it will talk to modern Pilots.</a></p></description><category>cli</category><category>rss</category><category>software</category><guid>http://www.duckland.org/posts/200611rss-reader-raggle.html</guid><pubDate>Wed, 22 Nov 2006 23:11:00 GMT</pubDate></item><item><title>Another RSS reader?</title><link>http://www.duckland.org/posts/200611another-rss-reader.html</link><dc:creator>Don Harper</dc:creator><description><h1>Another RSS reader?</h1>
|
||||
|
||||
<p>Well, it seems that someone is reading this after all.</p>
|
||||
|
||||
<p>So, tonight I have been given a pointer to raggle (<a href="http://www.raggle.org">http://www.raggle.org). I guess I need<br>
|
||||
to install ruby to try it out…</a></p>
|
||||
|
||||
<p>Thanks to Philip McClure for the pointer.</p>
|
||||
|
||||
<p>Updates after I try it out some…</p></description><category>cli</category><category>rss</category><category>software</category><guid>http://www.duckland.org/posts/200611another-rss-reader.html</guid><pubDate>Thu, 02 Nov 2006 23:11:00 GMT</pubDate></item></channel></rss>
|
||||
|
|
@ -1,168 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article# " lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="description" content="Posts about sa 30DayChallenge personeal photo">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Posts about sa 30DayChallenge personeal photo | duckland.org news</title>
|
||||
|
||||
|
||||
<link href="../assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
|
||||
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="../rss.xml">
|
||||
|
||||
<link rel="canonical" href="http://www.duckland.org/categories/sa-30daychallenge-personeal-photo.html">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!--[if lt IE 9]><script src="../assets/js/html5.js"></script><![endif]-->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS for tag sa 30DayChallenge personeal photo" href="sa-30daychallenge-personeal-photo.xml">
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<a href="#content" class="sr-only sr-only-focusable">Skip to main content</a>
|
||||
|
||||
<!-- Menubar -->
|
||||
|
||||
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
|
||||
<div class="container">
|
||||
<!-- This keeps the margins nice -->
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="http://www.duckland.org/">
|
||||
|
||||
<span id="blog-title">duckland.org news</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- /.navbar-header -->
|
||||
<div class="collapse navbar-collapse navbar-ex1-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li>
|
||||
<a href="../index.html">Home</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../stories/about.html">About me</a>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Social Sites<b class="caret"></b></a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<a href="https://twitter.com/duckunix">My Twitter</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://plus.google.com/+DonHarper/">My Google+</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="http://www.linkedin.com/in/donaldharper/">My LinkedIN</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../archive.html">Archive</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="index.html">Tags</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../rss.xml">RSS</a>
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!-- /.navbar-collapse -->
|
||||
</div>
|
||||
<!-- /.container -->
|
||||
</nav>
|
||||
|
||||
<!-- End of Menubar -->
|
||||
|
||||
<div class="container" id="content">
|
||||
<div class="body-content">
|
||||
<!--Body content-->
|
||||
<div class="row">
|
||||
|
||||
|
||||
<article class="tagpage">
|
||||
<header>
|
||||
<h1>Posts about sa 30DayChallenge personeal photo</h1>
|
||||
<div class="metadata">
|
||||
<p class="feedlink"><a href="sa-30daychallenge-personeal-photo.xml" type="application/rss+xml">RSS feed</a></p>
|
||||
</div>
|
||||
</header>
|
||||
<ul class="postlist">
|
||||
<li>
|
||||
<a href="../posts/goodbye-2014.html" class="listtitle">Goodbye 2014!</a> <time class="listdate" datetime="2014-12-30T23:44:55-06:00" title="2014-12-30">2014-12-30</time>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
</div>
|
||||
<!--End of body content-->
|
||||
|
||||
<footer>
|
||||
Contents © 2014 <a href="mailto:duck@duckland.org">Don Harper</a> - Powered by <a href="http://getnikola.com" rel="nofollow">Nikola</a>
|
||||
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script src="../assets/js/all-nocdn.js"></script>
|
||||
|
||||
<!-- Social buttons -->
|
||||
<div id="addthisbox" class="addthis_toolbox addthis_peekaboo_style addthis_default_style addthis_label_style addthis_32x32_style">
|
||||
<a class="addthis_button_more">Share</a>
|
||||
<ul>
|
||||
<li>
|
||||
<a class="addthis_button_facebook"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_google_plusone_share"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_linkedin"></a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="addthis_button_twitter"></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<script src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-4f7088a56bb93798"></script>
|
||||
<!-- End of social buttons -->
|
||||
|
||||
|
||||
<script>jQuery("a.image-reference").colorbox({rel:"gal",maxWidth:"100%",maxHeight:"100%",scalePhotos:true});</script>
|
||||
<!-- fancy dates -->
|
||||
<script>
|
||||
moment.locale("");
|
||||
fancydates(1, "YYYY-MM-DD");
|
||||
</script>
|
||||
<!-- end fancy dates -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue