Other languages:
by injecting commands into the wifi channel config
This exploit requires opening the "Files" page of the card's web interface and escaping to the root of the file system.
Other languages:
by injecting commands into the wifi channel config
This exploit requires opening the "Files" page of the card's web interface and escaping to the root of the file system.
| # config/initializers/source_maps.rb | |
| if Rails.env.development? | |
| module CoffeeScript | |
| class SourceMapError < StandardError; end; | |
| class << self | |
| def compile script, options | |
| script = script.read if script.respond_to?(:read) |
| Ember.EditController = Ember.Mixin.create( | |
| saveError: false | |
| saveInvalid: false | |
| isEditing: false | |
| # Set associations to be associations of the content. These will then be checked for validity on save | |
| # and all of the flags, such as isDirty and isLoaded, will take these associations into consideration. | |
| # | |
| # Eg: A user may have an address model which is edited within the same transaction. | |
| # In this case you would put: |
| # If we save a record using ember-data's RESTadapter, and it fails, Rails | |
| # returns the validation errors of the model as JSON hash: | |
| # | |
| # {"errors":{"name":["may not be blank"]}} | |
| # | |
| # This patches the RESTadapter to add these errors to the invalid record. It | |
| # can be removed when the following Pull Request was merged into ember-data: | |
| # https://github.com/emberjs/data/pull/376 | |
| DS.RESTAdapter.reopen |
WARNING
This gist is outdated! For the most up-to-date information, please see http://emberjs.com/guides/routing/!
An Ember application starts with its main template. Put your header, footer, and any other decorative content in application.handlebars.
<header>
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this: