Skip to content

Instantly share code, notes, and snippets.

TS Lim tslim

Block or report user

Report or block tslim

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tslim
tslim / gist:278ef6fd3c87a981e651
Last active Aug 29, 2015
CodeCamp KK Github Accounts
View gist:278ef6fd3c87a981e651
tslim
edthix
webgrrrl
faizalheesyam
endofline
ian9012
gamesbrewer
namor
adxicible
coderogue
View gist:2643641
def update
current_user.update_attributes(params[:user])
respond_with current_user
end
View gist:2434247
class Dnscell.Routers.Domains extends Backbone.Router
routes: {
'dns_management/domains/': 'index'
'dns_management/domains': 'index'
'hosts/:id': 'hosts'
'dns_management/domains/:id': 'show_zone'
}
collection: null
View gist:2419581
show: (id) ->
entry = new Raffler.Models.Entry({id: id})
entry.fetch(
success: =>
console.log(entry.get('title'))
alert entry.get('name')
console.log(entry)
console.log(entry.attributes + " haha")
viewsangat = new Raffler.Views.Page({model: entry}) # Might one to declare this outside
viewsangat.render()
You can’t perform that action at this time.