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
core = 6.x | |
projects[pressflow][type] = "core" | |
projects[pressflow][download][type] = "get" | |
projects[pressflow][download][url] = "http://lb.cm/pressflow6" | |
; INSTALL PROFILES | |
projects[profiler] = 2.0beta1 | |
; DEVELOPMENT |
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
This space is intentionally left blank. |
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
Foobar |
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
#uni-header, | |
div.page-content.two-column-layout, | |
#column-two { | |
width: 780px !important; | |
} | |
body, | |
div.page-content.two-column-layout, | |
div.page-content.three-column-layout { | |
background: none !important; |
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
#! /usr/bin/php | |
<?php | |
$string = getenv('CODA_SELECTED_TEXT'); | |
function gimmee_spaces($length) { | |
return str_pad('', $length); | |
} | |
$length = strlen($string); | |
$cut = ltrim($string, " \t"); |
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 | |
# Reload a varnish config | |
# Author: Kristian Lyngstol | |
FILE="/etc/varnish/ugc.vcl" | |
# Hostname and management port | |
# (defined in /etc/default/varnish or on startup) | |
HOSTPORT="localhost:6082" | |
NOW=`date +%s` |
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 | |
# Reload a varnish config | |
# Author: Kristian Lyngstol | |
# (defined in /etc/default/varnish or on startup) | |
HOSTPORT="localhost:6082" | |
SECRET='/etc/varnish/secret' | |
varnishadm -T $HOSTPORT -S $SECRET |
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 fluid-dock-badge | |
// @namespace http://fluidapp.com | |
// @description Dock badge for unread messages on Yammer.com | |
// @include * | |
// @author Joe Shindelar (eojthebrave) | |
// ==/UserScript== | |
(function ($) { | |
if (window.fluid) { | |
setInterval(dockBadge, 5000); |
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
o | |
_ | _ | |
| ◡ ◡ | | |
| ⏝ | | |
— ‾‾‾‾‾ — | |
| | | |
| | | | |
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
// Project Euler challenge #1 | |
// https://projecteuler.net/problem=1 | |
var ans = 0; | |
for (i = 1; i < 1000; i++) { | |
if (i % 3 === 0 || i % 5 === 0) { | |
ans += i; | |
} | |
} | |
console.log(ans); |
OlderNewer