Ejecutar el comando enable
Switch> enable
| package main | |
| import ( | |
| "crypto/hmac" | |
| "crypto/sha1" | |
| "crypto/subtle" | |
| "encoding/hex" | |
| "fmt" | |
| "os" | |
| ) |
| func Memoize(fn func(int) int) func(int) int { | |
| cache := make(map[int]int) | |
| return func(n int) int { | |
| if v, ok := cache[n]; ok { | |
| return v | |
| } | |
| cache[n] = fn(n) | |
| return cache[n] | |
| } | |
| } |
| fs.file-max = 6815744 | |
| kernel.sem = 250 32000 100 128 | |
| kernel.shmmni = 4096 | |
| kernel.shmall = 1073741824 | |
| kernel.shmmax = 4398046511104 | |
| kernel.panic_on_oops = 1 | |
| net.core.rmem_default = 262144 | |
| net.core.rmem_max = 5178150 | |
| net.core.wmem_default = 262144 | |
| net.core.wmem_max = 1048576 |
| # Configuration for Alacritty, the GPU enhanced terminal emulator | |
| # Any items in the `env` entry below will be added as | |
| # environment variables. Some entries may override variables | |
| # set by alacritty it self. | |
| env: | |
| # TERM env customization. | |
| # | |
| # If this property is not set, alacritty will set it to xterm-256color. | |
| # |
| Nombre de alias DUOC | |
| Comentario | |
| Miembros | |
| ------------------------------------------------------------------------------- | |
| Se ha completado el comando correctamente. | |
| Nombre de usuario SES2501 | |
| Nombre completo |
| defmodule Flatten do | |
| @moduledoc """ | |
| List flatten recursive implementation without language helpers | |
| """ | |
| @doc """ | |
| Flat a nested list of list. | |
| Returns list flattend. |
| -module(flatten). | |
| -export([flat/1]). | |
| flat(List) -> flat(List, []). | |
| flat([], Acc) -> Acc; | |
| flat([H | T], Acc) -> flat(H, flat(T, Acc)); | |
| flat(H, Acc) -> [H | Acc]. |