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
| <html> | |
| <head> | |
| <title>File upload</title> | |
| </head> | |
| <body> | |
| <input id="file" type="file" hidden onchange="onFileAttached()" /> | |
| <button id="button" onclick="uploadFile()">Upload</button> | |
| <div id="filename"></div> | |
| </body> |
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
| require "bundler/inline" | |
| gemfile(true) do | |
| source "https://rubygems.org" | |
| gem "rails" | |
| gem "pg" | |
| end | |
| require "active_record/railtie" |
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
| <html> | |
| <head> | |
| <title>Hang</title> | |
| </head> | |
| <body> | |
| <button onclick="loop()">Start infinite loop</button> | |
| </body> | |
| <script> |
OlderNewer