I kinda lost the motivation to blog for the last little while. I’m blogging now because I’m nowhere near to going to sleep, and I have to get up in two hours anyway.
Just as I was feeling completely sick of working for myself, my previous boss called me and offered me my old job back and I accepted which was convenient and good for both of us. So I’m back at Overdrive slogging my guts out every day, working from home and building awesome websites. Not having to worry about work hours or schedules is brilliantly refreshing.
After 25 years I now officially have a girlfriend. I’m in a relationship for once, and not just shagging some bird and then getting ditched. My lady’s name is Sam and she’s delightfully kindhearted and easy to get along with (most of the time). I’ve got high hopes for us.
I completed a Battle Fitness Test at Kenora Armouries today for the Canadian Forces. Every reserve soldier has to do it once a year – 13km rucksack march followed by a fireman’s carry across 100yards. I completed it fourth to last and was 3 laps around the parade square behind the main group. The damn floor was slippery as hell and everytime I went to step forward my other foot would slip as I was bringing it up which made things worse. Apparently I went beetroot red and then started to go white. I need to work on my cardiovascular fitness.
I also ordered Seasons 1-7 of the tv series from England called ‘Spooks’. All I will say is… I do not regret it at all!
Band of Brothers ROCKS!
Today I had the opportunity to talk to an acquaintance about the benefits and advantages of life in the Army. A bit of explanation about the fact that nobody is ever made redundant in the military and that it’s a guaranteed income was supposed to convince her to give it a try.
She then went off on the same ol’ looney left liberal spiel about shooting people is always the last answer. The same infuriating blinded point of view that is seen in so many stupid people. It makes me want to smack people around when they spout all that bullshit about war isn’t necessary and shooting people is not the answer.
I told the person I was talking to that her point of view would get her about five feet in the deserts of Afghanistan against a murdering suicide bomber. I explained that my point of view would get me considerably further and give me a much greater chance of living than hers would give her.
Trying to impress upon someone that serving in the military is an act of citizenship, a display of a sense of duty and caring towards innocent fellow human beings, is enough to make almost anyone want to slap somebody.
We both agreed that there will never be peace in the world and there will always be bad people. She said Read more...
A couple of weeks ago I bought a cheap M4 Airsoft rifle from Walmart for about $100. Needless to say I was hooked – which I didn’t think would happen considering I’m a member of the Canadian Forces and can handle any of the M4 / C7 variants with ease. I’ve been out shooting Tim Horton’s cups in my porch and taking a microwave packing box full of polystyrene to the parking lot of Two Bears Marina and shooting the shit out of it (I shoot out towards the water for safety).
Anyway… so almost immediately I felt the need for something more powerful and better quality. I went and checked out 007 Airsoft to see what Ken had. Needless to say I was rather excited by his range of Airsoft weapons – it’s only too bad some of them are available to law enforcement or licensed movie production companies.
Canadian law basically states the lower receiver has to be clear plastic. If you look closely in the picture you’ll see the lower receiver on the weapon I bought is tinted dark so it’s a bit more realistic.
It has an anodized aluminum upper receiver and detachable carrying handle, tinted clear glass fiber reinforced C8 lower receiver conforming to Canadian regulations, CNC Aluminum RIS unit, a Nylon fiber pistol grip, railed vertical grip, RIS panels, retractable crane stock (holds battery) with two styles butt plates, 14mm threaded aluminum CNC outer barrel, iron chamber block, 6.05mm tight bore inner barrel, a metal one-piece hop up chamber, ultra high torque motor, 300rd high capacity magazine,
The gear box has an M120 spring, steel gears, 8mm ball bearings, aluminum cylinder, aluminum cylinder head with double o-rings, reinforced nylon fiber piston with steel teeth, aluminum piston head with bearings, aluminum bearing spring guide, POM nozzle with internal o-ring, high temperature wires.
Steel furniture includes charging handle, magazine catch, bolt catch, selector, front sight, and flash hider. The other metal parts are rear sight assembly, trigger, ejection port cover, trigger guard, magazine, front/rear sling mounts, forward assist knob, steel motor pinion gear, and locking body pins.
The best part is the velocity is 400fps using 0.20g plastic BBs. I can’t wait to get out and start shooting helpless little moggies. I’m also going to check out Xtreme Tactics in Winnipeg and kick some serious ass – show some of those newbie punks how British dudes with a rifle get busy!
Oh yeah… Call of Duty 4 : Modern Warfare 2 kicks serious arse. Every review I heard about it was positive – the reputation was well worth it.
I’m constantly looking and re looking for various tiny tricks and tips I’ve used over the years on multiple WordPress powered websites. I’ve grown sick of trying to remember which sites, and so I’ve spent a few hours compiling this list. This list is primarily for my own use, but if you should find it helpful… then knock yourself out
This list will definitely be expanding so I can use it for a one-stop-shop for every website I build.
But for now folks.. I hope you find this stuff useful.
I’d love to hear from people if anyone uses these… so leave a comment!
You plum!
<a href=”<?php echo get_page_link(1);?>”><?php echo get_the_title(1) ?></a>
This will output a single dynamic link to a post or a page.
<a href=”<?php echo get_category_link(1); ?>”><?php echo get_cat_name(1); ?></a>
This will output a single dynamic link to a category.
If you don’t have a functions.php in your WordPress theme, create ‘functions.php’ and add this function to it.
function wp_delete_post_link($link = ‘Delete This’, $before = ”, $after = ”)
{
global $post;
if ( $post->post_type == ‘page’ ) {
if ( !current_user_can( ‘edit_page’, $post->ID ) )
return;
} else {
if ( !current_user_can( ‘edit_post’, $post->ID ) )
return;
}
$link = “<a onclick=\”return confirm(‘Are you SURE you want to delete this post/page?’)\” href=’” . wp_nonce_url( get_bloginfo(‘url’) . “/wp-admin/post.php?action=delete&post=” . $post->ID, ‘delete-post_’ . $post->ID) . “‘>”.$link.”</a>”;
echo $before . $link . $after;
}
Then add the following into your template within The Loop wherever you wish the delete link to go.
<?php wp_delete_post_link(‘Delete’, ‘ <strong class=”delete”>’, ‘</strong> ‘) ?>
Open ‘comments.php’ and look for the edit comment link which will be something like: <?php edit_comment_link(‘Edit’,’ [ ',' ] ‘); ?> and add the following after it:
<?php if (current_user_can(‘edit_post’, $post->ID)) { ?><strong>[ <a onclick="return confirm('Are you SURE you want to delete this comment?')" href='<?php echo wp_nonce_url("/wp-admin/comment.php?action=deletecomment&c=$comment->comment_ID&_wp_original_http_referer=" . wp_get_referer(), 'delete-comment_' . $comment->comment_ID.""); ?>'>Delete</a> ]</strong><?php } ?>
You should be able to put the code below into your functions.php… or into the html head of your theme:
<?php
$post_id = get_post($post->ID); // get current post or page
$slug = $post_id->post_name; // define slug as $slug
?>
Then use the following to echo the slug:
<?php echo $slug; ?>
Put this code into your functions.php:
function function_name() {
global $wp_query;
$thePostID = $wp_query->post->ID;
}
Then use the following to echo the Post ID:
<?php echo $post->ID ?>
I have an account in the United States with Associated Bank. The story is my former girlfriend Kellie Hunt (who is now apparently married to an extremely insecure dude) used to work at First Federal Bank in Kenosha, Wisconsin. A number of years later Associated Bank bought First Federal. The first thing I lost was the ability to use internet banking to check my accounts and stuff like that – because Associated Bank’s system used only Social Security numbers, and as I’m not an American resident I don’t have a SS number.
When the account was originally set up I was told that I would only be allowed to spend what I had in my account (no overdraft). I was given a Debit card with a MasterCard symbol on it. Turns out this is a very handy card to have as I can use it at Tim Horton’s to get coffee.
So anyway to cut a long story short… I called up yesterday to get a new card and found out I had USD$798 in overdraft fees. I was obviously livid which was made even worse to find out that the fees all stemmed from four transactions totalling USD$13. I told the guy on the phone to cancel the charges or close the account, and then I asked to speak to a supervisor. I got through to a nice lady who took all the information and sent it up the corporate ladder to a splendid lady called Jennifer Fox who is (I think) the Vice-President of Customer Service for Associated Bank.
Ms Fox zeroed my balance, removed those late fees and gave me back the deposit I’d made a few weeks earlier. She said that she’d looked at the account, saw the charges were small and knew right away I’d never have made those tiny transactions knowing it would cost $35 a time. Ms Fox also removed the ability to go overdrawn so now if I have a balance of $10 and try to swipe $11… the transaction will be refused (which is how I always figured my account functioned).
Ms Fox also had a web banking specialist in her office at the time and they set me up with web banking so now I can check my balance online.
Suffice to say I am very happy with the outcome. I’m very pleasantly surprised that Associated Bank cared enough about their customers to come to an agreeable ending. No doubt I’ll be referring customers whenever possible.
This badass website totally looks like a blog to me – whoever was in charge of approving it I think took bold steps!
To me this has similarities to Barack Obama’s website.
This has definite similarities between Barack Obama’s website and the Whitehouse website.
Everyone who isn’t a self-centred twit knows by now who Major Nidal Hasan is. If you don’t know (which means you’re a self-centred twit) he’s a Major in the United States Army who went on a killing spree in Fort Hood, Texas and killed thirteen soldiers. Whilst I suspect that he’s definitely going to be charged under military law and given the death sentence, I simply do not believe this attack was connected in any way to Islamic extremism.
I think that he was a man pushed over the edge by being forced into something he objected to. The death penalty is the only just punishment for that murdering bastard, but it’s clear a lot of people won’t even understand or care why he did what he did.
According to this story on CNN, Major Nidal Hasan wanted the military to allow Muslims to refrain from participation in the conflicts in Afghanistan and Iraq on the grounds of conscientious objection. This is by far the best suggestion I’ve ever heard and I simply cannot believe that someone with the rank of Major wasn’t listened to.
All of this could have been prevented if Major Hasan had been in the Army Reserve… because as I understand it Major Hasan then could have simply refused to go and nothing would have happened. As is demonstrated by the book ‘Fifteen Days’ by Christie Blatchford, at least in the Canadian Forces, it’s usually Reservists who are eager and willing to be deployed and so the Reservists who wanted to do a tour wouldn’t be deprived of the opportunity.
For a lot of people, websites are the first point of contact they’ll have with a particular organization/business/government entity. As with all groups I believe that the quality of the website should reflect the quality of the group. I’ve compiled a list of some political websites of various international government departments that I think are awesome. Read more...
Gordon Brown is a twat. A spineless jellyfish. I realise that his problem is common for most politicians, but it particularly bothers me in Gordy. One reason is he simply doesn’t have the charisma or charm needed to make people stand up and pay attention. He never has had that skill and public perception is hugely important for a politician.
In this recent news story about Lt Colonel Rupert Thorneloe – the most senior British officer to die in Afghanistan – it says Lt Col Thorneloe wasn’t happy about the amount of trips British troops are taking on the ground in Afghanistan. Some memos by him were published in the Daily Mail in which he warned about the increasing danger to British troops and the shortage of helicopters fit for ferrying troops around. Read more...
Design & Development: Just 2 Blokes