Testing the New Digg
To auto-submit my blog posts to the new digg I need to publish this key : a80eb0b39ad7421e8f52c699ec4a68b6
…so.. nothing to see here, move along please…
To auto-submit my blog posts to the new digg I need to publish this key : a80eb0b39ad7421e8f52c699ec4a68b6
…so.. nothing to see here, move along please…
I wanted to run a custom query against WP3.0 custom post types but all the documentation and google I found all pointed to posts in categories which doesn’t work if your post type isn’t post, this was my solution….
$my_query = $wp_query->query; // Copy the existing query into a new one $my_query['posts_per_page'] = "30"; // change the number we want displayed. $my_query['orderby'] = "title"; // Sort by title. $my_query['order'] = "ASC"; // 'A' first! query_posts($my_query); // Run our query.... normal service resumes.
Hopefully this post will give someone the light bulb moment they’re after.
My daughters new iPod Shuffle was skipping tracks after only playing the first 5 to 20 seconds. After a load of googling and trial and error I worked out that my being cleaver approach of lowing the track bit rate to squeeze more tracks in was the mistake… you need to ensure that all files are at least 128k.
Yep, that QR code should point you back to linickx.com… that’s my first play with the google charts API… humm, what next??
This hit my feed reader this morning…
Can’t drive? Ford’s new Curve Control safety system is just for you!
What made me laugh was the authors ‘take’ on Ford making things safer for the ‘less skilled’ driver
You’re on a network with only HTTP/HTTPS access to the internet… you’ve got OpenVPN setup to tunnel all your traffic out via HTTPS…. but you still want to access the local LAN?
All the OpenVPN client is doing is changing the routing table on the OS (netstat -nr / route print) you’ll see that the route to the OpenVPN server is in there and the default gateway is the OpenVPN tunnel interface, to connect to the local LAN simply add a route via the “local gatway”, i.e. the same gateway used to get to the vpn server.
Cool eh? Reverse-split-tunneling!!!
I wonder if anyone else finds this a bit irritating…
This new “spatial” user interface presents just one window for each folder, and remembers their location and size.
Now…
Nautilus features a number of user interface changes including a new split view mode and is now set to browser mode by default, replacing spatial mode.
Is this progression or development in circles?
This hit my feed reader this morning…
Atsec information security is pleased to announce the successful Common Criteria Certification of Mac OS X Snow Leopard at EAL 3
Reference: http://www.atsec.com/us/news-atsec-apple-mac-os10-6-common-criteria-evaluation-snow-leopard-184.html
It took me a few minutes to find it, but if you want a certifiably secure mac you need to follow Apple’s Admin Guide on their Common Criteria page, I know what I’ll be doing later
It took me a couple of Googles to work this out… I have a Belkin f5u103v USB-to-Serial adapter and needed a console connection to a Cisco switch.
To get started install this driver from apple (I think it needed a reboot).
If this was successful when you connect the USB-to-Serial you’ll be asked if you want to setup a modem / network connection… say no. From a terminal you should now see a new device similar to mine…
NickBook:~ nick$ ls /dev/cu* /dev/cu.Bluetooth-Modem /dev/cu.PL2303-00001004 /dev/cu.Bluetooth-PDA-Sync NickBook:~ nick$
The PL device disappears when I unplug the USB adapter. Next you then need a copy of minicom, I installed macports and did port install minicom.
Since I don’t want to re-invent the wheel now go to http://www.macosxhints.com/article.php?story=20040521145713551 and Start at STEP 3 to configure minicom (Obviously you’ll replace /dev/cu.USA19QI191P1.1 with something similar to /dev/cu.PL2303-00001004 ) once finished you’ll be set.. happy terminal session!
It’s been a bit quiet on here; x-mas was “louder” than normal there seemed to be more to do than normal and I forgot to schedule some seasons greetings on the 25/12 & 01/01 so my apologies. I’ve acquired extra time-sinks, I’m now a MAC Fanboy as I’ve brought a shiny new toy (expect mac related posts)
. My Cisco Certification is due for renewal so I really really should study and I have “Project R” which is a weekend project … basically a website for a friend…. oh and thanks to all the recent snow around here the car really needs a clean!
So, I should get on, get organised and be grateful that this time-sink helps organise my thoughts.
I’ve recently received this message thru my contact form, now it is either a very odd spam/phishing message or Edgar made a mistake on his email address as the domain doesn’t exist. Either way I’ve been asked QU 2 before so here’s my response while I update the FAQ
Dear Creator of Plugin, thank you very much for your great job. I am trying to use it in web site.
i am trying to use your plugin LINICKX LifeStream v0.2 and i have 2 questions.
1. I inserted 23 URL of Feeds but plugin loading only 3 of them, why?
2. Could I load also content of posts, if yes than how?
great thanks!
best regards
Edgar
Actually Edgar I’ve only tested with about 5 feeds, so I will load up my test site and see what happens, it could be possible that your feed 4 is corrupt and blocking the rest.
If you wish to create posts from feeds see FeedWordPress by Charles Johnson, I was planning to include this functionality but issues mean that now I’m not bothering, see line L236 of run.php, feel free to submit a patch if you can fix it.
Festive Regards,
This issue wasted an hour of my life
Recently users visiting google mail via the bluecoat proxy started complaining of popups which said…
Your request is being scanned for security purposes
Instead of “botching” it on the blue coat I offered my users a work around… something that they should be doing anyway… switch on encryption…. So within gmail -> settings -> general, tick the box…
This did the trick, my users mail is now more confidential than it was before and there were no more pop-ups
I’m learning a lot with this plug-in development, it seems to be a lot more difficult than stuff I’ve done in the past.
In just a few days I’ve had to push out 3 bug fix releases! 0.1.3 has fixed the following..
0.1.2 broke auto updates.
Basically there was an error message in the dashboard that a user was complaining about, upon fixing this I realised that auto-updating stopped working… I’m using cron updating so I didn’t spot this right away. I have now re-tested auto updates, and it is working for me in 0.1.3
Execution timeout issues
linickx.com was having execution timeout issues, i.e. the script was being terminated by a low value in php.ini. set_time_limit(20) now happens before each fetch_feed to give each http request an extra 20seconds of execution time, I’ve also setup an is_running variable so multiple fetchs don’t happen at the same time, this should fix the multi-post issue I’m having here too!
config.php
I’ve also introduced a config.php so that upgrades do not overwrite $WPDIR set by users. It’s become apparent that users want to use cron to update their feeds, since run.php gets overwtitten on every upgrade then users would need to re-edit the file, this would become quiet annoying. Copy config.sample.php to config.php and users shouldn’t have to worry about upgrades breaking this as the package will be re-pushing the sample leaving your file un-changed… this is exactly how WordPress handle this issue in the core.
Fingers Crossed!
I’m hoping that’s the end of the bug fix releases and I can get on with Version 0.2 will be a feature release
So the first few issues are flowing in… the package on wordpress.org didn’t work… I developed the plugin in a folder called lnx_lifestream but wordpress.org’s fancy system changed the path to linickx-lifestream – DOH!
There was also an FAQ missing from the readme.txt, ie how to resolve the error message…
Can’t find WordPress, edit $WPDIR in run.php
This has now been fixed (link to faq)) but does shed light on a new issue… any changes to run.php get over-written on upgrades, I will need to think of a new plan to overcome this!
Colleagues have noticed that in my spare time at work I’ve been “getting my geek on!” the definition being a vi window of code on one screen and google open in the other
Linickx LifeStream will be a new WordPress plugin which allows you to life stream ANY feed. I’ve been having issues with FeedWordPress and to be honest it didn’t really do what I wanted; now there are already may wordpress lifestream plug-ins, but mine will be different.
Difference 1: The plug-in isn’t service dependant… i.e. you don’t stream your twitter account or your LastFM account, you stream the feed. What this means is that when tomorrows-wizzy-new-service is launched you don’t have to wait for me to update the plug-in. It also means you can stream odd stuff, such as I’m going to stream my commits to the WordPress plug-in repo
Difference 2: No Requirements. The requirements for this are the same as the WordPress requirements. What this means is yes it works on PHP4 and no you don’t need a separate installation of simplepie.
Difference 3: No Lifestream Pages, extra databases or tables. LifeStream feeds get created as “normal” WordPress posts, so if you digg something a post is created and you can do all the normal things like tag & categorize the post.
I’m in the process of finishing the package and installing the plug-in here on linickx.com but when it’s ready you’ll be able to…
Download LINICKX LifeStream Here
With a little luck I’ll be able to remove this annoyance and directly stream delicious and get google reader working again.