Skip to content

Instantly share code, notes, and snippets.

Florian Mierzejewski florianmski

Block or report user

Report or block florianmski

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@florianmski
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 = '========'
BASE_URL = 'https://www.wg-gesucht.de'
LANG = 'en'
CITY = 'berlin'
# this is what you find in the url when tweaking the filtering of the results
@florianmski
florianmski / convertLocalizable.rb
Created Aug 23, 2012
Convert your Localizable.strings (iOS) to strings.xml (Android)
View convertLocalizable.rb
#!/usr/bin/ruby
# based on https://github.com/tmurakam/cashflow/blob/0a01ac9e0350dfb04979986444244f8daf4cb5a8/android/convertStrings.rb
# support comments and Converter such as "%@", "%d", "%0.1f"...
# in your directory : ./main.rb Localizable.strings
file = File.open("strings.xml", "w");
file.puts "<?xml version=\"1.0\" encoding=\"utf-8\"?>"
file.puts "<resources>"
You can’t perform that action at this time.