Skip to content

Instantly share code, notes, and snippets.

View adolfo-ajucum's full-sized avatar
🏥
Working on site

Adolfo Ajucum adolfo-ajucum

🏥
Working on site
  • Hospital Regional de Occidente
  • Guatemala
  • 05:28 (UTC -06:00)
View GitHub Profile
@connor11528
connor11528 / requestUnicorn.js
Last active September 5, 2023 14:27
Lambda function for requesting a Unicorn to come pick us up. Part of the WildRydes AWS application
const randomBytes = require('crypto').randomBytes;
const AWS = require('aws-sdk');
const ddb = new AWS.DynamoDB.DocumentClient();
const fleet = [
{
Name: 'Bucephalus',
Color: 'Golden',
@riodw
riodw / deploy.php
Last active May 8, 2023 08:54
Deploy to Production Server with git using PHP
<?php
/**
* GIT DEPLOYMENT SCRIPT
*
*/
// The commands
$commands = array(
'echo $PWD',
'whoami',
'git reset --hard HEAD',
@HiroNakamura
HiroNakamura / bitacora.sql
Created December 14, 2013 15:03
Ejemplo de bitácora en MySQL
//Autor: Codemonkeyjunior
//fecha: 14 de diciembre de 2013
create table persona (id_persona int auto_increment primary key, nombre varchar (50), apellido_p varchar (50), apellido_m varchar(50), edad int, peso double, talla double);
CREATE TABLE infobase (usuario varchar (50), descripcion varchar (50),fecha TIMESTAMP default now());
delimiter //
create procedure insertar(in nombre varchar(45),apellido_p varchar(45),apellido_m varchar(45),edad int, peso double,talla double)