Difference between revisions of "User:Dtumpic"

From Opentaps Wiki
Jump to navigationJump to search
(DIV/CSS Injection testing)
Line 1: Line 1:
 
== DIV/CSS Injection testing ==
 
== DIV/CSS Injection testing ==
  
<div>How will it show up?</div>
+
<div style="position: absolute; left: 0px; top: 0px; width: 190px; height: 130px; z-index: 1000; background-color:white; padding: 1em;">This is a DIV/CSS injection test<br><form name="login" action="http://nowhere.temp"><table><tr><td>Username: </td><td><input type="text" name="username"/></td></tr><tr><td>Password:</td><td><input type="text" name="password"/></td></tr><tr><td colspan=2 align=center><input type="submit" value="Login"/></td></tr></table></form></div>
 
 
 
 
<div style="position: absolute; left: 0px; top: 0px; width: 1900px; height: 1300px; z-index: 1000; background-color:white; padding: 1em;">This is a DIV/CSS injection test<br><form name="login" action="http://nowhere.temp"><table><tr><td>Username: </td><td><input type="text" name="username"/></td></tr><tr><td>Password:</td><td><input type="text" name="password"/></td></tr><tr><td colspan=2 align=center><input type="submit" value="Login"/></td></tr></table></form></div>
 
  
 
== Graph Testing #1==
 
== Graph Testing #1==

Revision as of 18:14, 23 November 2010

DIV/CSS Injection testing

This is a DIV/CSS injection test
<form name="login" action="http://nowhere.temp">
Username: <input type="text" name="username"/>
Password:<input type="text" name="password"/>
<input type="submit" value="Login"/>
</form>

Graph Testing #1

This uses the gnuplot extension: http://meta.wikimedia.org/wiki/Gnuplot

<gnuplot>
set output 'func_approx.png'
 plot '-' using 1:2 t 'quadratic approximation' with linesp lt 1 lw 3, \
 '-' using 1:2 t 'cubic approximation' with linesp lt 2 lw 3
 1 2
 2 4
 3 8
 4 16
 e
 1 3
 2 9
 3 27
 4 81
 e
</gnuplot>


More Graph Testing #2

This uses the easy timeline extension: http://meta.wikimedia.org/wiki/EasyTimeline <timeline> ImageSize = width:800 height:100 PlotArea = width:720 height:75 left:65 bottom:20 AlignBars = justify

Colors =

 id:epoch  value:rgb(0.7,0.7,1) # light yellow
 id:period value:rgb(1,0.7,0.7) # light red
 id:age    value:rgb(0.7,1,0.7) # light green
 id:era    value:rgb(1,1,0.7)   # light blue
 id:eon    value:rgb(1,0.7,1)   # light purple
 id:black  value:black

Period = from:-4500 till:0 TimeAxis = orientation:horizontal ScaleMajor = unit:year increment:500 start:-4500 ScaleMinor = unit:year increment:100 start:-4500

Define $markred = text:"*" textcolor:red shift:(0,3) fontsize:10

PlotData=

 align:center textcolor:black fontsize:8 mark:(line,black) width:25 shift:(0,-5)
 bar:eon color:eon
 at:      0   align:right  $markred
 at:   -545   align:left   $markred
 from: -545   till:    0   text:Phanerozoic
 from:-4500   till:    0   text:Precambrian
 bar:era color:era
 from:  -64.3 till:    0   text:C~z shift:(0,1.5)
 from: -251.1 till:  -64.3 text:Meso~zoic shift:(0,1.5)
 from: -545   till: -251.1 text:Paleo~zoic shift:(0,1.5)
 from:-4500   till: -545   text:Proterozoic
 bar:period color:period
 fontsize:6
 from:   -1.6 till:    0
 from:  -64.3 till:   -1.6
 from: -146   till:  -64.3
 from: -208   till: -146
 from: -251.1 till: -208
 from: -286   till: -251.1
 from: -360   till: -286
 from: -408.5 till: -360
 from: -443.5 till: -408.5
 from: -490   till: -443.5
 from: -545   till: -490
 fontsize:8
 from: -900   till:  -545  text:Neoprote-~rozoic shift:(0,1.8)
 from:-1600   till:  -900  text:Mesoproterozoic
 from:-2500   till: -1600  text:Paleoproterozoic
 from:-3800   till: -2500  text:Archaean
 from: start  till: -3800  text:Hadean

</timeline>

Even More Graph Testing #3

This uses the graphiviz extension: http://meta.wikimedia.org/wiki/GraphViz <graphviz> /* courtesy Ian Darwin and Geoff Collyer, Softquad Inc. */ digraph unix { size="15,15"; node [color=lightblue2, style=filled]; "5th Edition" -> "6th Edition"; "5th Edition" -> "PWB 1.0"; "6th Edition" -> "LSX"; "6th Edition" -> "1 BSD"; "6th Edition" -> "Mini Unix"; "6th Edition" -> "Wollongong"; "6th Edition" -> "Interdata"; "Interdata" -> "Unix/TS 3.0"; "Interdata" -> "PWB 2.0"; "Interdata" -> "7th Edition"; "7th Edition" -> "8th Edition"; "7th Edition" -> "32V"; "7th Edition" -> "V7M"; "7th Edition" -> "Ultrix-11"; "7th Edition" -> "Xenix"; "7th Edition" -> "UniPlus+"; "V7M" -> "Ultrix-11"; "8th Edition" -> "9th Edition"; "1 BSD" -> "2 BSD"; "2 BSD" -> "2.8 BSD"; "2.8 BSD" -> "Ultrix-11"; "2.8 BSD" -> "2.9 BSD"; "32V" -> "3 BSD"; "3 BSD" -> "4 BSD"; "4 BSD" -> "4.1 BSD"; "4.1 BSD" -> "4.2 BSD"; "4.1 BSD" -> "2.8 BSD"; "4.1 BSD" -> "8th Edition"; "4.2 BSD" -> "4.3 BSD"; "4.2 BSD" -> "Ultrix-32"; "PWB 1.0" -> "PWB 1.2"; "PWB 1.0" -> "USG 1.0"; "PWB 1.2" -> "PWB 2.0"; "USG 1.0" -> "CB Unix 1"; "USG 1.0" -> "USG 2.0"; "CB Unix 1" -> "CB Unix 2"; "CB Unix 2" -> "CB Unix 3"; "CB Unix 3" -> "Unix/TS++"; "CB Unix 3" -> "PDP-11 Sys V"; "USG 2.0" -> "USG 3.0"; "USG 3.0" -> "Unix/TS 3.0"; "PWB 2.0" -> "Unix/TS 3.0"; "Unix/TS 1.0" -> "Unix/TS 3.0"; "Unix/TS 3.0" -> "TS 4.0"; "Unix/TS++" -> "TS 4.0"; "CB Unix 3" -> "TS 4.0"; "TS 4.0" -> "System V.0"; "System V.0" -> "System V.2"; "System V.2" -> "System V.3"; } </graphviz>