start new:
tmux
start new with session name:
tmux new -s myname
================================ | |
The GeoJSON Format Specification | |
================================ | |
:Abstract: | |
GeoJSON is a geospatial data interchange format based on JavaScript Object | |
Notation (JSON). | |
:Authors: | |
Howard Butler (Hobu Inc.), |
// -------------------------------------------------------------------------------------------------------------------- | |
// <copyright file="AutoAttachVs.cs" company="QutEcoacoustics"> | |
// All code in this file and all associated files are the copyright and property of the QUT Ecoacoustics Research Group (formerly MQUTeR, and formerly QUT Bioacoustics Research Group). | |
// </copyright> | |
// <summary> | |
// Example taken from this gist. | |
// </summary> | |
// -------------------------------------------------------------------------------------------------------------------- | |
#if DEBUG |
/** | |
CSS clearfix | |
The problem happens when a floated element is within a container box, that element does not automatically force the container’s height adjust to the floated element. When an element is floated, its parent no longer contains it because the float is removed from the flow. You can use 2 methods to fix it: | |
{clear: both;} | |
clearfix | |
Once you understand what is happening, use the method below to “clearfix” it. |
//Decodes Base64 | |
#include <openssl/bio.h> | |
#include <openssl/evp.h> | |
#include <string.h> | |
#include <stdio.h> | |
int calcDecodeLength(const char* b64input) { //Calculates the length of a decoded base64 string | |
int len = strlen(b64input); | |
int padding = 0; |
/* | |
* Let's say we have a collaborater with a 'show' function. The instance under test is going to invoke | |
* this function and pass two arguments: 'parameters' and a callback function. We often want to either | |
* do some inspection on the 'parameters' to make sure they're right, or invoke the callback to verify | |
* behavior after the callback, such as after an XHR returns. | |
*/ | |
describe("someFunctionThatInvokesOurCollaborator", function () { | |
var instance, | |
TemplateResource; |
var Vector = (function () { | |
function Vector(x, y, z) { | |
this.x = x; | |
this.y = y; | |
this.z = z; | |
} | |
Vector.times = function (k, v) { | |
return new Vector(k * v.x, k * v.y, k * v.z); | |
}; |
A HTML/CSS Class Naming Convention for Scalable/Modular CSS.
# <type>: (If applied, this commit will...) <subject> (Max 50 char) | |
# |<---- Using a Maximum Of 50 Characters ---->| | |
# Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |