Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
Install Homebrew
Apple MacBook Pro M1, 32 GB, Ventura 13.2
Documentation based on comments in this Github Elasticsearch issue.
package main | |
import ( | |
"net" | |
"os/exec" | |
"github.com/k0kubun/pp" | |
) | |
func Hosts(cidr string) ([]string, error) { |
# Componentes Windows Forms | |
Common Controls: | |
---------------- | |
btn Button chk CheckBox ckl CheckedListBox | |
cmb ComboBox dtp DateTimePicker lbl Label | |
llb LinkLabel lst ListBox lvw ListView | |
mtx MaskedTextBox cdr MonthCalendar icn NotifyIcon | |
nud NumeircUpDown pic PictureBox prg ProgressBar | |
rdo RadioButton rtx RichTextBox txt TextBox |
<!DOCTYPE html> | |
<html><head><meta charset="UTF-8"> | |
<title>HTML5 notepad app</title> | |
<meta charset="utf-8"> | |
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]--> | |
<style> | |
html,body{background:#FCFCFC;color:#444;height:100%;width:100%;margin:0;padding:0;} | |
#notepad{height:98%;width:98%;padding:1%;font-size:100%;line-height:125%;font-family:san-serif} | |
::selection{background:#7D7} | |
::-moz-selection{background:#7D7} |
# An Example of how to parse command line arguments in streamlit. | |
# This is free and unencumbered software released into the public domain. | |
import os | |
import sys | |
import random | |
import argparse | |
import streamlit as st | |
parser = argparse.ArgumentParser(description='This app lists animals') |
FROM python:3.10 as python-base | |
# https://python-poetry.org/docs#ci-recommendations | |
ENV POETRY_VERSION=1.2.0 | |
ENV POETRY_HOME=/opt/poetry | |
ENV POETRY_VENV=/opt/poetry-venv | |
# Tell Poetry where to place its cache and virtual environment | |
ENV POETRY_CACHE_DIR=/opt/.cache |
import pygame | |
import random | |
colors = [ | |
(0, 0, 0), | |
(120, 37, 179), | |
(100, 179, 179), | |
(80, 34, 22), | |
(80, 134, 22), | |
(180, 34, 22), |
const std = @import("std"); | |
pub fn main() void { | |
var i: usize = 1; | |
while (i <= 100) : (i += 1) { | |
if (i % 3 == 0 and i % 5 == 0) { | |
std.debug.warn("FizzBuzz\n"); | |
} else if (i % 3 == 0) { | |
std.debug.warn("Fizz\n"); | |
} else if (i % 5 == 0) { |
function Add-PsScriptTaskSystem { | |
param ( | |
[Parameter(Mandatory)] | |
[String]$TaskName, | |
[Parameter(Mandatory)] | |
[String]$ScriptPath | |
) | |
$taskName = $TaskName | |
$trigger = New-ScheduledTaskTrigger -AtLogOn |
[ | |
{ | |
"name":"ABAP", | |
"type":"programming", | |
"extensions":[ | |
".abap" | |
] | |
}, | |
{ | |
"name":"AGS Script", |