Skip to content

Instantly share code, notes, and snippets.

View mamcx's full-sized avatar

Mario Montoya mamcx

View GitHub Profile
use std::collections::HashSet;
use std::hash::Hash;
pub enum StepResult {
Next,
Stop,
}
pub trait Reducing<Item, Acc> {
type Item;

Keybase proof

I hereby claim:

  • I am mamcx on github.
  • I am mamcx (https://keybase.io/mamcx) on keybase.
  • I have a public key ASDDcOfuuHMvq3SYE-31dkf1KoF1NJYIXi-V3UY-YOnjCAo

To claim this, I am signing this object:

@mamcx
mamcx / app.css
Last active June 4, 2018 00:46
Non non-sense javascript front-end setup with vue/quasar
/* Your own css. */
@mamcx
mamcx / app.js
Last active June 2, 2018 00:23
Vuetify components
const ListCustomersPage = {
key: 'ListCustomersPage',
template: '#ListCustomersPage',
data() {
return {
title: 'Select Customer',
search:''
}
},
mounted() {
@mamcx
mamcx / BoxStart.txt
Last active February 8, 2018 19:00
Boxstarter windows
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Enable-RemoteDesktop
Set-StartScreenOptions -EnableBootToDesktop
Set-MpPreference -DisableRealtimeMonitoring $true
cinst sublimetext3
cinst winrar
cinst cmder
cinst firefox
@mamcx
mamcx / devergo.json
Last active September 24, 2018 22:21
Full Keyb/firmware for http://kbfirmware.com/
{"version":1,"keyboard":{"keys":[{"id":0,"legend":"R2","state":{"x":0.8,"y":1.1,"r":6,"rx":0,"ry":0,"w":1,"h":1,"x2":0,"y2":0,"w2":0,"h2":0,"c":"#1a1a1a","t":"#ffffff"},"row":0,"col":0,"keycodes":[{"id":"KC_ESC","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]}]},{"id":1,"legend":"F1","state":{"x":2.55,"y":1.1,"r":6,"rx":0,"ry":0,"w":1,"h":1,"x2":0,"y2":0,"w2":0,"h2":0,"c":"#1a1a1a","t":"#ffffff"},"row":0,"col":1,"keycodes":[{"id":"KC_F1","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":
@mamcx
mamcx / Keyb.json
Created December 15, 2017 02:35
Layout/wireframe Keyboard
{"version":1,"keyboard":{"keys":[{"id":0,"legend":"R2","state":{"x":0.8,"y":1.1,"r":6,"rx":0,"ry":0,"w":1,"h":1,"x2":0,"y2":0,"w2":0,"h2":0,"c":"#1a1a1a","t":"#ffffff"},"row":0,"col":1,"keycodes":[{"id":"KC_ESC","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]}]},{"id":1,"legend":"F1","state":{"x":2.55,"y":1.1,"r":6,"rx":0,"ry":0,"w":1,"h":1,"x2":0,"y2":0,"w2":0,"h2":0,"c":"#1a1a1a","t":"#ffffff"},"row":1,"col":2,"keycodes":[{"id":"KC_F1","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":[]},{"id":"KC_TRNS","fields":
@mamcx
mamcx / Db.fs
Created October 27, 2017 00:50
F# little ADO wrapper
module Db
open System
open System.IO
open System.Data
open System.Collections.Generic
open System.Reflection
open Microsoft.FSharp.Reflection
type DbCon =
@mamcx
mamcx / Lang.mkdown
Last active August 21, 2018 21:10
Lista de recursos sobre crear lenguajes de programacion