Sandbox: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(210 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Introducing: Sandbox ==


__NUMBEREDHEADINGS__
[[Administrera jails via bastille i FreeBSD]]


Videokoda med HandbrakeCLI:
This is the place to experiment with the [http://www.mediawiki.org/ MediaWiki] '''markup''' and ''markup'', <nowiki>or non-markup</nowiki>.


{{Bc|<nowiki>HandBrakeCLI -i /Volumes/B-R -t 51 -o Movie.mkv -e x264 --x264-preset slow --x264-profile high -x level=4.1 -q 16 -a 4 -E copy -w 1280 --loose-anamorphic -f libmkv</nowiki>}}
Hello mediawiki-1.42.1 on k8s!


== Introducing: Sandbox ==
[[File:Docker.png]]


Indented text.
[[File:SELinux.jpg]]


This is the place to experiment with the [http://www.mediawiki.org/ MediaWiki] '''markup''' and ''markup'', <nowiki>or non-markup</nowiki>.
=== x265 benchmark ===


Ett Gentoo emerge kommando:
i5820k, 2133MHz DRAM:


{{Emerge|params=--changed-use --ask --oneshot|x11-libs/qt-gui|x11-libs/cairo}}
medium, CRF=17, HEVC@5.1


{{Cmd|pwd}}
encoded 125105 frames in 30246.31s (4.14 fps), 15507.03 kb/s, Avg QP:20.30
[06:43:35] mux: track 0, 125105 frames, 10114808601 bytes, 15507.67 kbps, fifo 1024
[06:43:35] libhb: work result = 0


{{Bc|A box with
encoded 125105 frames in 30196.58s (4.14 fps), 21064.38 kb/s, Avg QP:19.11
code or any other pre-formatted text
[05:58:34] mux: track 0, 125105 frames, 13739533654 bytes, 21064.98 kbps, fifo 1024
}}
[05:58:34] libhb: work result = 0


{{Warning|Detta är en varning!}}
encoded 125105 frames in 17717.35s (7.06 fps), 18984.24 kb/s, Avg QP:19.17
[05:30:13] mux: track 0, 125105 frames, 12382786430 bytes, 18984.86 kbps, fifo 1024
[05:30:13] libhb: work result = 0


{{Note|Detta är en notering.}}
Videokoda med HandbrakeCLI:


Lite PHP kod:
{{Bc|<nowiki>HandBrakeCLI -i /Volumes/B-R -t 51 -o Movie.mkv -e x264 --x264-preset slow --x264-profile high -x level=4.1 -q 16 --cfr -a 4 -E copy -w 1280 --loose-anamorphic --modulus 8 -f libmkv</nowiki>}}


<syntaxhighlight lang="php">
{{Emerge|params=--changed-use --ask --oneshot|x11-libs/qt-gui|x11-libs/cairo}}
<?php
    $v = "string";    // sample initialization
?>
html text
<?
    echo $v;        // end of php code
?>
</syntaxhighlight>


== UML test ==
{{Cmd|pwd|git status|git pull}}


<uml>
{{Bc|A box with
code or any other pre-formatted text
}}


skinparam titleFontSize 12
=== Test av mallar ===
skinparam titleFontStyle bold
!include plantuml/classdiagrams.iuml
title Ex 1 BbHs, 2 BbL1, 1 cell and 1 rls
skinparam shadowing false
skinparam packageStyle rect
hide circle
  class BbHs_1 #WBBL2_color
  class BbL1_1 #WBBL1_color {
    }
  note bottom of BbL1_1: BbL1CellMaster for cell y
  class BbL1_2 #WBBL1_color {
    }
  note bottom of BbL1_2: rls x in cell y
class CCHs
class HSPDSCH
class HSSCCH
class HSDPCCH


'BbHs_1 -down-> BbL1_1 : WidciHsScch, WidciHsPdsch (user x)
{{Warning|Detta är en varning!}}
BbHs_1 -down-> BbL1_1 : WidciHsPdsch (user x)
BbL1_1 -up-> BbHs_1 : WidciHsPower (cell y)
BbL1_2 -up-> BbHs_1 : WidciHsPower (cell y)
BbHs_1 -down-> BbL1_2 : WidciSchedInfo (user x)
'BbL1_2 -up-> BbHs_1 : WidciHsDpcchSyncInfo, WidciHsDpcchSyncInfo, WidciHsDpcchCqi, WidciHsMcInfo (user x)
BbL1_2 -up-> BbHs_1 : WidciHsDpcchSyncInfo (user x)


{{Note|Detta är en notering.}}


BbL1_1 <-down-> CCHs
{{Tip|Detta är ett tips.}}
BbL1_1 -down-> HSSCCH
BbL1_1 -down-> HSPDSCH
HSDPCCH -up-> BbL1_2


</uml>
=== Syntax Highlighting ===


== Graphviz test ==
<syntaxhighlight lang="python" line start="3" highlight="1,5-7">
 
def quick_sort(arr):
<graphviz renderer='neato' caption='Graph for example no. 1'>
    less = []
graph example2 {
    pivot_list = []
  run -- intr;
    more = []
  intr -- runbl;
    if len(arr) <= 1:
  runbl -- run;
        return arr
  run -- kernel;
</syntaxhighlight>
  kernel -- zombie;
  kernel -- sleep;
  kernel -- runmem;
  sleep -- swap;
  swap -- runswap;
  runswap -- new;
  runswap -- runmem;
  new -- runmem;
  sleep -- runmem;
}
</graphviz>

Latest revision as of 18:03, 6 September 2024

Introducing: Sandbox

Administrera jails via bastille i FreeBSD

This is the place to experiment with the MediaWiki markup and markup, or non-markup.

Hello mediawiki-1.42.1 on k8s!

x265 benchmark

i5820k, 2133MHz DRAM:

medium, CRF=17, HEVC@5.1

encoded 125105 frames in 30246.31s (4.14 fps), 15507.03 kb/s, Avg QP:20.30 [06:43:35] mux: track 0, 125105 frames, 10114808601 bytes, 15507.67 kbps, fifo 1024 [06:43:35] libhb: work result = 0

encoded 125105 frames in 30196.58s (4.14 fps), 21064.38 kb/s, Avg QP:19.11 [05:58:34] mux: track 0, 125105 frames, 13739533654 bytes, 21064.98 kbps, fifo 1024 [05:58:34] libhb: work result = 0

encoded 125105 frames in 17717.35s (7.06 fps), 18984.24 kb/s, Avg QP:19.17 [05:30:13] mux: track 0, 125105 frames, 12382786430 bytes, 18984.86 kbps, fifo 1024 [05:30:13] libhb: work result = 0

Videokoda med HandbrakeCLI:

HandBrakeCLI -i /Volumes/B-R -t 51 -o Movie.mkv -e x264 --x264-preset slow --x264-profile high -x level=4.1 -q 16 --cfr -a 4 -E copy -w 1280 --loose-anamorphic --modulus 8 -f libmkv
root # emerge --changed-use --ask --oneshot x11-libs/qt-gui x11-libs/cairo
user $ pwd
user $
git status
user $
git pull
A box with
code or any other pre-formatted text

Test av mallar

Varning: Detta är en varning!


Notering: Detta är en notering.


Tips: Detta är ett tips.


Syntax Highlighting

def quick_sort(arr):
    less = []
    pivot_list = []
    more = []
    if len(arr) <= 1:
        return arr