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
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
#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); |
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
select g.destid1, i.destid1 from kaltura_gallery_entries k1 right join migrate_map_gallery g on k1.gid = g.sourceid1 right join migrate_map_galleryitem i on k1.kid = i.sourceid1 where k1.kaltura_order=(select min(k2.kaltura_order) from kaltura_gallery_entries k2 where k1.gid = k2.gid); |