Skip to content

Instantly share code, notes, and snippets.

@jjhoncv
jjhoncv / vuejs.md
Created April 20, 2018 19:13
definition vue

proyectos que usan vue gitlab, stylesage, Alibaba, xaomi, codeship

Conferencias. vueconf 2017, polonia vuejs london, meetap

Atomic web desing - Bad Frost

Webpack
- Es un module Bundler for modern Javascript Application
- Es un empaquetado de modulos para App modernas en JS
Las app modernas tiene muchas assets,jpg, png, estilos, html,
que se usan preprocesadores, como pug, sass,
multiples cosas q se tiene q procesar, para q el navegador entienda.
Para poder hacer esto se usa modulos en JS
@jjhoncv
jjhoncv / desing flow branch.md
Last active April 11, 2018 23:16
desing flow branch
sequenceDiagram
subtask ->> history: rebase sprint
history --x sprint: merge history
sprint --x environment: rebase sprint
@jjhoncv
jjhoncv / flow_branch.md
Last active April 23, 2018 22:45
flow branch

flow branch project

task -> history -> dev -> pre -> releases-stack -> prod

task -> history

$ gco history
$ ggpull history
$ gco task
@jjhoncv
jjhoncv / File.vb
Created March 21, 2018 00:58
Get element selected from combobox or select
Private Sub showSelectedButton_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim selectedIndex As Integer
selectedIndex = comboBox1.SelectedIndex
Dim selectedItem As Object
selectedItem = comboBox1.SelectedItem
MessageBox.Show("Selected Item Text: " & selectedItem.ToString() & Microsoft.VisualBasic.Constants.vbCrLf & _
"Index: " & selectedIndex.ToString())
End Sub
@jjhoncv
jjhoncv / demo.ts
Created January 24, 2018 22:51
typescript poo inversion dependencies
// version-brackes-model.ts
class ComponentVersion {
_typeVehicle: String
_info: String
_version: String
_self: Object
_fields: any
constructor () {
}
@jjhoncv
jjhoncv / branchFlow.md
Last active December 19, 2017 21:52
Flujo general de branch

Flujo de branchs

  1. Actualizar la rama prod
ggpull prod
  1. Crear branch proyecto partir de prod eg. sprint12
gco -b sprint12 && ggpush
@jjhoncv
jjhoncv / demo.styls
Created November 1, 2017 00:07
icon loader
.icon-loader
&.is-loading
&:after
content '\2234'
animation rotate_loading 1s linear infinite
display block
width 20px
height 20px
position absolute
line-height 1
@jjhoncv
jjhoncv / configEslintSublime.md
Last active August 8, 2017 19:57
install eslint sublime text 3

Install eslint global

npm install -g eslint

In your project add parser to .eslintrc.js

{
   parser: 'babel-eslint'
}
https://www.npmjs.com/package/vue-authenticate
https://www.npmjs.com/package/vue-factory
https://github.com/dgrubelic/vue-authenticate/blob/master/example/index.js
https://github.com/vuejs/vuex/issues/109