Skip to content

Instantly share code, notes, and snippets.

View bitfyre's full-sized avatar
🚵‍♂️
Always thinking about biking

Alex Lemanski bitfyre

🚵‍♂️
Always thinking about biking
View GitHub Profile
@import compass.sass
@import susy.sass
Rails CMS alternatives
======================
Active projects:
---------------
adva-cms
repo: http://github.com/svenfuchs/adva_cms/
site: http://adva-cms.org/
Last update: 11/24/09
"the cutting edge Rails CMS platform"
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
exclude-result-prefixes="xsl">
<xsl:template name="loop"> <!-- Loop -->
<xsl:param name="i" />
<xsl:param name="limit" />
<xsl:call-template name="loop-item">
@bitfyre
bitfyre / events.xml
Created July 8, 2011 21:03
Grouping by Month for a Symphony CMS Data Source Using Nils Hörrmann's Date and Time Field Extension
<!--
Snapshot of the XML I was working with.
-->
<event-listing>
<section id="21" handle="event">Event</section>
<entry id="100">
<city handle="city">City</city>
<date>
<date timeline="1" type="range">
@bitfyre
bitfyre / config.rb
Created September 27, 2011 20:44
Compass & Sass config for Middleman
compass_config do |config|
config.output_style = :nested
config.sass_options = { :line_comments => false, :debug_info => true }
end
%h1 Hello
%p Good bye
%h1 Hello
%p Good bye
@bitfyre
bitfyre / convert
Created March 17, 2014 23:26 — forked from angelbotto/convert
1. replace @ with $
Find: @
Replace: $
2. replace mixins
Find: \.([\w\-]*)\s*\((.*)\)\s*\{
Replace: @mixin \1\(\2\)\n{
3. replace includes
Find: \.([\w\-]*\(.*\)\s*;)
var ContactModel = require('../model/Contacts');
var ContactView = require('../view/Contact');
var AddContactForm = require('../view/AddContactForm');
/**
* Controller Object to dispatch actions to view/Contact and model/Contacts.
* @constructor
*/
var ContactsController = function() {
this.init();