Karl

573 Flips | 13 Magazines | 106 Likes | 4 Following | 6 Followers | @Karlgb | Information Overload

Test-Driven Development (TDD): What It Is and How to Implement It

If good test coverage is the key to writing quality code, test-driven development (TDD) is the simplest means of achieving it. TDD is a software …

TDD

Coding Concepts! Cyclomatic Complexity

Cyclomatic what? Even spell check doesn't recognise the word, but it's a super useful software metric for understanding how your software …

Complexity

Linux firewalls: What you need to know about iptables and firewalld

This article is excerpted from my book, Linux in Action, and a second Manning project that’s yet to be released.<p>The firewall<p>A firewall is a set of …

Command-line

10 Free Open Source Tools for Creating Your Own VPN

As more people use the Internet everyday they are becoming more conscious about their privacy with regards to how much of the information they don’t …

Open Source Movement

A quick introduction to web security

A web developer’s primer on CORS, CSP, HSTS, and all the web security acronyms!Photo by Jose Fontano on UnsplashThere are many reasons to learn about …

World Wide Web

An A-Z of useful Python tricks

Photo by Almos Bechtold on UnsplashPython is one of the world’s most popular, in-demand programming languages. This is for many reasons:• it’s easy to …

Python Programming

Data Structure: sorting (basic)

Sorting basically means to arrange the data in a certain order, so it's easier for us to use those data. In this post, I'll talk about some basic …

Algorithms

Advanced Nmap: Top 5 Intrusive Nmap Scripts Hackers & Pentesters Should Know

Nmap is more powerful than you know. With a few scripts, we can extend its functionality beyond a simple port scanner and start to identify details …

Web Servers

How To: Use the Buscador OSINT VM for Conducting Online Investigations

For anyone using open source information to conduct an investigation, a balance between powerful tools and privacy controls are a must. Buscador is a …

Computer Hacking

Automating Linux Installation with Kickstart

What is Kickstart?<p>Installing Red Hat based systems from physical or virtual media is easy enough when there is only one or two hosts to install. …

Linux

What Is the Linux Kernel?

To casual users and less-than-hardcore fans, Linux is an operating system. To purists, however, the title "Linux" is reserved for the kernel that …

Linux

JavaScript idiosyncrasies

This is a collection of things in JavaScript that may not be well recognized, espcially to beginners.<p>Disclaimer: Some of these snippets are simply to …

JavaScript

How To: Discover Open Ports Using Metasploit's Built-in Port Scanner

One of the first steps in reconnaissance is determining the open ports on a system. Nmap is widely considered the undisputed king of port scanning, …

Forensics

The 8 Best Online Tech Support Resources For Linux Users

Being a Linux user can be confusing if you’re new to the platform. Especially if you’re used to being able to call up Apple support, or a Microsoft …

Linux

New Playground and Cheatsheet for Learning Python

I'm learning Python and I decided to create a repository where I could put Python script samples with standard Python syntax, structures and …

Python Programming

A Python Cheat Sheet For Newbie Coders

Startup Stock Photos<p>Python is one of the best programming languages to learn. As you get started, this one-page reference sheet of variables, methods …

Python Programming

10 PowerShell cmdlets to speed network troubleshooting

The right PowerShell cmdlets can help you identify network issues and resolve connectivity problems quickly and easily. Here are 10 to get you …

Array Chunking

By array chunking, I mean taking an entire array and creating one array containing smaller subarrays of the original array's elements. Not only is …

What makes the Python Cool.

This artice is about the cool feature available in python which makes the life easier for all of the python programmer.

Python Programming

Lists and Tuples in Python

<b>Lists</b> and <b>tuples</b> are arguably Python’s most versatile, useful data types. You will find them in virtually every nontrivial Python program.<p><b>Here’s what</b> …

How To: Beginner's Guide to OWASP Juice Shop, Your Practice Hacking Grounds for the 10 Most Common Web App Vulnerabilities

Web application vulnerabilities are one of the most crucial points of consideration in any penetration test or security evaluation. While some …

A Linux Sysadmin’s Guide to Network Management, Troubleshooting and Debugging

A system administrator’s routine tasks include configuring, maintaining, troubleshooting, and managing servers and networks within data centers. …

A sysadmin's guide to SELinux: 42 answers to the big questions

"It is an important and popular fact that things are not always what they seem…"<br>―Douglas Adams, <i>The Hitchhiker's Guide to the Galaxy</i> <br>read more

Mission Impossible

7 best practices for building containers

By Théo Chamley, Solutions Architect <br>Kubernetes Engine is a great place to run your workloads at scale. But before being able to use Kubernetes, you …

Flask Web Programming from Scratch

Complete guide for Flask 1.0 from scratch with SQLAlchemy and Postgres.<p>Choosing a web framework is one of the important and the most frustrating …

How To: Hack 200 Online User Accounts in Less Than 2 Hours (From Sites Like Twitter, Reddit & Microsoft)

Leaked databases get passed around the internet and no one seems to notice. We've become desensitized to the data breaches that occur on a daily …

Databases

An Extensive Guide to Long Exposure Photography

Brew up a fresh cup of coffee because Gordon Laing has an epic new video showing everything one needs to know to take some excellent long exposure …

Locking Down Linux: Using Ubuntu as Your Primary OS, Part 2 (Network Attack Defense)

After installing Ubuntu as your primary OS, you should have protected against USB Rubber Ducky payloads, defended against hard drive forensics, and …

Linux

How to setup log rotation for Docker container

<i>Originally posted on Boatswain Blog.</i><p>Sometimes working with Docker makes me feel like working with a black box especially when playing with the Docker …

Linux Fu: Watch That Filesystem

The UNIX Way is to cobble together different, single-purpose programs to get the effect you want, for instance in a Bash script that you run by …