A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
- Headers
- Links
- Bold
<theme> | |
<!-- Window Style --> | |
<color id="foreground" red="1.0" green="0.776" blue="0.427" alpha="1.0" /> | |
<color id="background" red="0.255" green="0.255" blue="0.255" alpha="1.0" /> | |
<window foregroundColorID="foreground" backgroundColorID="background" shouldUseHUDScrollers="no" /> | |
<!-- Text View Style --> | |
<color id="tag" red="0.800" green="0.471" blue="0.200" alpha="1.0" /> | |
<color id="handle" extendsColorID="foreground" /> | |
<color id="insertionPoint" red="1.0" green="1.0" blue="1.0" alpha="1.0" /> |
<?php | |
/** | |
* This is free and unencumbered software released into the public domain. | |
* | |
* Anyone is free to copy, modify, publish, use, compile, sell, or | |
* distribute this software, either in source code form or as a compiled | |
* binary, for any purpose, commercial or non-commercial, and by any | |
* means. | |
* |
A very basic regex-based Markdown parser. Supports the
following elements (and can be extended via Slimdown::add_rule()
):
Generated with workflows2md.
/* | |
Used in conjunction with Scott Robin's backstretch script: | |
https://github.com/srobbin/jquery-backstretch | |
*/ | |
(function($) { | |
var justExecuted = false; | |
$(window).on('scroll', function() { |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
sass: { | |
options: { | |
includePaths: ['bower_components/foundation/scss'] | |
}, | |
dist: { | |
options: { |
Here are a few common tasks you might do in your templates, as they would be written in ExpressionEngine vs. Craft CMS.
module.exports = function(grunt) { | |
grunt.initConfig({ | |
concat: { | |
// js stuff | |
}, | |
uglify: { | |
// more js stuff |
// See issue https://github.com/twbs/bootstrap/issues/8810 for more information. | |
// | |
// Thanks for the idea of the fix to: | |
// https://github.com/sixfootsixdesigns/Bootstrap-3-Grid-Columns-Clearing | |
@import "bootstrap/variables" | |
// Useful @media mixins (based on dimensions taken from bootstrap-sass) | |
=media-width-below($max) |
#!/bin/sh | |
# Upgrade packages that are available to update | |
sudo apt-get update | |
sudo apt-get -y upgrade | |
# Miscelaneous tools and media players and game emulators | |
sudo apt-get install -y build-essential ubuntu-restricted-extras htop vcl smplayer k3b audacity audacious audacious-plugins visualboyadvance pcsxr | |