The studend-computer-club “SysRq” debuts in the local newspaper

Just read the newspaper or wait until nightfall to read it all in this post!

Hotfix for wordpress-bug #8368

Created a little userscript wich adds a button to update the date of a wordpress-post from then to now, as this is not present in the current version and will not be implemented in the next one.

Open me to see code

// ==UserScript==
// @name WordPress publish now button
// @namespace http://kristerberntsen.no
// @icon http://s.wordpress.org/about/images/logos/wordpress-logo-notext-rgb.png
// @description WordPress hotfix for bug #8368 (http://core.trac.wordpress.org/ticket/8368)
// @copyright 2011+, Krister Berntsen (probeus @ https://github.com/probeus)
// @license (CC); http://creativecommons.org/licenses/by-nc-sa/3.0/
// @version 0.2
//
// @include */wp-admin/post.php*
//
// Thanks to Vegard Langås (sjefen6 @ https://github.com/sjefen6) for motivational support and finding the right IDs in wordpress.
//
// ==/UserScript==

//Get the element of the

inside #timestampdiv
var targetDestination = document.getElementById(“timestampdiv”).getElementsByTagName(‘p’)[0];
//Save the old html-content
var oldHTML = targetDestination.innerHTML;
//Generate the new html
var newHTML = oldHTML + ‘Now!‘;

//Replace old html with new html
targetDestination.innerHTML=newHTML;

//Find and set eventlistener to the button
var buttonId = document.getElementById(“useditDateNow”);
buttonId.addEventListener(‘click’, function() {changeDate();}, false);

//Function to update wordpress values with the hidden current values.
function changeDate(){
document.getElementById(‘mm’).value=document.getElementById(‘cur_mm’).value;
document.getElementById(‘jj’).value=document.getElementById(‘cur_jj’).value;
document.getElementById(‘aa’).value=document.getElementById(‘cur_aa’).value;
document.getElementById(‘hh’).value=document.getElementById(‘cur_hh’).value;
document.getElementById(‘mn’).value=document.getElementById(‘cur_mn’).value;
}

You can find the userscript at userscripts.com

NASA successfully built the first twitter-from-space robot.

Whats better than a twitter-bot? A real twittering robot. Whats better than that again? A real twittering robot in space!

R2 Twittering from iPhone

R2 Twittering from iPhone (Photo: NASA)

When NASA don’t have enough money to make a moon-base or travel to mars, they spend what they have into something that may make the public more interested in the universe and start asking government around the globe why we aren’t using more money on this stuff.

For not so long ago they added a more-or-less permanent staff at the International Space Station called R2. R2 will be NASA’s test dummy for robotics in space, but more interesting for the normal citizens is the fact that this robot can type twitter-messages from hes own smartphone courtesy of NASA.

So head over to @AstroRobonauts twitter-profile and see whats up in space!