This file contains hidden or 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
#!/usr/bin/env python | |
""" Git Versioning Script | |
Will transform stdin to expand some keywords with git version/author/date information. | |
Specify --clean to remove this information before commit. | |
Setup: |
This file contains hidden or 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
#!/bin/bash | |
CC=g++ | |
${CC} -o if_test main.cpp interface.cpp interface_impl_1.cpp interface_impl_2.cpp |
This file contains hidden or 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
// Static site search using the RSS feed. | |
// | |
// Inspired by | |
// http://joevennix.com/2011/05/25/How-I-Implement-Static-Site-Search.html | |
// | |
// Extended to do match scoring by Peter Krusche | |
(function( $ ){ | |
function htmlEscape(s) { | |
return $('<div/>').text(s).html(); |