(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
tagName: "section", | |
page: 1, | |
paginateBy: 10, | |
paginatedItems: Ember.computed('amenities', 'page', function(){ | |
var i = (parseInt(this.get('page')) - 1) * parseInt(this.get('paginateBy')); | |
var j = i + parseInt(this.get('paginateBy')); | |
return this.get('items').slice(i, j); |
package main | |
import ( | |
"github.com/gin-gonic/gin" | |
"database/sql" | |
"github.com/coopernurse/gorp" | |
_ "github.com/mattn/go-sqlite3" | |
"log" | |
"time" | |
"strconv" |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.