Skip to content

Instantly share code, notes, and snippets.

View raulsalinas's full-sized avatar
:octocat:
Focus

Raúl Salinas raulsalinas

:octocat:
Focus
View GitHub Profile
@ralphcrisostomo
ralphcrisostomo / array_dupplicate_counter.js
Created July 19, 2012 07:43
Javascript: Count duplicates in an array
/**
Problem:
You have a javascript array that likely has some duplicate values and you would like a count of those values.
Solution:
Try this schnippet out.
*/
@pjotrp
pjotrp / convert.rb
Created September 30, 2011 09:36
Ruby snippet to convert Foxpro file to SQLite or MySQL
# Ruby script to convert Foxpro file to SQLite or MySQL
#
USE_SQLITE3 = false
require 'rubygems'
require 'dbf'
require 'active_record'
if USE_SQLITE3