This file contains hidden or 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
/* Icons getting cut off*/ | |
span.event-type | |
{ | |
color: #6c6c6c; | |
} | |
.event_heading{ | |
color: #ffffff; | |
background-color: #464646; | |
margin: 15px -26px 0 -24px; |
This file contains hidden or 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
<b>Warning</b>: PHP Startup: Unable to load dynamic library '/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/memcached.so' - dlopen(/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/memcached.so, 9): Library not loaded: /usr/local/lib/libmemcached.10.dylib | |
Referenced from: /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/memcached.so | |
Reason: image not found in <b>Unknown</b> on line <b>0</b><br /> | |
<br /> |
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s background: #f06;#borders { | |
} | |
#borders | |
{ | |
position: relative; | |
border: 5px solid #f00; | |
} |
This file contains hidden or 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
# AddHandler php-legacy .php | |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
This file contains hidden or 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
# Use PHP5 Single php.ini as default | |
AddHandler application/x-httpd-php5s .php | |
RewriteEngine On | |
RewriteBase / | |
#For martinsjastad.com | |
# automatically redirect user to www.martinsjastad.com | |
RewriteCond %{HTTP_HOST} !^www\.martinsjastad\.com [NC] | |
RewriteRule ^(.*) http://www.martinsjastad.com/$1 [L,R=301] |
This file contains hidden or 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
class SGPro extends SGProPlugin { | |
function __construct() { | |
$url = explode("&", $_SERVER['REQUEST_URI']); | |
$this -> url = $url[0]; | |
$this -> register_plugin('slideshow-gallery-pro', __FILE__); | |
//WordPress action hooks | |
$this -> add_action('admin_menu'); | |
$this -> add_action('admin_head'); |
This file contains hidden or 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
function spawnRandomBalloons(te:TimerEvent):void | |
{ | |
var balloons:Array = [new mcBalloonPink(), new mcBalloonGreen(), new mcBalloonRed()]; | |
var rndm:int = Math.floor(Math.random() * 3); | |
trace(balloons[rndm]); | |
trace(balloons); | |
var theBalloon = balloons[rndm]; | |
theBalloon.x = 450; |
This file contains hidden or 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
private function _compare_timetable_events(models\Calendar $event_one, models\Calendar $event_two) | |
{ | |
if ($event_one->getUnit_id() == $event_two->getUnit_id() | |
&& $event_one->getType() == $event_two->getType() | |
&& $event_one->getClass_type() == $event_two->getClass_type() | |
&& $event_one->getTime_from() == $event_two->getTime_from() | |
&& $event_one->getTime_to() == $event_two->getTime_to() | |
&& $event_one->getTime_day() == $event_two->getTime_day() | |
) | |
{ |
This file contains hidden or 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
private function send_timetable_add_class($event, $calendar) | |
{ | |
echo "send_timetable_add_class <br/>"; | |
$user_from = $event->get_user(); | |
$unit_info_id = $calendar->getUnit_info_id(); | |
$qb = repo('Activity')->createQueryBuilder('a'); | |
$qb->where('a.user_from_id = :ufid') | |
->andWhere('a.type = :type') |
This file contains hidden or 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 $1 !^(index\.php|images|assets|robots\.txt) | |
# RewriteRule ^(.*)$ index.php/$1 [L] | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
### Canonicalize codeigniter URLs |