Skip to content

Instantly share code, notes, and snippets.

@pcolombo
pcolombo / gist:7f1fd498925b08ff002f
Last active August 29, 2015 14:18
Guide to use the Livefyre node.js library from the command line.

Using Livefyre's node.js Library from the Command Line

Livefyre's node.js library provides methods for common tasks for working with Livefyre. Some of these methods can be particularly useful for one-off tasks such as testing API calls.

This guide demonstrates how to use the Livefyre node.js library from the command line to assist in those tasks. It assumes you are familiar using the command line on your system of choice, but not necessarily node.js.

Install Node.js

Download and install node.js on your system from nodejs.org. Make sure that this is registered in your PATH/Environment variables so that the commands 'node' and 'npm' are available from the command line.

Install the library

@pcolombo
pcolombo / gist:4748192
Last active December 12, 2015 08:59
traceroute 216.81.59.173 / tracert -h 100 216.81.59.173
1
2
3
4
5
6
7
8
9
10
@pcolombo
pcolombo / gist:4684699
Created January 31, 2013 17:42
IIS7 rewrite rule for Wordpress
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Main Rule" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />