For more plugins visit the Rhythmbox Third Party plugins website.
Do you use any of these plugins?
For more plugins visit the Rhythmbox Third Party plugins website.
Do you use any of these plugins?
From the Google Chrome extension developers group:
Hello extension developers,
Yesterday, the Google Chrome extensions gallery was updated to a new
version. Here are some of the visible changes:1.) The “Most Popular” section on the landing page was renamed to
“Popular”. This section will now feature a rotating random subset of
popular apps in the gallery.2.) If your extension uses the i18n package, you can assign embedded
items (such as screenshots) to specific locales. To test the gallery
in a different language add ?hl=<language code> to the end of a
gallery URL. For example: https://chrome.google.com/extensions?hl=es3.) If you try to upload an extension which requires NPAPI or file
access, you will now receive a notice that your extension will need to
be reviewed before it will go live in the gallery.In particular, we’re very excited to improve internationalization
support of extensions in the gallery. Developers who translate and
localize their extensions have a much wider audience of potential
users they can attract. If you’re interested in how extensions can be
internationalized, please read our announcement blogpost:
http://blog.chromium.org/2010/01/google-chrome-extension.htmlHappy coding,
~Arne
A little while back I was trying to make a small IRC bot but I eventually lost my interest in it. While writing the bot I had to write a regex to match the raw IRC message pattern. A friend (thanks Jobe) on IRC came up with the following regex:
^(?:[:@]([^\\s]+) )?([^\\s]+)(?: ((?:[^:\\s][^\\s]* ?)*))?(?: ?:(.*))?$
It will match 4 groups (source, command, target and the parameters). A small example in JAVA:
Pattern pattern = Pattern.compile("^(?:[:@]([^\\s]+) )?([^\\s]+)(?: ((?:[^:\\s][^\\s]* ?)*))?(?: ?:(.*))?$"); Matcher matcher = pattern.matcher(line.subSequence(0, line.length())); if (matcher.matches()) { //i.e irc.mibbit.net source = matcher.group(1); //i.e 433/NOTICE cmd = matcher.group(2); //i.e RoomBot/#mibbit target = matcher.group(3); //i.e I have 3093 clients and 1 servers param = matcher.group(4); }
Would you have done differently?