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
RewriteCond %{HTTP_HOST} !^www\. [NC] | |
RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L] |
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
var tinyMCE_GZ_shim = tinyMCE_GZ_shim || (function() { | |
"use strict"; | |
var tinyMCE_GZ = window.tinyMCE_GZ; | |
var tinyMCE = null; | |
var initialized = false; | |
var config_gz = []; | |
var config_tiny = {}; |
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 | |
$arrMap = array(1=>17, 34=>98); | |
$strBody = ' | |
Nina Gerling said On Thu, Dec 30. 2010 | |
I\'d recomment using the headline like I recommended in ticket #326: | |
my comment on this, also watch out on #34, but do not convert @#6 but | |
#1 should be'; |
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
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,NC,L] |
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
<script> | |
window.addEvent('domready', function() { | |
document.getElements('.tableless .formbody').each( function(form) { | |
// Style radio containers | |
form.getElements('.radio_container span').each( function(radio) { | |
radio.addEvent('click', function() { | |
radio.getSiblings('span').removeClass('active').each( function(el) { | |
if (el.getElement('input.radio').checked) radio.addClass('active'); | |
}); |
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
// ==UserScript== | |
// @name Highrise Links | |
// @author Andreas Schempp | |
// @description Create links for various resources on 37signals's Highrise (http://highrisehq.com) | |
// @include http://*highrisehq.com* | |
// @include https://*highrisehq.com* | |
// @version 2.0 | |
// ==/UserScript== | |
if (typeof unsafeWindow != 'undefined') { |
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
#!/bin/bash | |
## | |
# Useful ressources & links: | |
# http://john.albin.net/git/convert-subversion-to-git | |
# http://airbladesoftware.com/notes/moving-a-subdirectory-into-a-separate-git-repository | |
# http://nathanhoad.net/how-to-delete-a-remote-git-tag | |
# http://i.justrealized.com/2010/rename-tag-git/ | |
## |
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
// ==UserScript== | |
// @name CO-OP Timer Growl Reminder | |
// @namespace http://coopapp.com | |
// @description Displays Growl notifications at a user defined interval, reminding you to track your time. | |
// @include * | |
// @author Andreas Schempp | |
// @author Mike Green | |
// @version 0.1.1 | |
// ==/UserScript== |