teamon

  • Archive
  • RSS
  • Ask me anything

Good old C-style for loop in scala

Source: gist.github.com

    • #scala
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Handle exceptions inside Actor


and then

Source: gist.github.com

    • #scala
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Decompile scala

    • #scala
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Scala collections #collect

    • #Scala
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Disk image converter

  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

VM Icon Replacement

  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Octave for OSX 10.6

  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Scala remote actors

Server

Client

    • #scala
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Scala String replace

Worth remembering, thx to lopex

    • #scala
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

dwaite's gist-osx-service at master - GitHub

  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Run irb from file

In case I forgot.

    • #ruby
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

safari json formatter - must have!

    • #safari
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

Rails 3 remote update form

Rails 3 brings some nice unobstrusive javascript. This very short tutorial will show how to make simple yet powerful ajax update form.

First, grab jquery-ujs file (or gem). Next, create some model and REST controller.

Controller needs a small change:

Thats pretty self explaining: when object is valid send notice message, else send errors as json array.

View:

Only the :remote => true part is important.

Some JavaScript

This code will take remote form and register callbacks for showing loader, notice message and errors list.

And thats all, it simply works. And yes, you have to write CSS on your own ;]

    • #ruby
    • #rails
    • #javascript
    • #jquery
  • 1 year ago
  • 2
  • Comments
  • Permalink
  • Share
    Tweet

Quickly get some random image placeholders

Big thanks to placehold.it!

  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet

stJhimy - Improving TextMate "Go To File" function

Source: stjhimy.com

    • #textmate
  • 1 year ago
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 2 of 4

About

Ruby, Scala and others.

Pages

  • About
  • Projects
  • RSS
  • Random
  • Archive
  • Ask me anything
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr