Skip to content

Instantly share code, notes, and snippets.

View JeanCarlosChavarriaHughes's full-sized avatar
🎯
Focusing

JeanC Ch. H. JeanCarlosChavarriaHughes

🎯
Focusing
View GitHub Profile
#!/bin/bash
VARIABLE_NAME="NODE_VERSION"
VARIABLE_VALUE="21.7.1"
PROFILE_FILE="$HOME/.bash_profile"
# Check and append using awk
if ! awk -v var="$VARIABLE_NAME" 'BEGIN { found=0 } /^export/ { if ($0 ~ "export " var "=") found=1 } END { exit !found }' "$PROFILE_FILE"; then
echo "export $VARIABLE_NAME='$VARIABLE_VALUE'" >> "$PROFILE_FILE"
echo "Variable $VARIABLE_NAME added to $PROFILE_FILE"
<xs:schema xmlns="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.3/facturaElectronicaExportacion" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="https://cdn.comprobanteselectronicos.go.cr/xml-schemas/v4.3/facturaElectronicaExportacion" elementFormDefault="qualified" attributeFormDefault="unqualified" version="4.3" vc:minVersion="1.1">
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../../xmldsig-core-schema.xsd"/>
<xs:element name="FacturaElectronicaExportacion">
<xs:annotation>
<xs:documentation>Elemento Raiz de la Facturacion Electrónica de exportacion</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="Clave" type="ClaveType">
<xs:annotation>
" Disable compatibility with vi which can cause unexpected issues.
set nocompatible
" Enable type file detection. Vim will be able to try to detect the type of file in use.
filetype on
" Enable plugins and load plugin for the detected file type.
filetype plugin on
" Load an indent file for the detected file type.
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPEZhY3R1cmFFbGVjdHJvbmljYSB4bWxucz0iaHR0cHM6Ly9jZG4uY29tcHJvYmFudGVzZWxlY3Ryb25pY29zLmdvLmNyL3htbC1zY2hlbWFzL3Y0LjMvZmFjdHVyYUVsZWN0cm9uaWNhIiB4bWxuczp4c2Q9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIj4KICAgICAgICA8Q2xhdmU+NTA2MTMwNTE4MDAwNzAyMzIwNzE3MDAxMDAwMDEwMTE1MjI3NzM0MDgxMDc3NTYzNDg8L0NsYXZlPgogICAgICAgIDxDb2RpZ29BY3RpdmlkYWQ+NzAyMDAyPC9Db2RpZ29BY3RpdmlkYWQ+CiAgICAgICAgPE51bWVyb0NvbnNlY3V0aXZvPjAwMTAwMDAxMDExNTIyNzczNDA4PC9OdW1lcm9Db25zZWN1dGl2bz4KICAgICAgICA8RmVjaGFFbWlzaW9uPjIwMTgtMDUtMTNUMTU6MzA6MDAtMDY6MDA8L0ZlY2hhRW1pc2lvbj4KICAgICAgICA8RW1pc29yPgogICAgICAgICAgICA8Tm9tYnJlPldhbG5lciBCb3Jib248L05vbWJyZT4KICAgICAgICAgICAgPElkZW50aWZpY2FjaW9uPgogICAgICAgICAgICAgICAgPFRpcG8+MDE8L1RpcG8+CiAgICAgICAgICAgICAgICA8TnVtZXJvPjcwMjMyMDcxNzwvTnVtZXJvPgogICAgICAgICAgICA8L0lkZW50aWZpY2FjaW9uPgogICAgICAgICAgICA8Tm9tYnJlQ29tZXJjaWFsPldhbG5lciBCb3Jib248L05vbWJyZUNvbWVyY2lhbD4KICAgICAgICA8VWJp
main.js:1634 [Cast] Xb
DevTools failed to load source map: Could not load content for https://reference.dashif.org/dash.js/nightly/samples/dash-if-reference-player/app/lib/angular/angular.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Debug.js:169 [89206][MediaPlayer] Streaming Initialized
Debug.js:169 [89215][EventController] Start Event Controller
Debug.js:169 [89221][MediaPlayer] Playback Initialized
Debug.js:169 [89254][DashParser] Parsing complete: ( xml2json: 9.70ms, objectiron: 0.400ms, total: 0.0101s)
Debug.js:169 [89256][StreamController] Manifest updated... updating data system wide.
Debug.js:169 [89266][ManifestUpdater] Manifest has been refreshed at Mon Aug 30 2021 11:47:45 GMT-0600 (Central Standard Time)[1630345665.366]
Debug.js:169 [89273][GapController] Starting the gap controller
Debug.js:169 [89273][StreamController] Switch to stream defaultId_0. Seektime is 0, current playback time is null. Seamless period switch is set to false
DevTools failed to load source map: Could not load content for https://reference.dashif.org/dash.js/v4.0.1/samples/dash-if-reference-player/app/lib/angular/angular.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
cast_sender.js:1 Failed to load resource: net::ERR_CONNECTION_CLOSED
index.html:1 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://reference.dashif.org/dash.js/v4.0.1/samples/dash-if-reference-player/app/lib/bootstrap/fonts/glyphicons-halflings-regular.woff
jquery-3.1.1.min.js:3 [Intervention] Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://reference.dashif.org/dash.js/v4.0.1/contrib/akamai/controlbar/icomoon.ttf
jquery-3.1.1.min.js:2 [Violation] 'setTimeout' handler took 507ms
[Violation] Forced reflow while executing JavaScript took 37ms
angular.min.js:
DevTools failed to load source map: Could not load content for https://reference.dashif.org/dash.js/v4.0.1/samples/dash-if-reference-player/app/lib/angular/angular.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Debug.js:169 [35053][MediaPlayer] Streaming Initialized
Debug.js:169 [35066][MediaPlayer] Playback Initialized
Debug.js:169 [35116][DashParser] Parsing complete: ( xml2json: 11.4ms, objectiron: 0.600ms, total: 0.0120s)
Debug.js:169 [35119][StreamController] Manifest updated... updating data system wide.
Debug.js:169 [35125][ManifestUpdater] Manifest has been refreshed at Fri Aug 06 2021 16:04:17 GMT-0600 (Central Standard Time)[1628287457.951]
Debug.js:169 [35136][StreamController] Switch to stream defaultId_0. Seektime is 0, current playback time is null. Seamless period switch is set to false
Debug.js:169 [35161][MediaSourceController] Set MediaSource duration:654
Debug.js:169 [35185][Stream] No text data.
Debug.js:169 [35187][Stream] No muxed data.
#!/usr/bin/env python3
import minimalmodbus
import serial
powerMeter = minimalmodbus.Instrument('/dev/ttyUSB0', 1)
powerMeter.serial.baudrate = 9600
powerMeter.serial.bytesize = 8
powerMeter.serial.parity = serial.PARITY_NONE
powerMeter.serial.stopbits = 1
powerMeter.mode = minimalmodbus.MODE_RTU
Spring libero más de 100 libros para download durante a pandemia
Fundamentals of Power Electronics Engineering doi.org/10.1007/b100747
Handbook of the Life Course Humanities, Social Sciences and Law doi.org/10.1007/b100507
All of Statistics Mathematics and Statistics doi.org/10.1007/978-0-387-21736-9
Social Anxiety and Social Phobia in Youth Behavioral Science doi.org/10.1007/b99417
Discrete Mathematics Mathematics and Statistics doi.org/10.1007/b97469
Developmental Neurobiology Biomedical and Life Sciences doi.org/10.1007/0-387-28117-7
Intuitive Probability and Random Processes using MATLAB®️ Engineering doi.org/10.1007/b104645
Handbook of Disaster Research Humanities, Social Sciences and Law doi.org/10.1007/978-0-387-32353-4
#EXTM3U
#EXTINF:-1,USA | A&E HD
http://iptv.wtf:80/ssoeunmw/c8lu1nZL33/11142
#EXTINF:-1,USA | ABC HD
http://iptv.wtf:80/ssoeunmw/c8lu1nZL33/16647
#EXTINF:-1,USA | ABC HD
http://iptv.wtf:80/ssoeunmw/c8lu1nZL33/14514
#EXTINF:-1,USA | ABC NEWS HD
http://iptv.wtf:80/ssoeunmw/c8lu1nZL33/16646
#EXTINF:-1,USA | AFN SPORTS