• Stars
    star
    301
  • Rank 138,451 (Top 3 %)
  • Language
    Ruby
  • Created over 14 years ago
  • Updated over 1 year ago

Reviews

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

Repository Details

Convert CSS Snippets to Syntactically Awesome StyleSheets code

css2sass

http://css2sass.heroku.com/

css2sass is a simple sinatra app which Convert CSS Snippets to Syntactically Awesome StyleSheets code.

It's heavily inspired by the html2haml app

Usage

  • Paste the CSS in the first box
  • click convert
  • Done!

API

json and xml.

Testing

See test/test_css2sass.rb

TODO

  • Flash warnings TODO:!
  • More tests.

Resources

Note on Patches/Pull Requests

Fork the project. Make your feature addition or bug fix. Add tests for it. This is important so I don’t break it in a future version unintentionally. Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) Send me a pull request. Bonus points for topic branches.

Copyright

Copyright 2009 Jose Pablo Barrantes. MIT Licence, so go for it.

More Repositories

1

active_paypal_adaptive_payment

PayPal Adaptive Payments for Active Merchant
Ruby
85
star
2

simple-auto-scroll

A speed-customizable auto-scroll Google Chrome extension.
JavaScript
84
star
3

emacs-monkeytype

Typing game/tutor for Emacs inspired by github.com/Miodec/monkeytype
Emacs Lisp
61
star
4

scrollable-quick-peek

Extends `quick-peek' Emacs package to allow for scrolling
Emacs Lisp
6
star
5

testr

Emacs quick and easy Ruby TDD
Emacs Lisp
6
star
6

yasnippets-jpablobr

custom emacs yasnippets
Emacs Lisp
6
star
7

f4r

Simple Ruby library for encoding/decoding and editing FIT (ANT+) binary files.
Ruby
6
star
8

cakeUnderControl

cakeUnderControl
5
star
9

yasnippets-jquery

yasnippets-jquery
5
star
10

cheat_fu

Quick cheat sheets (sh-based) command line tool.
5
star
11

emacs.d

My Emacs config
Emacs Lisp
5
star
12

anything-git-goto

Emacs git(1) based emulation of TextMate fuzzy file search.
Emacs Lisp
4
star
13

anything-git-grep

Emacs fuzzy git-grep(1)
Emacs Lisp
4
star
14

scdlr

A Sound Cloud Bash downloader that resumes and organizes DJs by directories.
Shell
4
star
15

anything-yasnippet-2

Emacs fuzzy match of current mode yasnippets
Emacs Lisp
4
star
16

stickyNotes

Sample Erlang web app from Beebole.com
Erlang
4
star
17

SkipjackComponent

Cakephp component for connecting to Skipjack API and submit credit card orders.
PHP
3
star
18

gem-etags

Automatic etags generation on gem install
Ruby
3
star
19

mp

Yes, precious, false! They will cheat you, hurt you, LIE.
Perl
3
star
20

sicp

Structure and Interpretation of Computer Programs Video Lectures by Hal Abelson and Gerald Jay Sussman
C
3
star
21

groupies-ftw

A simple google app engine CMS for music bands
JavaScript
2
star
22

playr

Ruby Interface for the Music Player Daemon 2
Ruby
2
star
23

kharites

Minimalistic publishing platform meant for developers/designers written in Sinatra framework (sinatra.rubyforge.org)
Ruby
2
star
24

anything-rake

Quick listing and execution of rake tasks in emacs.
Emacs Lisp
2
star
25

camping-ajax-test

Prototypejs - Camping - AJAX tests
2
star
26

spree_paypal_adaptive_payment

PayPal Adaptive Payments to Spree store
Ruby
2
star
27

textual-numerals

Textual numerals web service test
Ruby
2
star
28

git-show

Emacs FAST and descriptive file search throughout your git(1) repo's history.
Emacs Lisp
2
star
29

helm-git-grep

Emacs fuzzy git-grep(1).
Emacs Lisp
1
star
30

ttycoke

Modifies the color set of a command-line program based on regular expression.
Ruby
1
star
31

inft13-345-ruby-blog

inft13-345 Ruby Blog is a minimalistic blogging software.
Ruby
1
star
32

html-starter

html template
JavaScript
1
star
33

yasnippets-formtastic

yasnippets-formtastic
1
star
34

wordpress-to-kharites

wordpress-to-kharites
Ruby
1
star
35

capone

Just another Ruby Sinatra/Camping framework alike
Ruby
1
star
36

yasnippets-sinatra

yasnippets-sinatra
1
star
37

act-as-gr

A GoodRreads books/reviews export script built out of frustration with their CSV export.
Ruby
1
star
38

jpablobr.github.com

1
star
39

.dwm

Personal dwm
C
1
star
40

refinerycms-supplier

Suppliers engine for Refinery CMS. It supports posts, categories and comments.
Ruby
1
star
41

jpablobr-dot-com-notes

jpablobr.com notes (shock!)
1
star
42

rack-html-base

Just a starter template meant to be a base for html, css, js only driven apps.
Ruby
1
star
43

cheat-fu-mode

Emacs mode for cheat_fu
Emacs Lisp
1
star
44

rxvt-unicode

personal fork of rxvt-unicode
C
1
star
45

anything-ack

Emacs fuzzy ack(1) search
Emacs Lisp
1
star
46

ruby-comint.el

Execute ruby processes and dump their results into a Emacs compilation buffer.
Emacs Lisp
1
star
47

anything-shell-commands

Emacs fuzzy match of available shell commands
Emacs Lisp
1
star
48

erlang-overview

A very basic Erlang overview presentation
Ruby
1
star
49

spree_mini_contact

Basically the easiest way to implement a Spree contact form.
JavaScript
1
star
50

simple-spawn

Simple processes spawner that makes scripting UNIX pipes a breeze.
Ruby
1
star
51

refinerycms-whatson

What's on engine for http://refinerycms.com. It supports posts, categories and comments.
Ruby
1
star
52

multi-staging-capistrano-config

Multi-staging environment for Rails using Capistrano and mod_rails
Ruby
1
star
53

perl-romans-decimals

A perl romans <=> decimals conversion sample implementation
Perl
1
star
54

Kharites-tools

Gem to provide several tools for Karites
Ruby
1
star
55

anything-ruby-mthds

FAST fuzzy search of Ruby objects methods for emacs.
Emacs Lisp
1
star
56

rddtfsq

A recursive directories data traverser meant to provide quick access to their content.
Java
1
star
57

cheat_fu_sheets

Cheats repository for cheats_fu sheets
1
star
58

spree_product_enquiry

Basically the easiest way to implement an enquiry by specific product on Spree.
JavaScript
1
star