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
| diff --git a/actionview/lib/action_view/digestor.rb b/actionview/lib/action_view/digestor.rb | |
| index 1f10378..c864571 100644 | |
| --- a/actionview/lib/action_view/digestor.rb | |
| +++ b/actionview/lib/action_view/digestor.rb | |
| @@ -73,11 +73,15 @@ module ActionView | |
| [] # File doesn't exist, so no dependencies | |
| end | |
| - def nested_dependencies | |
| - dependencies.collect do |dependency| |
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
| #include <boost/format.hpp> | |
| #include <boost/graph/adjacency_list.hpp> | |
| #include <boost/graph/kruskal_min_spanning_tree.hpp> | |
| #include <iostream> | |
| namespace | |
| { | |
| namespace b = boost; | |
| typedef b::adjacency_list<b::vecS, b::vecS, b::undirectedS, b::no_property, |
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
| #include <iostream> | |
| #include <gmpxx.h> | |
| int main(int argc, const char** argv) | |
| { | |
| mpz_class res; | |
| mpz_fib_ui(res.get_mpz_t(), 20e6); | |
| std::cout << res.get_str(10) << std::endl; | |
| return 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
| // Author: Stephan T. Lavavej | |
| // Code for "Stephan T. Lavavej - Core C++, 8 of n" from Channel 9 Videos | |
| #include <iostream> | |
| #include <array> | |
| #include <climits> | |
| using namespace std; | |
| template<int... Vals> |
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
| #include <iostream> | |
| template<typename T> | |
| struct type_trait | |
| { | |
| template<typename U> | |
| struct pointer_trait | |
| { | |
| enum { result = false }; | |
| }; |
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
| package main | |
| import ( | |
| "encoding/json" | |
| "log" | |
| "net/http" | |
| "runtime" | |
| ) | |
| type Article struct { |
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
| App = Ember.Application.create({ | |
| resolver: Ember.DefaultResolver.extend({ | |
| resolveTemplate: function (parsedName) { | |
| var template = this._super(parsedName); | |
| if (!template) { | |
| var templateName = parsedName.fullNameWithoutType.replace(/\./g, "/"), | |
| filePath = "/assets/templates/" + templateName + ".js"; | |
| $.ajax({ |
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
| App.Auth = Ember.Auth.create({ | |
| // ... | |
| modules: ["emberModel"] | |
| }); |