Skip to content

Instantly share code, notes, and snippets.

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

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 Dec 12, 2015
traceroute 216.81.59.173 / tracert -h 100 216.81.59.173
View gist:4748192
1
2
3
4
5
6
7
8
9
10
@pcolombo
pcolombo / gist:4684699
Created Jan 31, 2013
IIS7 rewrite rule for Wordpress
View gist:4684699
<?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" />