A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 575
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)

Filename: view/rss.php

Line Number: 2

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/rss.php
Line: 2
Function: header

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 579
Function: view

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

BSI AG Plakat - Stikked BSI AG Plakat - Stikked http://geopaste.scratchbook.ch/ en Re: BSI AG Plakat http://geopaste.scratchbook.ch/view/0e2a8051 Thu, 02 May 2013 20:51:10 +0200 Edgy Leopard http://geopaste.scratchbook.ch/view/0e2a8051
  1. import java.math.BigInteger;
  2. class Main{
  3.     static BigInteger bi(int x) { return BigInteger.valueOf(x); }
  4.    
  5.     static BigInteger arccot(BigInteger x) {
  6.         BigInteger exp = bi(10).pow(8530).divide(x), sum=exp, n=bi(3), sgn=bi(-1), trm;
  7.         for(;; sgn=sgn.negate(), n=n.add(bi(2))) {
  8.                 exp=exp.divide(x.multiply(x));
  9.                 trm=exp.divide(n);
  10.                 if (trm.equals(bi(0))) return sum;
  11.                 sum=sum.add(trm.multiply(sgn));
  12.         }
  13.     }
  14.        
  15.     public static void main(String[] args) {
  16.         BigInteger pi = bi(4).multiply(arccot(bi(5))).subtract(arccot(bi(239))).multiply(bi(4));
  17.         StringBuilder sb = new StringBuilder();
  18.        
  19.         for (; !pi.equals(bi(0)); pi=pi.shiftRight(5))
  20.                 sb.append((char) (pi.and(bi(31)).intValue() % 26 + 65));
  21.        
  22.         System.out.println("9. März, 11 Uhr, ETH Kontaktparty, Raspberry PI holen!");
  23.         System.out.println("Das Codewort ist " + sb.toString().substring(582,588));
  24.     }
  25.    
  26. }
]]>
Re: BSI AG Plakat http://geopaste.scratchbook.ch/view/9171b3f5 Mon, 04 Mar 2013 09:20:27 +0100 Walloping Bushbaby http://geopaste.scratchbook.ch/view/9171b3f5
  1. http://the-compiler.org/img/plakat_bsi.jpg
]]>