Tutorial

How to Build Your Own Slack Bot Integration with Node.js

How to Build Your Own Slack Bot Integration with Node.js

It’s always nice to have a friend who can help you out once in a while. It’s even nicer to have a friend who can help you out 24 hours a day, who never gets tired or bored or sick, who is focused 100% on helping you do what you need to do. Slackbots can be such friends for you. Setting up a slackbot is easy, and we will show you how to build your own helpful slackbot in 7 simple steps: Get your Slack API Key Add a New “Bot User” Setup Your Project Import Dependencies Handle...

How to go from Mockup to Code Quickly and Efficiently

How to go from Mockup to Code Quickly and Efficiently

A quick and efficient process to go from mockup to HTML & CSS. As a frontend developer for over 7 years, I've had the pleasure of working in situations where I had no choice but to build things as fast as possible. Over time I developed a process that allowed me to move quickly from mockup to code, and that process is what I will be sharing in this post. I hope some of what I've learned to speed up my development will be helpful to you. Consider the following layout. How do you convert a layout like the one...

Concatenate & Minify Javascript with Gulp, Improve Site Performance

Concatenate & Minify Javascript with Gulp, Improve Site Performance

This tutorial is part of a series on Gulp: Getting Started with Gulp Javascript Task Runner Compiling SASS/SCSS to CSS with Gulp Concatenate & Minify Javascript with Gulp, Improve Site Performance When building large web applications, you'll find that your app may require LOTS of javascript files. Numerous requests for large files can slow site performance. With Gulp, we can improve the overall performance of our sites and applications by minifying our javascript to reduce the file size and concatenating our files to reduce the number of file requests. (If you need help installing Gulp, go back and read...

Getting Started with Gulp Javascript Task Runner

Getting Started with Gulp Javascript Task Runner

This tutorial is part of a series on Gulp: Getting Started with Gulp Javascript Task Runner Compiling SASS/SCSS to CSS with Gulp Concatenate & Minify Javascript with Gulp, Improve Site Performance As a developer how you work is just as important as what you are working on. You should be focusing on writing good code and reducing the overhead involved with building and serving your application. Gulp can can help you achieve this by allowing you to define and run automated tasks to compile, minify, build and serve your code. Gulp is javascript task runner. It has become the...

Simple log file processing in Python

Simple log file processing in Python

The other day I found myself in the unfortunate position of needing to scan through raw server logs to try and gather some information around a rare issue. Opening these log files in a text editor and doing a quick text search wasn't a great option: the log files had millions of log lines, were 500MB+ in size, and the text editors just gave up trying to search, multi-select, and extract the lines I needed. I've recently gotten into Python (initially as a requirement for a project at work), and while I still have a lot to learn, I have...