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
import React, { useEffect, useRef, useState } from "react"; | |
import { | |
Alert, | |
ActivityIndicator, | |
Image, | |
ScrollView, | |
StyleSheet, | |
TouchableOpacity, | |
} from "react-native"; | |
import * as tf from "@tensorflow/tfjs"; |
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
const me = { | |
name: 'Demostenes Garcia G.', | |
nick: '@demogar', | |
location: 'Panama City, Panama', | |
time: 'America/Panama', | |
tecnologies: { | |
'JavaScript / TypeScript': ['Vue', 'Svelte', 'React', 'React Native'], | |
'State Management with React': ['Redux', 'XState', 'Context'], | |
'Testing on JavaScript': ['Jest', 'Enzyme', 'Mocha', 'React Testing Library'], | |
Ruby: ['Rails', 'Sinatra', 'Capistrano', 'Jekyll'], |
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
// ... | |
// Display configuration | |
#define SRAM_CS 8 | |
#define EPD_CS 10 | |
#define EPD_DC 9 | |
#define EPD_RESET -1 | |
#define EPD_BUSY -1 | |
#define NEOPIXELPIN 40 |
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
let img; | |
function preload() { | |
img = loadImage("./dog.jpg"); | |
} | |
function setup() { | |
createCanvas(800, 533); | |
} | |
function draw() { |
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
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
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
{"version":1,"resource":"file:///c%3A/Users/demog/projects/homestead/Homestead.yaml","entries":[{"id":"8oI7.yaml","timestamp":1679686946723},{"id":"cX45.yaml","timestamp":1679686980075}]} |
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
id | name | district_id | |
---|---|---|---|
1 | Bocas del Toro (Cabecera) | 1 | |
2 | Bastimentos | 1 | |
3 | Cauchero | 1 | |
4 | Punta Laurel | 1 | |
5 | Tierra Oscura | 1 | |
6 | Changuinola (Cabecera) | 2 | |
7 | Almirante | 2 | |
8 | Guabito | 2 | |
9 | Teribe | 2 |
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
function _openCamera() { | |
Titanium.Media.showCamera({ | |
success : function(event) { | |
if (event.mediaType == Ti.Media.MEDIA_TYPE_PHOTO) { | |
_uploadReport(event.media); | |
} else { | |
alert("No es una imagen =" + event.mediaType); | |
} | |
}, | |
error : function(error) { |
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 ruby | |
require 'rubygems' | |
require 'levenshtein' | |
require 'csv' | |
# Config | |
counter = 0 | |
maxError = 3 | |
inFile = 'entrada.csv' |
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 | |
# chkconfig: 2345 55 25 | |
# Dashing service | |
# Add this file to /etc/init.d/ | |
# Make executable | |
# Configure chkconfig | |
# Dashboard will start at boot. Check out the boot log for trouble shooting "/var/log/boot.log" | |
###################################################### | |
#YOU WILL NEED TO CONFIGURE THIS FOR YOUR ENVIRONMENT# | |
###################################################### |
NewerOlder