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
<? | |
// hooks this function with parent theme' (Roots) action that can be used to display content below navbar | |
add_action('roots_content_before', 'roots_get_content_before'); | |
/** | |
* Displays blog title and description | |
* | |
* @return void; | |
*/ | |
function roots_get_content_before() { |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<project name="bids" default="runfftests"> | |
<property environment="env"/> | |
<property name="sahi.home" value="${env.SAHI_HOME}" location="/home/rakesh/sahi/" /> | |
<property name="user.data" value="${env.SAHI_USERDATA_DIR}" location="/home/rakesh/sahi/userdata" /> | |
<property name="urlbase" value="http://shdlr.local/"/> | |
<taskdef name="sahi" classname="net.sf.sahi.ant.RunSahiTask" classpath="${sahi.home}/lib/ant-sahi.jar"/> | |
<target name="runfftests"> | |
<antcall target="startsahi"/> |
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
// HTML | |
<div id="ajaxBusy"></div> | |
// CSS | |
#ajaxBusy { | |
display:none; | |
position: fixed; |
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 timeOutObj; | |
$(function(){ | |
$(".card-btn").popover({ | |
trigger: "manual", | |
html : true, | |
placement: function(tip, element) { | |
var $element, above, actualHeight, actualWidth, below, boundBottom, boundLeft, boundRight, boundTop, elementAbove, elementBelow, elementLeft, elementRight, isWithinBounds, left, pos, right; | |
isWithinBounds = function(elementPosition) { | |
return boundTop < elementPosition.top && boundLeft < elementPosition.left && boundRight > (elementPosition.left + actualWidth) && boundBottom > (elementPosition.top + actualHeight); | |
}; |
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
.popover.top-left, .popover.top-right { | |
margin-top: -5px; | |
} | |
.popover.bottom-left, .popover.bottom-right { | |
margin-top: 5px; | |
} | |
.popover.top-left .arrow { | |
bottom: 0; | |
left: 20%; |
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
# Test URI | |
# Ignore netbeans folder | |
nbproject/* | |
# Ignore private folder | |
/app/private/* | |
!/app/private/empty | |
# Ignore packed asset files | |
/app/webroot/css/packed/* |
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
/** | |
* Action method used to import talks | |
* | |
* @return void | |
*/ | |
public function import() | |
{ | |
// Build and initialize needed variables | |
$csv = $this->request->data['Talk']['csv']; | |
$error = null; |
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
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_URI} !^/blog.* | |
RewriteCond %{REQUEST_URI} !-f | |
RewriteRule ^$ app/webroot/ [L] | |
RewriteCond %{REQUEST_URI} !^/blog.* | |
RewriteCond %{REQUEST_URI} !-d | |
RewriteRule (.*) app/webroot/$1 [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
# CakePHP | |
/app/tmp/* | |
/app/Config/database.php | |
/app/Config/core.php | |
!empty | |
/plugins | |
/vendors | |
/app/webroot/coverage/* | |
/tmp/* | |
/app/Plugin/* |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!-- Generated by PHP Project Wizard (PPW) 1.0.4 on Mon Jul 30 14:22:42 IST 2012 --> | |
<project name="hourli2" default="build" basedir="."> | |
<property name="source" value="app"/> | |
<target name="clean" description="Clean up and create artifact directories"> | |
<delete dir="${basedir}/build/api"/> | |
<delete dir="${basedir}/build/code-browser"/> | |
<delete dir="${basedir}/build/coverage"/> |
OlderNewer