This file contains 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
(function(window){ | |
init: function init() { | |
} | |
return({ | |
init: init | |
}) | |
This file contains 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
# config/application.rb | |
module Recruit | |
class Application < Rails::Application | |
config.react.addons = true | |
config.react.server_renderer_pool_size ||= 1 # ExecJS doesn't allow more than one on MRI | |
config.react.server_renderer_timeout ||= 20 # seconds | |
config.react.server_renderer = React::ServerRendering::SprocketsRenderer | |
config.react.server_renderer_options = { | |
files: ["react.js", "components.js"], # files to load for prerendering |
This file contains 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
sda | |
sda1 128Mb | |
sda2 3.8T | |
sdb | |
sdb1 100 Mb ntfs | |
sdb2 120 GB ntfs | |
sdb3 50 GB / ext4 |