Sandbox: Difference between revisions

From NixOS Wiki
imported>Fadenb
No edit summary
No edit summary
 
(81 intermediate revisions by 8 users not shown)
Line 1: Line 1:
== mehr tests ==
{{DISPLAYTITLE:The amazing SANDBOX!}}== Sandbox ==
test hier
=== What is a sandbox? ===
== test ==
The sandbox page in this wiki is intended to test things and toy around with syntax and features.
Do not expect your content to stay here very long as any registered user can overwrite it at any time.


{{warning}}
Please keep this header intact and do all your testing below :)
{{warning|text=Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}
<hr />


{{Notice|text=test}}
<!--
Cleaned up last 2023-09-09--><syntaxHighlight lang=shell>
ls -al ${date}
</syntaxHighlight>


 
<syntaxHighlight lang=nix>
{{outdated}}
{ config, lib, pkgs, ... }:
Sand that box
{
Shoop da whoop!
  imports = [
Herp Derp
    ./hardware-configuration.nix
 
    # We rely on `nixos-hardware` to deal with HW quirks. This requires the `nixos-hardware` channel to be configured.
 
</syntaxHighlight>put sand in the box today. Retrieve it in years of scarcity
<syntaxhighlight lang="python" line='line'>
def quickSort(arr):  
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass
</syntaxhighlight>
 
 
[[category:test]]

Latest revision as of 23:39, 2 April 2024

Sandbox

What is a sandbox?

The sandbox page in this wiki is intended to test things and toy around with syntax and features. Do not expect your content to stay here very long as any registered user can overwrite it at any time.

Please keep this header intact and do all your testing below :)


ls -al ${date}
{ config, lib, pkgs, ... }:
{
  imports = [
    ./hardware-configuration.nix
    # We rely on `nixos-hardware` to deal with HW quirks. This requires the `nixos-hardware` channel to be configured.

put sand in the box today. Retrieve it in years of scarcity