Sass-based Media Queries With Breakpoint

This post is not going to be talking about any old Sass media query mixin. No. We are going to look at the @import (formerly Team Sass) Breakpoint Mixin. In May, Hugo Giraudel wrote a post comparing various ways of handling media queries with Sass. He …

via Reme Le Hane

Sass-based Media Queries With Breakpoint

This post is not going to be talking about any old Sass media query mixin. No. We are going to look at the @import (formerly Team Sass) Breakpoint Mixin. In May, Hugo Giraudel wrote a post comparing various ways of handling media queries with Sass. He …

via Reme Le Hane

Mocking Dependencies in AngularJS Tests

AngularJS was designed with testing in mind. The source code of the framework is tested really well and any code written using the framework is testable too. The built-in dependency injection mechanism makes every component written in AngularJS testabl…

via Reme Le Hane

An Introduction to ChatOps: Devops Meets IM

This article is sponsored by VictorOps. Thank you for supporting the sponsors who make SitePoint possible!
Developers often use email as their primary mode of communication. Be it downtime alerts, 500 errors or repository commits — all of them are redirected to your email account so that everything can be found in a single place.
But email isn’t really suited to this kind of task. Email makes real-time communication difficult, and conversations can easily become unwieldy, with long delays and a lack of immediacy, particularly when you’re communicating with people in different timezones.
Chat, on the other hand, offers a more immediate way to resolve an issue. You can see who is online at a particular moment, you can share information with multiple people to receive feedback quickly, and you can even perform actions from right within the chat client, via integrations with services like GitHub’s Hubot.
We’ve come a long way from the days of Yahoo, AOL and Microsoft Messenger. Chat is no longer just a text-based interaction between two people — it’s developed into something more, something productive.
This article will cover the emerging trend of ChatOps, outlining some popular uses of chat in a devops setting, and then explain how you can take your ChatOps further with advanced integrations with VictorOps.
Let’s Chat
Popularized by GitHub, ChatOps is putting tools in the middle of the conversation. With development teams often distributed globally, there is a need for a centralized communication system which also automates certain processes like continuous deployment. GitHub started the trend with their bot, Hubot.
There are many popular chat applications in use in the tech industry. I recently wrote about using Slack for workplace collaboration, but HipChat is also popular. Most of the best chat clients offer direct messaging, multiple channels for different subjects or areas, and advanced file-sharing and integration abilities.
These apps are capable of making a world of difference to the development cycle. There are different chat-based tools and commands for different tasks, such as starting new instances of virtual machines, sending newsletters or deploying code to your main server. Traditionally, each of these tasks would involve working on different tools but with programmable chat bots these tasks can be performed by simple commands run on the chat application.
Imagine connecting with Amazon Web Services to spring up instances with just a single chat command, or deploying your latest commit to the server with the help of GitHub integrations. Or how about checking how many visitors your website has through an analytics system? Perhaps you’re just happy checking your team’s progress through Trello or Asana within your chat application of choice?
ChatOps can increase the efficiency of your team, saving time that would otherwise be wasted on redundant processes.
A standard chat app is certainly useful in improving developer communications. But when it comes to helping developer teams manage incidents, an integration with an on-call alert and management platform like VictorOps is even better.
Continue reading %An Introduction to ChatOps: Devops Meets IM%

via Reme Le Hane

OSQuery: Explore your OS with SQL

If the title sounds like a confusing hoax, that’s understandable – but it’s very, very real. In an announcement on October 30th, Facebook released OSQuery – a new way to inspect the current state of your OS X or Linux operating system by writing SQL queries.

At first, this might sound weird and your gut reaction might be a resonating “Why?!”, but upon further inspection, useful aspects become obvious. Let’s see how. In this post, I’ll tell you why it might be useful for you, show you how to install it, and guide you through doing some example queries on a prepared Vagrant box you can use if you’re not currently running OS X or Linux.
What is it?
I won’t regurgitate their announcement post – for implementation details see there. In a nutshell, OSQuery pretends to be a relational database and contains some “tables” (tables in quotes because they don’t actually exist as tables you’re used to in, for example, MySQL) which expose the OS data in a manner that makes it queryable by SQL statements (yes, including joins and the whole lot!).
Continue reading %OSQuery: Explore your OS with SQL%

via Reme Le Hane

Content Research: Getting the Most Out of User Surveys

The next step in our journey to research website content is to get qualitative: let’s look at user surveys.
How do you survey people about content?
Good question. The first thing we did was pick a specific piece of content that we wanted to understan…

via Reme Le Hane

On Our Radar This Week: i18n, React and Productivity

Welcome to On Our Radar, a weekly round-up of news, trends and other cool stuff from the world of web development. There was good news for Windows users and developers alike this week, as it was announced that Microsoft’s forthcoming Windows 10 operating system will ship with OneGet, a Linux-style package management framework. Upping the […]
Continue reading %On Our Radar This Week: i18n, React and Productivity%

via Reme Le Hane

Getting Clients from Social Media: 4 Things You Need to Fix

Most of the time, when social media marketing is discussed, it’s in reference to larger companies. But I often hear freelancers lamenting that their social media strategies don’t seem to be working for them, and they aren’t sure why. Here are four common reasons that you’re not getting clients from social media — with fixes […]
Continue reading %Getting Clients from Social Media: 4 Things You Need to Fix%

via Reme Le Hane

Daily Fitbit stats

My fitbit #Fitstats for 10/31/2014: 19,220 steps and 15.2 km traveled. http://www.fitbit.com/user/2B2XGR

Getting Clients from Social Media: 4 Things You Need to Fix

Most of the time, when social media marketing is discussed, it’s in reference to larger companies. But I often hear freelancers lamenting that their social media strategies don’t seem to be working for them, and they aren’t sure why. Here are four common reasons that you’re not getting clients from social media — with fixes […]
Continue reading %Getting Clients from Social Media: 4 Things You Need to Fix%

via Reme Le Hane

Follow

Get every new post delivered to your Inbox.