[ Launch: zeffii default ] 5394791 by zeffii[ Launch: zeffii default ] 5033869 by zeffii
Languages
13,064 gist results
13,064 gist results
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jkdjl jfkldj jkfdjl s s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /************* | |
| * | |
| * @amount => Cantidad prestada neta(No se restan cargos ni se suman intereses) | |
| * @charge => Cargos por apertura | |
| * @byPeriod => Pago periódico | |
| * @totalPayments => Total de pagos(Años, Meses, Quincenas, Días) | |
| * @periodsByYear => Periodos por año de acuerdo a Banxico(Días: 360, Semanas: 52, Quincenas: 24, Meses: 12, Trimestres: 4) | |
| * | |
| *************/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Cat | |
| Napping* | |
| Pet -> Awake | |
| Awake | |
| Pet -> Purring | |
| Feed -> Napping | |
| Purring | |
| Tick -> Attacking | |
| Feed -> Napping | |
| Attacking |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * CAT | |
| */ | |
| *, *::before, *::after { | |
| -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; | |
| } | |
| .meow { | |
| margin: 0.5em auto 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Cat { | |
| constructor(name) { | |
| this.name = name; | |
| } | |
| set name(name) { | |
| this._name = name; | |
| } | |
| get name() { | |
| return this._name; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .imgCat { | |
| margin: 40px auto; | |
| width: 600px; | |
| } | |
| .cat { | |
| border-radius: 100%; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import Ember from 'ember'; | |
| var myCats =[Em.Object.create({"img":"http://images.postadsuk.com/2015/07/05/postadsuk.com-russian-blue-x-female-kitten.JPG","reting":0}), | |
| Em.Object.create({"img":"http://dazedimg.dazedgroup.netdna-cdn.com/740/azure/dazed-prod/1150/0/1150466.jpg","reting":0})]; | |
| export default Ember.Controller.extend({ | |
| appName: 'Ember Twiddle', | |
| cats:myCats, | |
| voteUp:function(cat){ | |
| cat.incrementProperty("rating"); |