Skip to content

Instantly share code, notes, and snippets.

View aotarola's full-sized avatar
🎯
Focusing

Andres Otarola aotarola

🎯
Focusing
View GitHub Profile
@aotarola
aotarola / README.md
Last active August 15, 2023 04:43
corne manual

corne keyboard

This is a on-going manual for my corne keyboard configuration, expect things to be updated regularly.

IMPORTANT: Make sure to NEVER connect both parts when powered on (TRRS cable), in other words, ALWAYS make sure both parts are connected BEFORE powering up via USB.

This keyboard supports 3 keyboard layouts:

{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Andres Otarola Alvarado",
"label": "Software Engineer",
"email": "andres@otarola.me",
"phone": "(650) 307 3844",
"website": "https://otarola.me",
"summary": "I'm a software engineer with +12 years of experience, passionate about technology, web development, and functional programming.\n\nThroughout my career, I had the opportunity to grow at Groupon by building and managing web applications and architected platform-level solutions. I have worked with product and platform teams with a strong front-end focus.\n\nCurrently, I'm looking for a remote front-end role (I'm flexible on a hybrid remote position as well).\n\nMy ideal team is one with highly skilled individuals looking to keep improving and helping each other.",
"location": {
@aotarola
aotarola / test.json
Created June 27, 2021 18:18
new desc
{
"pets" : [1,3]
}
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="/Users/aotarolaalvarad/.oh-my-zsh"
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
(0.004)
UPDATE
mantenedor_sucursalproducto
SET
stock_real = 1,
stock_ultimo_inventario = 1,
fecha_actualizacion = '2020-06-21T12:45:58.540181'::timestamp
WHERE sucursal_id = '3' AND id = 13182
; args=[1, 1, datetime.datetime(2020, 6, 21, 12, 45, 58, 540181), '3', 13182]
(0.002)
//logs
terminator_1 | DEBUG (0.005)SELECT "mantenedor_sucursalproducto"."id", "mantenedor_sucursalproducto"."sucursal_id", "mantenedor_sucursalproducto"."producto_id", "mantenedor_sucursalproducto"."stock_ultimo_inventario", "mantenedor_sucursalproducto"."stock_ideal", "mantenedor_sucursalproducto"."stock_critico", "mantenedor_sucursalproducto"."stock_real", "mantenedor_sucursalproducto"."fecha_actualizacion" FROM "mantenedor_sucursalproducto" INNER JOIN "mantenedor_producto" ON ("mantenedor_sucursalproducto"."producto_id" = "mantenedor_producto"."mercaderia_ptr_id") INNER JOIN "mantenedor_mercaderia" ON ("mantenedor_producto"."mercaderia_ptr_id" = "mantenedor_mercaderia"."id") INNER JOIN "mantenedor_sucursal" ON ("mantenedor_sucursalproducto"."sucursal_id" = "mantenedor_sucursal"."cliente_ptr_id") WHERE ("mantenedor_mercaderia"."codigo" = '5010752000321' AND "mantenedor_sucursal"."user_id" = 4 ); args=(u'5010752000321', 4)
terminator_1 | DEBUG (0.001) SELECT (1) AS "a" FROM "mantenedor_sucursalproducto" W
@aotarola
aotarola / README-Template.md
Created April 3, 2019 02:15 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@aotarola
aotarola / SelectWithDelay.elm
Last active September 17, 2016 03:30
[solution using Process.sleep] Trying to reset a `select` element to previous value (when a task fails) Raw
module Main exposing (..)
import Html.App as App
import Html exposing (..)
import Html.Attributes exposing (..)
import Json.Decode as Json
import Html.Events exposing (on, targetValue)
import String
import Task
import Json.Decode as Decode exposing ((:=))
@aotarola
aotarola / Main.elm
Last active September 17, 2016 03:27
Trying to reset a `select` element to previous value (when a task fails)
module Main exposing (..)
import Html.App as App
import Html exposing (..)
import Html.Attributes exposing (..)
import Json.Decode as Json
import Html.Events exposing (on, targetValue)
import String
import Task
import Json.Decode as Decode exposing ((:=))
@aotarola
aotarola / Component.elm
Created May 29, 2016 15:38 — forked from pdamoc/Component.elm
Counter through JS
module Component exposing (..)
import Html exposing (..)
import Html.Attributes exposing (style)
import Html.Events exposing (onClick)
import Ports exposing (..)
-- MODEL