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
<div id="lottefrisswidget" class="box-300 block-topprioritystory"><div class="box-inner"></div></div> | |
<script> | |
$.get('http://www.b.dk/helpers/feeds-getter/sporten.php?file=panasonic-lottefriis.xml', function(xml) //http://www.b.dk/helpers/feeds-getter/sporten.php?file=panasonic-lottefriis.xml | |
{ | |
var itemTitle = $(xml).find('item').eq(0).find('title').text(); | |
var itemImage = $(xml).find('item').eq(0).find('enclosure').attr('url'); | |
var itemLink = $(xml).find('item').eq(0).find('link').text(); | |
var imageExtension = itemImage.substr((itemImage.lastIndexOf('.'))); | |
itemImage = itemImage.replace(imageExtension, '-330x195'+imageExtension) |
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
$.getJSON('http://www.panasonicnordic.com/sharingthepassion/lottefriis/feed/', function (data) { | |
$(document).append('<a href="'+data.find('link')+'"><img src="'+data.find('enclosure')[0]+'"></a>'); | |
}); |
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
https://gist.github.com/3163502 |
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
error.accept.already={{RED}}This vote has not been initialized or you already accepted it | |
error.accept.unknown={{RED}}There is no such vote command | |
error.permissions={{RED}}You do not have permissions to use this command | |
error.force.permissions={{RED}}You do not have the permissions to use this command. Generally it is an admin command | |
error.notonserver={{RED}}{{PLAYER}} is not on this server | |
force.success={{GREEN}} Forcing event | |
muted=You are muted! | |
mute.broadcast={{PLAYER}} has been muted | |
mute.notmuted={{PLAYER}} is not muted | |
unmute.broadcast={{PLAYER}} has been unmuted |
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 |
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
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
/* | |
* 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
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
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 |