AirPortClown: Simple MAC address spoof for Snow Leopard

So I found Ryans Automator to do this at iamthekiller but it was not 100% perfect, so I added some of JosteinB’s suggestions from his blog and out came an AppleScript Application called AirPortClown, which you can download here:

And it looks something like this:

The source code is of course included in the download. MacDaddyX didn’t work for me and aaspoof is Shareware.

If you're new here, you may want to subscribe to the RSS feed. Thanks for visiting!

Ähnliche Posts:
» Etwas mehr Privacy bitte (pgp, gpgmail, snow leopard, google suggest)
» Imagemagick on Snow Leopard
» (Snow) Leopard + Rails + Passenger + VirtualBox + Windows 7 and localhost
» http://discussions.apple.com/thread.jspa?threadID=2136007&start=30&tstart=0

Ähnliche Posts:
» AirPortClown: Simple MAC address spoof for Snow Leopard
» Imagemagick on Snow Leopard
» (Snow) Leopard + Rails + Passenger + VirtualBox + Windows 7 and localhost
» XML Sitemap Generator for Rails

(Snow) Leopard + Rails + Passenger + VirtualBox + Windows 7 and localhost

How do you test your Rails app in Internet Explorer? Crossover? Parallels? VMWare?

However, I use VirtualBox and Windows 7 and it turned out to work out of the box.

In your PassengerPrefPane just rename one of your applications to begin with “a”, so that it is alphabetically the FIRST entry! You can verify this by listing the contents of this directory:

/etc/apache2/passenger_pane_vhosts

The first one will be available on “localhost” in your Mac. That should be the application you would like to test in IE.

Now just boot up your Virtualbox with Windows 7 and hit 10.0.2.2 in the IE, and you will see that particular application.

Ähnliche Posts:
» Etwas mehr Privacy bitte (pgp, gpgmail, snow leopard, google suggest)
» AirPortClown: Simple MAC address spoof for Snow Leopard
» Ruby on Rails with Leopard (localhost, sites, mysql, rmagick)
» Imagemagick on Snow Leopard

Imagemagick on Snow Leopard

This is what the world has been waiting for:

http://github.com/maddox/magick-installer/tree/master

Because AFTER THAT you can sudo gem install rmagick

Ähnliche Posts:
» HowTo: ImageMagick + RMagick via Macports für Tiger
» Etwas mehr Privacy bitte (pgp, gpgmail, snow leopard, google suggest)
» AirPortClown: Simple MAC address spoof for Snow Leopard
» (Snow) Leopard + Rails + Passenger + VirtualBox + Windows 7 and localhost

render_nested_form Helper

Die in Rails 2.3 eingeführten Nested Forms haben mir am Anfang sehr viele Kopfschmerzen bereitet und tun dies immer mal wieder.

Dank schorsch vom SalesKing muss ich mir um diese Dinge keine Sorgen mehr machen.
Sein render_nested_form Helper übernimmt alles und hat ein paar sehr nette Options.

# Options are:
# * <tt>:new</tt> - specify a certain number of new elements to be added to the form. Useful for displaying a few blank elements at the bottom.
# * <tt>:name</tt> - override the name of the association, both for the field names, and the name of the partial
# * <tt>:partial</tt> - specify the name of the partial in which the form is located.
# * <tt>:fields_for</tt> - specify additional options for the fields_for_associated call
# * <tt>:locals</tt> - specify additional variables to be passed along to the partial
# * <tt>:render</tt> - specify additional options to be passed along to the render :partial call
# * <tt>:skip</tt> - array of elements which will be skipped, usefull if you already rendered a partial in the same form with parts of the data. eg. obj.addresses, render the firt address on top of form, render all the other addresses at the bottom
 
f.render_nested_form(@project.tasks, :new => 3, :partial=>'some_partial', :locals=>..)

Update:
Ich hab den Helper geforked und die Option :as hinzugefügt. Damit kann man den Namen der lokalen Variable definieren, wenn man den Partial z.B. für unterschiedliche Objekte und Attribute nutzt (bei mir ist das ein Upload Form).
Hier findet ihr den Fork.

Ähnliche Posts:
» MCV Ruby on Rails – was gehört wohin?
» FINALLY! RailsICalendar ical ics publish with ruby on rails

Get HTTP Headers in Ruby

Ein kleiner Schnipsel, um nur den Header eines HTTP Aufrufes zu erhalten.

url = URI.parse('http://manuel.funkensturm.de/')
req = Net::HTTP::Get.new(url.path)
res = Net::HTTP.start(url.host, url.port) { |http| http.request_head('/feed/') }
res.to_yaml

Interessant sind in meinen Augen folgende Werte:

>> res['last-modified']
=> "Tue, 11 Aug 2009 16:09:01 GMT"
>> res['content-type']
=> "application/rss+xml; charset=\"UTF-8\""
>> res['etag']
=> "\"ca39ca8e3c9d3b858ef0d711956e00ad\""

über last-modified oder den etag kann man dann schauen, ob man den Feed abholt oder die Aktion durchführt…

Ähnliche Posts:
» ÜÄÖß Umlaute kaputt in Ruby on Rails und MySQL [broken umlauts]

Funkenrailsdav: Webdav with Rails e.g. for ical

So you want a rails application to give you a webdav? Good, railsdav can do this for you. However, it might take you an hour or two as well to figure out how it works :)

This plugin is a copy of the original railsdav plugin with some modifications to make it run out-of-the-box. Just drop this plugin into your newly created rails application and it becomes a webdav-server. It comes with Authentication, so you can publish and synchronize your ical-files without fear :)

This was done using Rails 2.3.2.

Get it here: http://github.com/funkensturm/railsdav

Ähnliche Posts:
» Downloads
» FINALLY! RailsICalendar ical ics publish with ruby on rails
» XML Sitemap Generator for Rails
» Rails 2.2: NoMethodError von create_time_zone_conversion_attribute?

Presenting: The Funkengallery Demo App

Still in beta mode, but we are proud to present a Rails 2.3 application, modularized in plugins, fully I18n (German, English, Swedish), and of course published at github.

This funkengallery demo application includes demonstration of all our plugins:

  • acts_as_category
  • acts_as_identifiable
  • funkengallery
  • funkenlogin
  • funkenlogin
  • irobot
  • manipulify

Again, this is beta still, which means that for example the admin area wants your models to be called exactly “Category” and “User”. So not 100% modularized yet, but we’re getting there and you can already use it as a perfect standalone application ;)

What’s so special about this gallery is the very dynamic user rights management and the simplicity. It is designed for a complex category tree with many thousands of pictures. However, you might expect flickr design and you get… well… funkengallery. It is different and simpler, but really neat if you want to share your pictures quick, private and with individual user rights.

Screenshots and Demo

Check out our Downloads site to see how you can easily test your local demo.

Ähnliche Posts:
» No related posts

Git Commands

Weil ich die auch immer wieder vergesse, mache ich mir hier eine Liste mit Git Befehlen.
Sie wird fortwährend erweitert.

Wie bekomme ich eine Datei ignoriert, wenn sie schon vom Index erfasst worden ist, denn nachträglich kann in .gitignore nichts hinzugefügt werden?

# Datei aus dem Index entfernen Syntax:
git update-index --assume-unchanged -- DATEINAME
# Beispiel:
git update-index --assume-unchanged -- db/development.sqlite3
# Datei wieder in den Index aufnehmen:
git update-index --no-assume-unchanged -- db/development.sqlite3
Ähnliche Posts:
» SVN Commands