C Programming Part 1

C Programming - Part 1

I’ve been wanting to write a post about the basics of C programming language so here I am. We’ve heard it before from several or our nerdy colleagues – “Oh, I took a C programming class back in college, but I forgot all about it”. Well that’s because you obviously haven’t built many applications using C. To really know something in programming is to actually have done it.

I myself fall guilty of this – except I managed to salvage a C book at some random book donation. It was a super thick book, you just can’t imagine a C programming book being any other way. Its hardcover was in pastel yellow, inside was a pretty rough read. To be honest I only made it half way through the book, this was back in the mid 90s.

Continue reading “C Programming Part 1”

Linux Torvalds – The man behind Linux

Linus Torvalds - The man behind Linux

Sometimes you read things, you see things and use things – and you’re just amazed by it, every creation has its creator. There’s an artist behind a painting I can point too. I personally think I would be missing out if I thought otherwise. Now hey, you can believe otherwise and say things just appear out of no where but you’re really cutting yourself short of some really good stuff. And if you want to really dig in deep into something, then you’d consider the mind behind the machine.

Yeah I know what you’re thinking – who names anyone Linus? Well replace that “s” with an “x” in Linus and you get the most powerful open source operating system that’s ever walked the face of this earth – LINUX.

Continue reading “Linux Torvalds – The man behind Linux”

Mobile-Friendly Test by Google

Mobile-Friendly Test by Google

Googles’ rolled out with a new tool – Mobile-Friendly Test. At first I was a little skeptical about it like I am with any new thing – I question things before I start trusting it. It’s not that I’m resistant to change, that would be a bad thing – change is good. Change is growth.

In my consulting work, I noticed there has been a high demand for using this tool – mainly marketing agencies looking to further audit and optimize their client websites. A visual audit just isn’t good enough, meaning the obvious isn’t so obvious anymore just by visually testing a site on a mobile device. There’s a difference between how we see it and how Google sees it and let’s face it – Google owns everything. Sometimes I feel like Google is the AI (that’s going to take over the world) everyones been talking about.

Continue reading “Mobile-Friendly Test by Google”

Smooth Scroll with jQuery

Smooth Scroll with jQuery

Every now and then I get some really cool feature request, nothing too big – just something simple yet effective. Anchor links aren’t talked about much these days but they’re so useful in situations where you run into a really long website with a lot of content (or anything), you have to keep scrolling down just to get to the footer. Worse yet, what if the contact form is down at the footer – that’s a lot of wasted time, space and potential customers lost. Not a good thing.

The solution and probably the most simple and effective way is to add an anchor link. This can easily be done with plain HTML.

Continue reading “Smooth Scroll with jQuery”

Javascript Debugger Statement

Javascript Debugger Statement

I was working on a behemoth, yeah look it up – the word means monstrous and enormous in size. This project was more on the marketing side, so there were a lot of platforms mixing in with this project, one of them being Hubspot – a marketing software for managing leads. I’ve never worked with HubSpot before, but I was totally game.

In troubleshooting the underlying issue(s), I like to categorize projects like hurricanes – cat1, cat2, cat3, cat4, cat5. This one was a cat4. Partly because it’s history was so vague, the type of project where you’re shooting darts in the dark. But the other half was much simpler – I just had to get familiarized with Hubspot, but this is an entirely different topic. I went off tangent here for a bit. Moving on.

Continue reading “Javascript Debugger Statement”

Youtube Auto Loop a Video

Looping a Youtube Video

I was working on adding a few features to a pet project – one of them was allowing users to add a youtube video to their profile page. In order to this though, we need to get familiarized with youtube and a few parameters we already know.

A commonly known parameter is autoplay, if we set this to “1” – the youtube video will play automatically on an initial page load.

The general structure is illustrated below, get familiar if you aren’t already – this is a pretty cool feature.

Continue reading “Youtube Auto Loop a Video”

SCP – Secure Copy

SCP – Secure Copy Command (Unix)

We all know about FTP (file transfer protocol), FileZilla, Cyberduck and friends – utility tools that allow developers to transfer files between clients and servers. I’ve used FTP over a million times in my development career. From backing up files, migrations, or new fresh installations of some framework or CMS system – like WordPress.

Well there will be some situations where you you might need the help of Unix’s scp – or secure copy. This is a command you have to run so those of you that’s never fired up the terminal will need to get your hands dirty with it. Play around and run some commands and make some mistakes – well in a sandboxed environment, don’t want to totally delete your entire life’ work.

Continue reading “SCP – Secure Copy”

The target parent HTML attribute

The target parent HTML attribute

I love HTML. Love it so much I like to write about it in its purest form. Even attributes people don’t think about or won’t dedicate a single post too. I can’t count how many times I’ve used HTML’s target attribute in my development career. Everyone’s talking about concepts, frameworks, paradigm shifts and all that. I’d like to talk about the target attribute.

_parent isn’t used all too often in my experience, so I’m going to use it in my example below.


<a href="/some-page.html" title="The Title of this Hyperink" target="_parent">HyperLink</a>

Continue reading “The target parent HTML attribute”