Skip to content

Instantly share code, notes, and snippets.

@dajare
dajare / upgrade_20140520.md
Created May 20, 2014 07:38
Packages upgraded in Ubuntu 14.04 on 2014.05.20

Upgrade:

  • libreoffice-pdfimport:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • libreoffice-base-core:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • ure:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • libreoffice-writer:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • libreoffice-impress:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • uno-libs3:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • libreoffice-avmedia-backend-gstreamer:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
  • libreoffice-base:amd64 (4.2.4rc2-0ubuntu1trusty1, 4.2.4rc2-0ubuntu1trusty2)
@dajare
dajare / wolft_frontend_backend_edit.md
Last active August 29, 2015 14:06
Frontend links for page editing in backend

Frontend links for page editing in backend

This "tutorial" is based on a forum thread started by Ormente with responses from Martijn. Consult that thread for further discussion.

It's often useful to be able to go directly to the backend to edit a page while browsing your site. You can make such a link in Wolf by copying this code into a snippet (filter set to -none-):

<?php

// Check there's a user session

@dajare
dajare / 20141031.md
Created October 23, 2014 12:19
Hans Day

A Day in Honour of
Professor Hans Barstad

  • 31 October 2014
  • 11:15 – 17:00
  • New College, Edinburgh
    EH1 2LX
@dajare
dajare / expositorsGreekTestament.md
Created May 16, 2015 16:54
Expositor's Greek Testament

[Detailed contents][dc] from Logos:

  • Volume 1: Matthew - John
  • Volume 2: Acts - 1 Corinthians
  • [Volume 3][3]: 2 Corinthians - Colossians
  • [Volume 4][4]: 1 Thessalonians - James
  • [Volume 5][5]: 1 Peter - Revelation
@dajare
dajare / wolf_layout_loader.php
Created December 11, 2010 09:50 — forked from staydecent/wolf_layout_loader.php
WolfCMS Layout Loader plugin (by staydecent)
<?php
/**
* Loads any layout files(.php) contained inside the theme folders.
*
* @package wolf
* @subpackage plugin.layout_loader
*
* @author Adrian Unger <spam{at}staydecent.ca>
* @version 1.1
@dajare
dajare / dajare-wolfcms-plugins.xml
Created January 20, 2011 15:53
WolfCMS Plugins XML file
<wolf-plugins>
<wolf-plugin>
<id>ckeditor</id>
<version>1.2</version>
<status>stable</status>
</wolf-plugin>
</wolf-plugins>
@dajare
dajare / adv_find_pager.php
Created January 30, 2011 13:22
Advanced Find with Pagination
<?php
/**
* For use in a page with WolfCMS - http://www.wolfcms.org
* Uses mtylerb's Advanced Find, and the Pager helper to paginate results
* AdvancedFind - https://github.com/mtylerb/adv-find
* Pager - http://www.wolfcms.org/wiki/helpers:pager
*/
// USE THIS FOR DYNAMIC ADDITION OF BRANCHES TO ADVFIND
$categories = array();
@dajare
dajare / tag-page-code.php
Created April 29, 2011 13:45
Tag page code for Wolf CMS plugin Tagger - inserts date values into archive page URLs
<?php
$pages = $this->tagger->pagesByTag();
if($pages){
echo "<h3>Pages tagged with '".$this->tagger->tag()."':</h3>";
echo '<ul>';
foreach($pages as $slug => $page) {
// set number in next line to total characters of URL up to first slug:
$pageslugs = substr($slug, 28);
// if archive page, put date slugs into URI:
if ($this->find($pageslugs)->parent()->behavior_id == 'archive') {
@dajare
dajare / .conkyrc
Created May 30, 2012 21:14
My .conkyrc file
# Conky, a system monitor, based on torsmo
#
# /* ** USE IN CONJUCTION WITH THE FOLLOWING SCRIPT
# I put this in HOME/.bin/conky_delay_start : perms set to make executable:
# Add this script to Autostart to run conky at bootup
# 8< -------
##!/bin/bash
##Conky start-up delay script
##Source: http://ubuntuforums.org/showthread.php?t=778131
#