Skip to content

Instantly share code, notes, and snippets.

View docker-compose.yml
version: '3.7'
x-icinga-db-web-config:
&icinga-db-web-config
icingaweb.modules.icingadb.config.icingadb.resource: icingadb
icingaweb.modules.icingadb.redis.redis1.host: icingadb-redis
icingaweb.modules.icingadb.redis.redis1.port: 6379
icingaweb.modules.icingadb.commandtransports.icinga2.host: icinga2
icingaweb.modules.icingadb.commandtransports.icinga2.port: 5665
icingaweb.modules.icingadb.commandtransports.icinga2.password: ${ICINGAWEB_ICINGA2_API_USER_PASSWORD:-icingaweb}
View config.yml
# Default values for the generator
# this file can be used as a template for a custom configuration
# or to know about the different variables available for the generator
platys:
platform-name: 'demo-platform'
platform-stack: 'trivadis/platys-modern-data-platform'
#platform-stack-version: '1.15.0'
platform-stack-version: '1.16.0-preview'
structure: 'flat'
# ========================================================================
View pequescriptprueba
import java.util.*;
public class ArrayRepetido{
public static void main(String args[]) {
int[] ai = {1,2,2,4,5,6,7,8,8,8}; // Array que trataremos.
int ocurrencias = 0;
HashMap h = new HashMap(); // Almacena Num-Ocurrencias.
View compiledwith2019
Operación Compilar iniciada..
1>------ Operación Compilar iniciada: proyecto: PCAxis.Web.Core, configuración: Debug Any CPU ------
2>------ Operación Compilar iniciada: proyecto: PCAxis.Charting, configuración: Debug Any CPU ------
3>------ Operación Compilar iniciada: proyecto: PX.Web.Interfaces, configuración: Debug Any CPU ------
4>------ Operación Compilar iniciada: proyecto: CSSFriendly, configuración: Debug Any CPU ------
5>------ Operación Compilar iniciada: proyecto: PX.Security, configuración: Debug Any CPU ------
5> PX.Security -> C:\Users\1017133566\Documents\GitHub\PxWeb\PX.Security\bin\Debug\PXWeb.Security.dll
3> PX.Web.Interfaces -> C:\Users\1017133566\Documents\GitHub\PxWeb\PX.Web.Interfaces\bin\Debug\PX.Web.Interfaces.dll
4> CSSFriendly -> C:\Users\1017133566\Documents\GitHub\PxWeb\CSSFriendly\bin\Debug\CSSFriendly.dll
1>C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Web.Core\Management\LinkManager.vb(52,12): warning BC42300: El bloque de comentario XML debe preceder directament
View debubuild.sh
Severity Code Description Project File Line Suppression State
Error CS0006 Metadata file 'C:\Users\1017133566\Documents\GitHub\PxWeb\PXWeb\bin\PXWeb.dll' could not be found PxWeb.Test C:\Users\1017133566\Documents\GitHub\PxWeb\PxWeb.Test\CSC 1 Active
Error CS0006 Metadata file 'C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Web.Controls\bin\Debug\PCAxis.Web.Controls.dll' could not be found PxWeb.Test C:\Users\1017133566\Documents\GitHub\PxWeb\PxWeb.Test\CSC 1 Active
Error BC30456 'CultureInfo' is not a member of 'System.Web.Globalization'. PCAxis.Web.Controls C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Web.Controls\Extensions\PxWebControlExtensions.vb 36 Active
Error CS0006 Metadata file 'C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Web.Controls\bin\Debug\PCAxis.Web.Controls.dll' could not be found PCAxis.Excel.Web.Controls C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Excel.Web.Controls\CSC 1 Active
Error CS0006 Metadata file 'C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Web.Contr
View debug.sh
Gravedad Código Descripción Proyecto Archivo Línea Estado suprimido
Advertencia NU1701 El paquete "Microsoft.AspNet.WebApi.Core 5.2.7" se restauró con ".NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1" en lugar de la plataforma de destino del proyecto ".NETCoreApp,Version=v3.1". Puede que el paquete no sea totalmente compatible con el proyecto. PxWeb.Test C:\Users\1017133566\Documents\GitHub\PxWeb\PxWeb.Test\PxWeb.Test.csproj 1
Error BC30456 'CultureInfo' no es un miembro de 'System.Web.Globalization'. PCAxis.Web.Controls C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Web.Controls\Extensions\PxWebControlExtensions.vb 36 Activo
Advertencia CS7035 La cadena de versión especificada no se ajusta al formato recomendado: principal,secundaria,compilación,revisión PCAxis.Charting C:\Users\1017133566\Documents\GitHub\PxWeb\PCAxis.Charting\PxChart\Properties\
View node15.sh
root@ubuntu20portatil:~/html2md# n 15
installing : node-v15.14.0
mkdir : /usr/local/n/versions/node/15.14.0
fetch : https://nodejs.org/dist/v15.14.0/node-v15.14.0-linux-x64.tar.xz
copying : node/15.14.0
installed : v15.14.0 (with npm 7.7.6)
root@ubuntu20portatil:~/html2md# node -v
v15.14.0
root@ubuntu20portatil:~/html2md# npm i
View errorpython27.sh
Traceback (most recent call last):
File "setup.py", line 55, in <module>
'Topic :: Utilities',
File "/usr/local/lib/python2.7/dist-packages/setuptools/__init__.py", line 162, in setup
return distutils.core.setup(**attrs)
File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
View setup.sh
Installed /usr/local/lib/python3.8/dist-packages/numpy-1.23.1-py3.8-linux-x86_64.egg
Searching for Fuzzy==1.0
Reading https://pypi.org/simple/Fuzzy/
Downloading https://files.pythonhosted.org/packages/9f/9a/0acba29e3b9d7e51561c7377599110472c939d52a9e3d7fccc528838ede0/Fuzzy-1.0.tar.gz#sha256=73d126b277f59486e91f6be8e4578a5d462a73471f816ff6c488fd43ce2be708
Best match: Fuzzy 1.0
Processing Fuzzy-1.0.tar.gz
Writing /tmp/easy_install-3_m1yb5o/Fuzzy-1.0/setup.cfg
Running Fuzzy-1.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3_m1yb5o/Fuzzy-1.0/egg-dist-tmp-vdxi5b61
src/fuzzy.c: In function ‘__pyx_f_5fuzzy_nysiis’:
src/fuzzy.c:395:15: warning: implicit declaration of function ‘PyInt_FromLong’; did you mean ‘PyLong_FromLong’? [-Wimplicit-function-declaration]
View questions.txt
Question 1
Which of the following is an example of Machine Learning?
1 point
Streaming service viewing suggestions.
Websites recommending items to purchase.