This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -sI 'http://google.com' | tr -d '\r' | awk 'BEGIN {FS=": "}/^Location/{print $2}' | |
http://www.google.de/?gfe_rd=cr&ei=JDsBVrqxNs7j8wfo_5OICw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-type" content="text/html;charset=utf-8"/> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" | |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title></title> | |
<meta http-equiv="Content-type" content="text/html;charset=utf-8"/> | |
</head> | |
<body> | |
<pre id="out"></pre> | |
<script src="http://connect.facebook.net/en_US/all.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<Module> | |
<ModulePrefs title="views test" | |
author="Gipsz Jakab" | |
author_email="noreply@iwiw.hu"> | |
<Require feature="opensocial-0.8" /> | |
<Require feature="views" /> | |
</ModulePrefs> | |
<Content type="html" view="canvas" quirks="false"> | |
<![CDATA[ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>echo.html</title> | |
</head> | |
<body> | |
<script> | |
document.body.innerHTML = decodeURIComponent(window.location.search); | |
</script> | |
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
({ | |
appDir: '.', | |
baseUrl: './', | |
dir: '../build/', | |
optimize: 'none', | |
modules: [ | |
{ | |
name: 'one', | |
excludeShallow: ['four', 'five'] | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openqa.selenium._ | |
import org.openqa.selenium.support.ui._ | |
import org.openqa.selenium.chrome.ChromeDriver | |
import org.openqa.selenium.firefox.FirefoxDriver | |
import org.openqa.selenium.htmlunit.HtmlUnitDriver | |
import org.openqa.selenium.remote.DesiredCapabilities | |
import scala.collection.JavaConversions._ | |
import scala.actors.Actor._ | |
object Available { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ngrep -W byline -d lo0 port 3000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.eclipse.egit.github.core.client; | |
/******************************************************************************* | |
* Copyright (c) 2011 GitHub Inc. | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'active_support' | |
require 'json' | |
puts( | |
JSON.pretty_generate( | |
ActiveSupport::TimeZone.all.map do |tz| | |
{ | |
:id => tz.tzinfo.identifier, | |
:name => tz.name, | |
:utc_offset => tz.utc_offset |