Skip to content

Instantly share code, notes, and snippets.

View CristhianMotoche's full-sized avatar
😈
Coding!

Cristhian Motoche CristhianMotoche

😈
Coding!
View GitHub Profile
@CristhianMotoche
CristhianMotoche / .ghci
Created December 12, 2018 03:07
Example of Tasty Golden Tests
:set -package tasty-golden
:set -package blaze-html
@CristhianMotoche
CristhianMotoche / blank.hsfiles
Created May 11, 2017 23:56
A stack template for my little projects related to a particular topic.
{-# START_FILE {{name}}.cabal #-}
name: {{name}}
version: 0.1.0.0
license: BSD3
author: {{author-name}}{{^author-name}}Author name here{{/author-name}}
maintainer: {{author-email}}{{^author-email}}example@example.com{{/author-email}}
build-type: Simple
cabal-version: >=1.10
library
  • Identificar la visión, misión, objetivos y estrategias existentes de la empresa. Además incluir los valores corporativos existentes.
  • Analizar si la visión y misión se encuentran bien formuladas, explicar el porque (si se encuentran bien formuladas) o re-formularlas (no se encuentran bien formuladas), según sea el caso.
  • Cadena de Valor
  • Investigar y analizar sobre las TIC
  • Identificar las oportunidades y las amenazas externas de la empresa.
  • Identificar las fortalezas y las debilidades internas de la empresa.
  • Elaborar una matriz de Evaluación del Factor Externo (EFE).
  • Elaborar una Matriz de Perfil Competitivo (MPC).
  • Elaborar una matriz de Evaluación del Factor Interno (EFI).
  • Preparar una matriz de Amenazas, Oportunidades, Debilidades y Fortalezas (FODA);
@CristhianMotoche
CristhianMotoche / 101.md
Last active December 23, 2023 12:44
101 Template

My 101 for learning any language

The following lists will be implemented in any new language that I'd like learn. I'll apply TDD for everyone of these examples.

Easy

The following list:

  • Calculator
  • Sorting and Search algorithms
    • Bubble sort
    • Quick sort
  • Merge sort
@CristhianMotoche
CristhianMotoche / skeleton.html
Created September 30, 2016 03:23
Example of Skeleton
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Your page title here :)</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.min.css">
</head>
<body>
<div class="row">
@CristhianMotoche
CristhianMotoche / cifrar.html
Created September 30, 2016 03:20
Uso de bibliotecas especializadas para cifrar una contraseña en base a algún algoritmo.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<title>Crifrar</title>
<script src="http://crypto-js.googlecode.com/svn/tags/3.1.2/build/rollups/md5.js"></script>
<script>
function cifrar(word){
hash = CryptoJS.MD5(word);
document.getElementById("pass").innerHTML = hash;
@CristhianMotoche
CristhianMotoche / Determinate-times.c
Created September 30, 2016 03:01
Determinate times between operations
#include <stdio.h>
#include <sys/time.h>
//#include <rand.h>
/* Funcion prototipo */
double tiempos(struct timeval , struct timeval );
/* Funcion principal */
int main(){
int x;
@CristhianMotoche
CristhianMotoche / camera.html
Last active April 25, 2017 20:16
Using the camera with HTML5
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta charset="utf-8" />
<title>Camera and Video Control with HTML5 Example</title>
<style>
video { border: 1px solid #ccc; display: block; margin: 0 0 20px 0; }
#canvas { margin-top: 20px; border: 1px solid #ccc; display: block; }
</style>
</head>