TweetShrink gem for Ruby

TweetShrink's API is so simple that this gem barely adds anything on top of HTTParty, but here it is.

require 'rubygems' require 'tweetshrink' t = TweetShrink.shrink "One wonders why" # t['difference'] => 4 # t['text'] => "1 wonders y" # t['original_text'] => "One wonders why"

You can get it from my github account, here, or via rubygems like

$ sudo gem install logankoester-tweetshrink

Enjoy.

87 Comments

  1. Павел says:

    Сохранили нам кучу времени, спс.

  2. Яна says:

    Мне бы и в голову не пришло.

  3. Piano says:

    Piano…

    Megacool Blog indeed!… if anyone else has anything it would be much appreciated. Great website Enjoy!…

  4. Шокер says:

    За неимением лучшево, будем пользоваться этим.

  5. gde says:

    можно зделать маленький сборник.

    • Generic Cialis Online - Tadalafil

      Generic Cialis Online, Cheapest Prices Guaranteed
      Generic Cialis online is an orally administered drug for treating impotence (erectile dysfunction) marketed world-wide as Cialis. Buy Cialis online pills, which are yellow, film-coated, and almond-shaped for greater benefits.
      In December of 2003, the FDA approved Tadalafil for sale in the U.S. as the 3rd impotence prescription drug after Sildenafil (Viagra) and Vardenafil (Levitra). Generic Cialis' 36-hour effectiveness earned it the nickname: The Weekend Pill.

      Brand Name: Cialis Availability:In Stock
      Manufacturer: Cipla Average Delivery Time: 10 Days
      Exp Date: Jan-2012 Prior Prescription Required: No

      New Customer Returning Customer
      Quantity Strength Price Unit Price Price Unit Price
      40 Pill 20 mg $89.00 $2.23 $80.10 $2.00 add to cart
      75 Pill 20 mg $139.00 $1.85 $125.10 $1.67 add to cart
      110 Pill 20 mg $189.00 $1.72 $170.10 $1.55 add to cart
      190 Pill 20 mg $349.00 $1.84 $314.10 $1.65 add to cart
      300 Pill 20 mg $474.00 $1.58 $426.60 $1.42 add to cart
      Alternative Products
      Brand Manufacture Qty|Strength|Price
      Tadacip Cipla add to cartproduct detail
      Why Buy Generic Cialis Online
      Generic Cialis online is becoming one of the fastest selling medications for men who have mild problems with erectile dysfunction. It is the third medication of its kind to be released and it has really great benefits over the other medications used for this problem. In studies conducted, Generic Cialis has proven to work faster and longer than any of the rest available ED drugs nowadays.

      After taking a dosage of Generic Cialis, the effects start within thirty minutes and actually stay fully active for more than thirty hours. In some countries throughout the world, this pill is referred to as the 'weekender'. Now you too can have a whole weekend without the worry of something not working the way you want. You can be natural and not have to conform to some strict diet and time frame. Cheap Cialis allows you to eat and drink pretty much what you want with very little restrictions, without having to worry about the desired effect and reliability on your body.

      Generic Cialis Online Benefits
      Generic Cialis gives you an economic option to the brand name medication with the same results but saving you up to 80% off the suggested retail price making it a cheap Cialis. There is no better way to buy Cialis online when it comes to price and simplicity than this discount pharmacy. Buy Cialis online and try a new way of doing something that breaks the normal path and provides you the best service and quality you will ever find. Order Cialis today and enjoy the savings. You can also find Generic Viagra and Generic Levitra in our inventory and buy them with confidence through our Online Pharmacy.

      Why Buy Cialis Online At XL Pharmacy
      There is no need to argue when people say buy Cialis online at XL pharmacy. XL pharmacy has been in the drugstore industry long enough to be regarded as one of the best companies out there to order Cialis. XL sells only high quality cheap Cialis that transmits reliability, safety and ease to everyone looking for a generic solution to brand name pills. Besides, all meds including Generic Cialis are easily the cheapest pills on the Internet.

      Feel free to ask for Generic Cialis discounts, guarantees, special orders and other perks that XL has available for you such as: appealing discounts for returning customers, money back guarantees, reshipping, price match and more. Take advantage of the fast delivery, payment options and discreet packaging that only XL offers when you are looking to buy Cialis online at great prices.

  6. Вика says:

    Во это я понимаю, польза.

  7. Павел says:

    Норм. Только как..

  8. Павер says:

    Что-то я попробовал, ничего не получилось…

  9. What do you think ? Do I look hot ?

    You can see me here

    My Profile

  10. Do you find me hot ?

    You can see me here

    My Profile

  11. Rape porn says:

    Thanks for the informative article

  12. online says:

    шоб в новом году все было по новому

  13. tapakah says:

    Интересно, а где Вы материал взяли для этой статьи? Неужели из головы? :)

  14. плoxoЙ says:

    Я конечно в этом не особо разбираюсь, но после вашей статьи стал гораздо больше понимать. Благодарствую :)

  15. Pharmd757 says:

    Very nice site! [url=http://opeaixy.com/qsqasra/2.html]cheap cialis[/url]

  16. I want to bring to light - hold responsible you for this. My site - used monitors

  17. Is there any way you can remove me from that service?

  18. Pharmk439 says:

    Very nice site! [url=http://ypxoiea.com/ovyraqv/2.html]cheap cialis[/url]

  19. Pharma499 says:

    Very nice site! [url=http://ypxoiea.com/ovyraqv/2.html]cheap cialis[/url]

  20. Pharmb100 says:

    Very nice site! [url=http://ypxoiea.com/ovyraqv/2.html]cheap cialis[/url]

  21. Hello, how are you? I really like your blog! I am wondering if you can assist me (im certain other readers might also be curious). I would also like to get involved in creating a blog as well and I currently have a blog with one of the local blog websites, but i would like to also be able to make my own blog on my own web name with wordpress. As a wordpress webmaster yourself, do you perhaps maybe know were i can learn online tutorials to be able to do this myself?? Thanks Alot!

  22. Hoodia gordonii

    Hoodia gordonii, contains the active ingredient P57 a powerful appetite suppressant. Hoodia is a non-stimulant herb with no known adverse side effects. The natural combination of constituents in hoodia have a similar effect on nerve cells to glucose, “tricking” the brain into the sensation of fullness and reducing the release of brain chemicals that increase appetite and cravings. With a reduction of food, the body uses existing fat stores for energy.

  23. I enjoy the various articles that have been written, and especially the comments posted! This can be a

Leave a Reply