This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<wolf-plugins> | |
<wolf-plugin> | |
<id>ckeditor</id> | |
<version>1.2</version> | |
<status>stable</status> | |
</wolf-plugin> | |
</wolf-plugins> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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') { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> | |
<xsl:template match="channel"> | |
<xsl:element name="feed" namespace="http://purl.org/atom/ns#" > | |
<xsl:attribute name="version">0.3</xsl:attribute> | |
<xsl:element name="title" namespace="http://purl.org/atom/ns#"> | |
<xsl:value-of select="*[local-name()='title']" /> | |
</xsl:element> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> | |
<meta name="viewport" content="width=device-width, user-scalable=no" /> | |
<title>untitled</title> | |
<link rel="stylesheet" href="" /> | |
</head> | |
<body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ALIASES | |
#################### | |
alias asaph='java -ea -jar ~/.bin/asaph/asaph.jar' | |
alias addfonts='sudo fc-cache -f -v' | |
alias bru='qmv -f do' | |
alias ps='ps auxf' | |
alias pg='ps aux | grep' | |
alias version='lsb_release -dc && echo "Desktop: $DESKTOP_SESSION" && uname -a' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub StraightQuotes2CurlyQuotes | |
' Thanks to Tintazul for refinements | |
' https://gist.github.com/Tintazul/deb5e137cabf86ddf4c2 | |
' Now updated to work with LibreOffice Writer Version: 5.0.x | |
rem ---------------------------------------------------------------------- | |
rem define variables | |
dim document as object | |
dim dispatcher as object | |
dim undo as object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="x-ua-compatible" content="ie=edge, chrome=1" /> | |
<title>untitled</title> | |
<!-- link rel="stylesheet" href="" / --> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.18.1/build/cssfonts/cssfonts-min.css"> | |
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/3.18.1/build/cssbase/cssbase-min.css"> |
OlderNewer