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
[your element selector] { | |
display: inline-block; | |
position: relative; | |
} | |
[your element selector]:after { | |
content: ""; | |
display: inline-block; | |
width: 0; | |
height: 0; |
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
/* 01 =Normalize.css | |
------------------------- */ | |
/*! normalize.css 2011-08-12T17:28 UTC · http://github.com/necolas/normalize.css */ | |
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; } | |
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; } | |
audio:not([controls]) { display: none; } | |
[hidden] { display: none; } | |
html { font-size: 100%; overflow-y: scroll; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; } | |
body { margin: 0; } | |
body, button, input, select, textarea { font-family: sans-serif; } |
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
pattern: (href|src)="(\/)((.)*?)" | |
replace: $1="http://[domain]/$3" |
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
{if member_group == '1'} | |
<div id="bsd-performance" style="position: fixed; right: 0; bottom: 0; padding: 7px; background: rgba(0,0,0,0.7); color: white; font-family: Verdana, sans-serif; z-index: 999; "> | |
<span id="bsd-total-queries">{total_queries}</span> queries<br /> | |
<span id="bsd-elapsed-time">{elapsed_time}</span> seconds | |
</div> | |
{/if} |
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
{if member_group == '1'} | |
<style> | |
@-webkit-keyframes rainbow { | |
0% { | |
background-color: rgba(255,0,0,0.7); | |
} | |
33% { | |
background-color: rgba(0,255,0,0.7); | |
} | |
66% { |
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
{if member_group == '1'} | |
<div id="performance-widget" style="position: fixed; right: 0; bottom: 0; padding: 7px; background: rgba(0,0,0,0.7); color: white; font-family: Verdana, sans-serif; z-index: 999; "> | |
<span id="total-queries">{total_queries}</span> queries<br /> | |
<span id="elapsed-time">{elapsed_time}</span> seconds | |
</div> | |
{/if} |
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 Use Chosen for Harvest Project Timesheet Selector | |
// @author Yahel Carmon | |
// @description Uses Chosen for Harvest Project Timesheet Selector. Might break if they change anything. Use at your own risk. | |
// @namespace https://gist.github.com/gists/1229452 | |
// @include http://*.harvestapp.com/entry/show/* | |
// @include https://*.harvestapp.com/entry/show/* | |
// @include http://*.harvestapp.com/daily | |
// @include https://*.harvestapp.com/daily | |
// ==/UserScript== |
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
jQuery(document).ready(function(){ | |
$('.close-reveal-modal').on("click", function(e){ | |
e.preventDefault(); | |
for (var i=0; i<window.player.length; i++){ | |
window.player[i].pauseVideo(); | |
} | |
}); | |
}); |
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 | |
cd .. | |
GIT_DIR='.git' | |
umask 002 && git reset --hard |
OlderNewer