This file contains 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
esphome: | |
name: purificador | |
name_add_mac_suffix: true | |
includes: | |
- mipurifier.h | |
esp32: | |
board: esp32dev | |
framework: | |
type: esp-idf |
This file contains 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
#include <Arduino.h> | |
#define LT_UART_DEFAULT_PORT 1 | |
void setup() { | |
Serial.println("Boot"); | |
for(int i = 5; i > 0; i--){ | |
Serial.print("Deep sleep in "); |
This file contains 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 | |
# Uso ./fix_framerate.sh [video.mp4] | |
echo "Processing \"$1\"" | |
ffmpeg -i "$1" -c copy -f h264 temp.h264 | |
ffmpeg -r 30 -i temp.h264 -c copy temp.mp4 | |
ffmpeg -i "$1" -vn -acodec copy temp.aac | |
ffmpeg -i temp.mp4 -i temp.aac -c:v copy -c:a copy "$1.fixed.mp4" |
This file contains 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <linux/fb.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
#include <sys/mman.h> | |
#include <sys/ioctl.h> | |
#include <string.h> | |
#include <unistd.h> |
This file contains 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 rdflib import Graph, URIRef, Namespace, Literal | |
from pprint import pprint | |
data = ''' | |
@prefix rr: <http://www.w3.org/ns/r2rml#>. | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>. | |
@prefix : <http://mapping.example.com/>. |
This file contains 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
undefined4 FUN_004013f0(char *param_1) | |
{ | |
int iVar1; | |
char *__s1; | |
uint local_254; | |
undefined4 local_250 [3]; | |
char local_244; | |
undefined auStack579 [51]; | |
undefined4 local_210; |
This file contains 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
<?php | |
//Data from Johns Hopkins CSSE | |
$q = '[{"statisticType":"sum","onStatisticField":"Confirmed","outStatisticFieldName":"confirmed"}, {"statisticType":"sum","onStatisticField":"Deaths","outStatisticFieldName":"dead"}, {"statisticType":"sum","onStatisticField":"Recovered","outStatisticFieldName":"recovered"}]'; | |
$endpoint = "https://services1.arcgis.com/0MSEUqKaxRlEPj5g/arcgis/rest/services/". | |
"ncov_cases/FeatureServer/1/query?f=json&where=1%3D1&returnGeometry=false". | |
"&spatialRel=esriSpatialRelIntersects&outFields=*&outStatistics="; |
This file contains 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
#!/usr/bin/env python3 | |
''' | |
Descargado de https://www.ncbi.nlm.nih.gov/nuccore/NM_001143854.1?report=fasta | |
''' | |
file = open('sample_rna.txt', 'r') | |
stringfile = file.read() |
This file contains 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
#include <stdlib.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <unistd.h> | |
#include <sys/types.h> | |
#include <sys/stat.h> | |
#include <fcntl.h> | |
int main(int argc, char *argv[]){ |