This file contains hidden or 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"?> | |
<project default="all" name="DemoApp"> | |
<property name="lib.dir" value="${basedir}/lib"/> | |
<property name="build.src.dir" location="${basedir}/src"/> | |
<property name="build.dir" location="${basedir}/bin"/> | |
<property name="jar.dir" value="${build.dir}/jar"/> | |
<property name="build.classes.dir" location="${build.dir}/classes"/> | |
<property name="main-class" value="com.rightnow.ps.example.DemoApp"/> | |
<property file="${basedir}/antbuild.properties"/> |
This file contains hidden or 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
#!/bin/bash | |
lynx -dump http://www.formyip.com/ | awk "/IP is/{print $NF}" |
This file contains hidden or 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
/** | |
* Recursive funciton to walk dom and replace any matched dictionary | |
* terms with a span tag and special css class | |
* @param element DOMElement | |
*/ | |
function _walkElement(element){ | |
//loop over all children of element | |
var el = element.firstChild; | |
if(el){ | |
do{ |
This file contains hidden or 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
<?php | |
header($_SERVER['SERVER_PROTOCOL'] . ' 401 Unauthorized', true, 401); | |
die('401 Unauthorized'); |
This file contains hidden or 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> | |
<meta charset="utf-8"> | |
<title>Page Title</title> | |
<meta name="description" content="Webpage for xxxx"> | |
<!-- http://meyerweb.com/eric/tools/css/reset/ --> | |
<link rel="stylesheet" href="css/reset/reset.css"> | |
<!--[if lt IE 9]> | |
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script> |
NewerOlder