Quantcast
Channel: The Fluent Admin
Browsing all 10 articles
Browse latest View live

Silent Selenium Tests

X Virtual Frame Buffer (xvfb) is required for this The default is for Selenium to launch a browser for each test it runs. This gets really annoying when you’re trying to do other work. Fortunately,...

View Article



Git Basics

Git for svn users SVN Git svn checkout http://my.url.com git clone http://my.url.com svn status git status svn update git pull svn revert path/to/file git checkout path/to/file svn add path/to/file git...

View Article

Markdown Syntax Guide

The sections below contain examples of Markdown syntax. For a full list of all the Markdown syntax, consult the official documentation. Headings # This is an H1 ## This is an H2 ... ###### This is an...

View Article

How to Center things in CSS

Centering Lines of Text To center a line of text, be it in a paragraph or a heading, use the CSS property ‘text-align’. p { text-align: center }   h2 { text-align: center } renders each line in a p …...

View Article

Binary Tree Traversal in C

Let us begin with type definitions for binary trees and the nodes they contain typedef struct node *treeLink; struct treeNode { Item item ; treeLink left, right; } Also define visit() to be a function...

View Article


How to do a Merge Sort in C

The idea behind a merge sort is to keep splitting the array we’re sorting in half until there’s only one element. We then merge the array back together maintaining order. The code snippet below does...

View Article

How to do a Quick Sort in C

What is a Quick Sort When doing a quick sort on an array, we first pick a pivot (an element of the array to compare things against). We then reorder the array so all elements less than pivot come...

View Article

Graph Searching in C

There are two classic methods for searching all nodes of a graph (think of that like searching for something in a maze). They are breadth first search and depth first search. These functions assume the...

View Article


Operations on Queues in C

In programming terms, a queue is the same thing as a stack, but with a first in first out system rather than a first in last out system (as is the case with a stack). This post will cover a … Continue...

View Article


Operations on Stacks in C

The structure of a stack #define MAX_STACK 100 #define EMPTY -1   typedef struct _stack { int contents[MAX_STACK]; int topPointer; } stack; Creating a new stack void createStack (stack *s) {...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images