This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jQuery.sap.declare("com.pecsa.dev.services.Shipments"); | |
| jQuery.sap.require("com.pecsa.dev.services.Products"); | |
| jQuery.sap.require("com.pecsa.dev.models.Shipment"); | |
| jQuery.sap.require("com.pecsa.dev.models.Product"); | |
| var toMap = function(array, key1, key2) { | |
| var map = {}; | |
| for (var i in array) { | |
| map[array[i][key1] + "-" + array[i][key2]] = array[i]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Extract from my printing strategy with Cordova and my Zbtprinter plugin fork | |
| // https://github.com/devnieL/zbtprinter | |
| var printer = { | |
| address : "[MAC ADDRESS]" | |
| } | |
| $.get('./view/Printing/Templates/Receipt.html', function(template) { | |
| function textToBase64Barcode(text) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| listen 8080; | |
| server_name localhost; | |
| location / { | |
| root C:\dev\CAMPOSOL\SEAFOOD\RegistroEntrada\www; | |
| index index.html; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { "InputSet" : { | |
| "IBukrs": "0011", | |
| "NavDirFami": [{ | |
| "NroDoc": "87989897", | |
| "NroDocp": "23232323", | |
| "TipVia": "01", | |
| "Txvia": "PRUeba vi1", | |
| "NumVia": "0001", | |
| "Nrint": "ab", | |
| "NroDpto": "110", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // To view the default settings, hold "alt" while clicking on the "Settings" button. | |
| // For documentation on these settings, see: https://aka.ms/terminal-documentation | |
| { | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
| "launchMode": "maximized", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| regex=":([[:digit:]]+)\/" | |
| cluster_info=$(kubectl cluster-info) | |
| [[ $cluster_info =~ $regex ]] | |
| port="${BASH_REMATCH[1]}" | |
| echo "Kubernetes API port: ${port}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| map $upstream_http_docker_distribution_api_version $docker_distribution_api_version { | |
| '' 'registry/2.0'; | |
| } | |
| upstream docker-registry { | |
| server registry:5000; | |
| } | |
| server { | |
| listen 80; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Excluding a task | |
| task1 { | |
| dependsOn taskChain | |
| // it will only disable task3 | |
| // but not its dependencies | |
| task3.enabled = false | |
| } | |
| task2 { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install rasdaemon psstack sysstat | |
| sudo /opt/vertica/sbin/install_vertica -s localhost -r vertica_23.3.0-3_amd64.deb -u dbadmin -g dbadmin -d /home/dbadmin -p vertica -L /opt/vertica/config/licensing/vertica_community_edition.license.key -Y | |
| /opt/vertica/sbin/install_example VMart |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM ubuntu:22.04 | |
| RUN apt-get update -q -y && apt-get install -q -y \ | |
| openssl \ | |
| openssh-server \ | |
| openssh-client \ | |
| pstack \ | |
| sysstat \ | |
| rasdaemon \ | |
| dialog \ |