• This repository has been archived on 31/Aug/2020
  • Stars
    star
    223
  • Rank 178,458 (Top 4 %)
  • Language
    Ruby
  • License
    MIT License
  • Created about 16 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A diff library that uses html tags to show differences
The code is this repo is very old and is here to be read and learned from. It is not maintained. 🕶

- - -

class Stuff

  class << self
    include HTMLDiff
  end
  
  # or extend HTMLDiff ?

end

Stuff.diff('a word is here', 'a nother word is there')

# => 'a<ins class=\"diffins\"> nother</ins> word is <del class=\"diffmod\">here</del><ins class=\"diffmod\">there</ins>'

Checkout the crappy specs for good examples. 

More Repositories

1

highlander

A proof of concept for storing an erlang process registry in zookeeper
Elixir
22
star
2

fetcher

Ruby
9
star
3

js_override_webview

A project showing how to inject javascript into a website and communicate back to the cocoa app
Objective-C
8
star
4

hickey

A wiki using sinatra, datamapper, and markdown ready to go on heroku (no users, some simple spam protections)
Ruby
8
star
5

rep

A library for writing representations of objects for pages and json apis
Ruby
7
star
6

authority

An OpenID Connect compatible authorization server providing a JSON API
Elixir
6
star
7

dot-files

My dot files ⚡️
Shell
6
star
8

dm-json-search

Search your models by creating queries in json or hashes! Great for complex search forms.
Ruby
5
star
9

factories

The simplest factories implimentation that works.
Ruby
5
star
10

straight_shooter

Easy web page screenshots on linux
Ruby
3
star
11

saxmachine

Cocoa code to help with SAX processing with libxml2
Objective-C
3
star
12

turbine

A blog. In Merb. With the best API.
Ruby
3
star
13

mashed

A Mash wraps a Hash to provide methods for it's keys
Ruby
3
star
14

zk_registry

Elixir
3
star
15

deploy-now

Deploy too zeit's now with an auto-aliased URL for the branch name for every push
JavaScript
3
star
16

workout

Build simple workflows or service objects
Ruby
3
star
17

myobie

My README
2
star
18

cloud

Ruby
2
star
19

barracks-promisify-plugin

Use barracks where Promise is the async primitive instead of callbacks
JavaScript
2
star
20

nathanherald.com

Static website for nathanherald.com
HTML
2
star
21

presenter

A presentation tool that runs in the browser
JavaScript
2
star
22

turbine-core

Making sense of text (and other stuff soon)
Ruby
2
star
23

dm-imap-adapter

An adapter for DM that is 0.10/next compliant (and very unfinished)
Ruby
2
star
24

nathanherald-blog

My blog I am building with turbine-core
Ruby
2
star
25

saxmachinetest

A test project showing how SAXMachine works
Objective-C
2
star
26

grid-plugin-updater

Ruby
1
star
27

vim-config

My .vim folder (includes my .vimrc and .gvimrc)
Vim Script
1
star
28

mongol

Simple Mongo ODM
Ruby
1
star
29

indexeddb-transaction-example

Some notes about what I've learned about indexedDB transactions
JavaScript
1
star
30

class_actress

Ruby
1
star
31

fancy_command

Wrapper around Open3 making it easier to live-stream command output and chain commands together.
Ruby
1
star
32

Serialize

Swift
1
star
33

gen_persisted_server

Elixir
1
star
34

sqlite-wasm-test

Just testing some stuff out
TypeScript
1
star
35

ecommerce_class_example

A crappy php e-commerce site I created as an example for my class
PHP
1
star
36

whatthehook

whatthehook.com
Elixir
1
star
37

boarderland

Show progress on your Wunderlist projects on all one page
Ruby
1
star
38

rake-tilde

Run rake tasks when files change. No changes necessary to your Rakefile.
Ruby
1
star
39

ham_parser

Elixir
1
star
40

vim-toothpaste

Vim Script
1
star
41

spaghetti

A blog written in spaghetti style php
PHP
1
star
42

fulltext-ajax-search

A book search with ajaxy goodness.
PHP
1
star
43

sinatra-scope

Scopes, Resources, and URLs for sinatra
Ruby
1
star
44

eedb

Copy your DB for EE to or from a remote server.
Ruby
1
star