Skip to content

Instantly share code, notes, and snippets.

View jonalmeida's full-sized avatar
🦊
making browsers..

Jonathan Almeida jonalmeida

🦊
making browsers..
View GitHub Profile
@jonalmeida
jonalmeida / dlist.rs
Last active August 29, 2015 14:14 — forked from pythonesque/dlist.rs
use list::Node;
mod list {
use std::mem;
#[derive(Show)]
pub struct Node<T> {
pub data: T,
prev: Option<Box<Node<T>>>,
next: Option<Box<Node<T>>>

Description

This simple script will take a picture of a whiteboard and use parts of the ImageMagick library with sane defaults to clean it up tremendously.

The script is here:

#!/bin/bash
convert "$1" -morphology Convolve DoG:15,100,0 -negate -normalize -blur 0x1 -channel RBG -level 60%,91%,0.1 "$2"

Results

Business Models

Advertising

Models Examples
Display ads Yahoo!
Search ads Google