Skip to content

Instantly share code, notes, and snippets.

var dao = require('../dao');
/*dao.getSnippet('517f52b5a387f28417000001', function(doc){
console.log(doc);
});*/
/*
dao.createSnippet({
title: 'Test2',
content: 'System.out.println("Hello world !")',

The problem

While I was configuring Ruby on Rails in a Red Hat (CentOS) with RVM I found a problem with the library libffi-devel because the package wasn't available via yum install, after search for a couple of days I found this solution.

Add rpmforge as a repository

  1. Create a repo file in /etc/yum.repos.d/rpmforge.repo, you need to be an admin

  2. Copy the follow text.

#Name: RPMforge RPM Repository for Red Hat Enterprise 5 - dag

@joeyhacker
joeyhacker / network
Created July 27, 2014 05:22
Openwrt network config
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd65:e21a:0de7::/48'
config interface 'lan'