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
################ | |
# BASE | |
FROM ruby:3.0.3-slim AS base | |
WORKDIR /app | |
ENV RAILS_ENV production | |
ENV BUNDLE_DEPLOYMENT true | |
ENV BUNDLE_PATH vendor/bundle | |
ENV BUNDLE_WITHOUT development:test |
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
@@ -8922,7 +8922,8 @@ TextEditor.prototype.open = function() { | |
this.instance.addHook('beforeKeyDown', onBeforeKeyDown); | |
}; | |
TextEditor.prototype.close = function(tdOutside) { | |
- this.textareaParentStyle.display = 'none'; | |
+ this.textareaParentStyle.top = '-9999px'; | |
+ this.textareaParentStyle.left = '-9999px'; | |
this.autoResize.unObserve(); | |
if (document.activeElement === this.TEXTAREA) { | |
this.instance.listen(); |
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
require 'open-uri' | |
url = 'http://dx.doi.org/10.1038/ng.3011' | |
html = begin | |
open(url) | |
rescue | |
$!.io.read | |
end | |
p html |