require 'formula' class Tcptrack < Formula homepage 'http://www.rhythm.cx/~steve/devel/tcptrack/' url 'http://ftp.de.debian.org/debian/pool/main/t/tcptrack/tcptrack_1.4.2.orig.tar.gz' sha1 '921e33279e0032ba3639cdfc674ed74505691d6b' def install # Fix IPv6 on MacOS. The patch was sent by email to the maintainer # (tcptrack2@s.rhythm.cx) on 2010-11-24 for inclusion. # Still not fixed in 1.4.2 - @adamv inreplace 'src/IPv6Address.cc', 's6_addr16', '__u6_addr.__u6_addr16' system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end def caveats "Run tcptrack as root or via sudo in order for the program to obtain permissions on the network interface." end end 14cb753db'/>
aboutsummaryrefslogtreecommitdiffstats
path: root/example/calculator-bootstrap.html
blob: a59dcf045c80da24bfca6d717bd71f24a86a7172 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <script type="text/javascript" src="../lib/jquery/jquery-1.4.2.js"></script>
    <script type="text/javascript" src="../src/angular-bootstrap.js"></script>
    <script type="text/javascript">
      $(document).ready(function(){
        scope = angular.compile(document);
        scope.$init();
        scope.a = 3;
        scope.$eval();
      });
    </script>
  </head>
  <body>
    Quantity: <input type="text" name="a" value="2">
    *
    Cost: <input type="text" name="b" value="3.4">
    = {{a * b | currency}}
  </body>
</html>