Skip to content

Instantly share code, notes, and snippets.

View MarcinSwierczynski's full-sized avatar

Marcin Świerczyński MarcinSwierczynski

View GitHub Profile
package legacyfigher.dietary.newproducts;
import java.math.BigDecimal;
import java.util.UUID;
public class OldProduct {
UUID serialNumber = UUID.randomUUID();
Price price;

Keybase proof

I hereby claim:

  • I am marcinswierczynski on github.
  • I am marcinos (https://keybase.io/marcinos) on keybase.
  • I have a public key ASBJcPNNM3PfiEZbTipf53MoJKmt0xXMTekog7sA9vvNXAo

To claim this, I am signing this object:

@MarcinSwierczynski
MarcinSwierczynski / x
Created October 25, 2008 12:42
Look for movies in polish site: filmweb.pl
function openUrl(url, postData) {
var windowManager = Components.classes["@mozilla.org/appshell/window-mediator;1"]
.getService(Components.interfaces.nsIWindowMediator);
var browserWindow = windowManager.getMostRecentWindow("navigator:browser");
var browser = browserWindow.getBrowser();
if(browser.mCurrentBrowser.currentURI.spec == "about:blank")
browserWindow.loadURI(url, null, postData, false);
else
browser.loadOneTab(url, null, null, postData, false, false);