Skip to content

Instantly share code, notes, and snippets.

View lgs's full-sized avatar

Luca G. Soave lgs

View GitHub Profile
[~/rails]# git clone http://github.com/emk/mephisto.git
Initialized empty Git repository in /home/useraxis/rails/
mephisto/.git/
Getting alternates list for http://github.com/emk/mephisto.git
Also look at http://github.com/technoweenie/mephisto.git/
Getting pack list for http://github.com/emk/mephisto.git
Getting index for pack 61296801f735893a6a3bac4bcb92918da7afd2f8
Getting index for pack bb30279cd9b57f06234e65296575f6bdd67d294b
Getting index for pack 0f59906743506cb3b82db694e658aca64a5696a8
[~/rails]# date
Mon Dec 8 15:02:05 MST 2008
[email protected] [~/rails]# git clone http://github.com/emk/mephisto.git
Initialized empty Git repository in /home/useraxis/rails/mephisto/.git/
Getting alternates list for http://github.com/emk/mephisto.git
Also look at http://github.com/technoweenie/mephisto.git/
Getting pack list for http://github.com/emk/mephisto.git
Getting index for pack 61296801f735893a6a3bac4bcb92918da7afd2f8
Getting index for pack bb30279cd9b57f06234e65296575f6bdd67d294b
Getting index for pack 0f59906743506cb3b82db694e658aca64a5696a8
I was trying your last commit (5937110dfc19ee3775f22a66fddfb9ae686cc829) while I got
"NameError: uninitialized constant Scrubyt::Extractor::EventDispatcher" after gemification :
[~]# irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'mechanize'
=> true
irb(main):003:0> require 'hpricot'
=> true
[~]# gem install www-delicious
ERROR: Error installing www-delicious:
www-delicious requires RubyGems version = 1.2
[~]# gem sources
*** CURRENT SOURCES ***
http://gems.rubyforge.org/
http://gems.github.com
require 'rubygems'
require 'httparty'
require 'time'
require 'active_support'
File.read("#{ENV['HOME']}/.gitconfig").match(/token = (\w+)/)
TOKEN = $1
class Github
include HTTParty
CmdUtils.CreateCommand({
name: "delicious",
homepage: "http://ryan.codecrate.com/",
author: { name: "Ryan Sonnek", email: "[email protected]"},
contributors: ["Ryan Sonnek"],
license: "MIT",
description: "Tags the current site using delicious",
icon: "http://delicious.com/favicon.ico",
help: "Save the current url to delicious with the tags input by the user. Any selected text on the page will be recorded as the note.",
@lgs
lgs / gist:73335
Created March 3, 2009 14:21 — forked from ombran/gist:27407
require 'open-uri'
require 'xmlrpc/client'
require 'rexml/document'
require 'digest/md5'
require 'rubygems'
require 'json'
class SBM
# 初期設定
require "openssl"
require "net/smtp"
Net::SMTP.class_eval do
private
def do_start(helodomain, user, secret, authtype)
raise IOError, 'SMTP session already started' if @started
check_auth_args user, secret, authtype if user or secret
sock = timeout(@open_timeout) { TCPSocket.open(@address, @port) }
require 'gruff'
class GitCommitGraph
Author = Struct.new(:name, :email)
Commit = Struct.new(:hash, :author, :time, :insertions, :deletions, :files_changed)
attr_accessor :time_spacing, :built, :repository, :since, :name, :commit_hash
attr_accessor :scale_type, :width, :height, :graph, :graph_type