Skip to content

Instantly share code, notes, and snippets.


Florian Mierzejewski florianmski

View GitHub Profile
florianmski / wg-gesucht.rb
Created Feb 23, 2017
A script to automatize what you already do by hand anyway on wg gesucht (i.e clicking on the ads and sending your saved message)
View wg-gesucht.rb
require 'rubygems'
require 'mechanize'
DEBUG = true
SEPARATOR = '========'
LANG = 'en'
CITY = 'berlin'
# this is what you find in the url when tweaking the filtering of the results
florianmski / convertLocalizable.rb
Created Aug 23, 2012
Convert your Localizable.strings (iOS) to strings.xml (Android)
View convertLocalizable.rb
# based on
# support comments and Converter such as "%@", "%d", "%0.1f"...
# in your directory : ./main.rb Localizable.strings
file ="strings.xml", "w");
file.puts "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
file.puts "<resources>"