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"?> | |
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd"> | |
<cross-domain-policy> | |
<allow-access-from domain="www.yourcompanydomain.com" /> | |
</cross-domain-policy> |
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
http://adtech.panthercustomer.com/apps/17/Ad2867729St3Sz170Sq4044125V0Id3/300x250_lokalguidedk_s_gbla.swf?targetTAG=_blank&clickTarget=_blank&pathTAG=http%3A//adtech.panthercustomer.com/apps/17/Ad2867729St3Sz170Sq4044125V0Id3/&closeTAG=javascript%3AcloseAdLayer2182707%28%29&openTAG=javascript%3AopenAdLayer2182707%28%29&expandTAG=javascript%3Aexpand2182707%28%29&collapseTAG=javascript%3Acollapse2182707%28%29&clicktarget=_blank&clickTarget=_blank&clickTARGET=_blank&CURRENTDOMAIN=www.berlingske.dk |
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
<?php | |
class DownloaderComponent extends Object { | |
function download_file($file) { | |
$basename = basename($file); | |
$file_extension = strtolower(substr(strrchr($basename,"."),1)); | |
switch($file_extension) | |
{ | |
case "PLS": $ctype="audio/x-scpls"; break; | |
case "pls": $ctype="audio/x-scpls"; break; |
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
$statusWords = explode(" ",$data['text']); | |
foreach ($statusWords as $word) { | |
if (substr($word,0,1) == "@") { | |
$newWord = '@<a href="#">'.substr($word,1).'</a>'; | |
$data['text'] = str_replace($word,$newWord,$data['text']); | |
} | |
} |
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
function checkEmail($email) { | |
// checks proper syntax | |
if(preg_match("/^([a-z])([a-z0-9._])+([a-z0-9])\@([a-z0-9])*([a-z])+(-[a-z])*([a-z0-9])*(\.([a-z0-9])*([a-z])+(-[a-z])*([a-z0-9])*)+$/i" , $email)) { | |
// gets domain name | |
list($username,$domain)=split('@',$email); | |
// checks for if MX records in the DNS | |
if(!checkdnsrr($domain, 'MX')) { | |
return false; | |
} | |
// attempts a socket connection to mail server |
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
stop | |
2011-02-21 19:31:01 [INFO] CONSOLE: Stopping the server.. | |
2011-02-21 19:31:01 [INFO] Stopping server | |
2011-02-21 19:31:01 [INFO] Saving chunks |
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 beforeafter plugin | |
* @author admin@catchmyfame.com - http://www.catchmyfame.com | |
* @version 1.2 | |
* @date October 18, 2010 | |
* @category jQuery plugin | |
* @copyright (c) 2009 admin@catchmyfame.com (www.catchmyfame.com) | |
* @license CC Attribution-NoDerivs 3.0 Unported - http://creativecommons.org/licenses/by-nc-sa/3.0/ | |
*/ | |
// before image : $('div:eq(2)', obj) |
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
Controller: save() | |
if ($this->OpinionPoll->saveAll($this->data, array('validate' => 'first'))) { | |
$this->OpinionPoll->OpinionPollEntry->OpinionPollParty->saveAll($this->data['OpinionPollParty'], array('validate' => 'first')); | |
$this->redirect('/opinion_polls/view_poll/'.$this->OpinionPoll->id); | |
} else { | |
$this->Session->write('applicantdata',$this->data); | |
$this->redirect('/opinion_polls/add_poll/error'); | |
} | |
Model: OpinionPoll |
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
+ + + + + + + + + + + + + + + + + + + + + + + | |
Tectonicus | |
Version: 2.01 | |
Build 2465\:2477MP | |
Constructed on June 20 2011 at 2255 | |
+ + + + + + + + + + + + + + + + + + + + + + + | |
Started on Wed Jun 22 11:44:46 BST 2011 | |
System: | |
OS Name: Linux | |
OS Architecture: amd64 |
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
Som mange af jer nok ved fik vi "endelig" opdateret serveren til 1.8 her i går aftes og det var bestemt en nem og hurtig opdatering. Dette skyldes også at vores planer lidt er blevet trukket ud, for det var jo egentlig meningen at vi skulle generer en ny 1.8 verden, men det blev som I nok har opdaget ikke til noget. | |
Og hvorfor gjorde det ikke det? Jo, sagen er sådan at vi ventede "længe" på en stabil Minecraft 1.8 version fra Bukkit og faktisk så længe at 6 timer efter de havde frigivet en stabil version af 18 så annoncerede Nocth at de ville udsende en prerelease af Minecraft 1.9, hvilket både er en fed nyhed men også lidt irreterrende. Det er en fed nyhed i den forstand at vi nu får den fulde Adventure Update som vi alle har set frem til længe, men det også lidt irreterrende for en server som os fordi vi nu ikke ved om der kommer ventetid imellem de to versioner igen (I som brugere opdatere, vi som server må vente på bukkit). Dog ser det ud til at Bukkit allerede føler sig ret sikre på at de hurtigt vil ku |