Skip to content

Instantly share code, notes, and snippets.

import gleam/int
import gleam/io
import gleam/result
import gleam/set.{type Set}
import gleam/string
import simplifile
type Point {
Point(row: Int, col: Int)
}
import gleam/io
import gleam/int
import gleam/function
import gleam/list
import gleam/result
import gleam/string
import simplifile
import nibble.{ type DeadEnd }
pub type Gift {
import gleam/io
import gleam/int
import gleam/string
import gleam/result
import simplifile
fn update_floor(i: String, floor: Int) -> Int {
case i {
")" -> floor - 1
"(" -> floor + 1
## A very silly little example to create bionic reading html documents
## from a text document.
## needs the markdown-package from nimble:
##
## $ nimble install markdown
##
import
markdown,
std/os,
import
std/algorithm,
std/bitops,
std/streams,
std/strformat,
std/sugar
type
Memory = array[0..32767,uint16]
Registers = array[0..7,uint16]
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?>
<opml version="1.0">
<head>
<title>PodcastAddict registration feeds</title>
<dateCreated>16. mar. 2022 08:29:26</dateCreated>
<dateModified>16. mar. 2022 08:29:26</dateModified>
</head>
<body>
<outline text="#programmingLanguage" type="rss" xmlUrl="#programmingLanguage" htmlUrl="" />
<outline text="372 Pages We'll Never Get Back" type="rss" xmlUrl="http://372pages.com/feed/podcast" htmlUrl="http://372pages.com/blog" />
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:exsl="http://exslt.org/common"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
extension-element-prefixes="exsl" >
<xsl:output method="xml" indent="yes"/>
<xsl:output encoding="UTF-8"/>
<!-- variable declarations -->
Me ha ei plen me kalle tun ifrå låva og burtåt bu'n
We have a lawn that we call "the yard" from the barn and over to the shed
Der slå me graset av og te, ljå'n æ frå sekstitre
We mow the lawn now and then, the schythe is from '63
Men i fjor vart graset nåkso langt, far min fann 'kji bryne
But last year the grass got pretty long, my dad didn't find the wetstone
Og mor mi sprang og masa støtt: Nei, no må'ru klyppe plen!
# IP-Adressen woher wir verteilen will hier konfigurieren
$standorte = @{
"XXXXXX" = New-Object -TypeName PSObject -Property (
@{ Ip = "xxx.xxx.xxx.xxx"
Benutzer = "xxxx\admin"
Kennwort = ConvertTo-SecureString -String "xxxxxx" -AsPlainText -Force
})
}
# Ordner wo die Dateen die wir verteilen wollen drinnen sind
param(
[parameter(Mandatory=$false,Position=0)]
[string]$pic = 'Lock'
)
# When using, the file names must change.
# if the filename exists at the Network location and the Temp location, it is assumed the script already ran.
# To run again simply change the file names or delete the Temp location's contents.
# Designed this way to not download pictures, and wait for script every reboot.