Last active
September 5, 2021 06:01
-
-
Save Jarred-Sumner/248edfab60f135c223e57e2e5f14110a to your computer and use it in GitHub Desktop.
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
import logo from "./logo.svg"; | |
import "./App.css"; | |
function App() { | |
const ms = Date.now() - parseInt(window.location.search.substring(1), 10); | |
return ( | |
<div className="App"> | |
<header className="App-header"> | |
<img src={logo} className="App-logo" alt="logo" /> | |
<h3>Loaded in {ms}ms.</h3> | |
<a | |
className="App-link" | |
href="https://reactjs.org" | |
target="_blank" | |
rel="noopener noreferrer" | |
> | |
Learn React | |
</a> | |
</header> | |
</div> | |
); | |
} | |
export default App; |
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
const std = @import("std"); | |
pub fn main() anyerror!void { | |
var stdout = std.io.getStdOut(); | |
var writer = stdout.writer(); | |
const timestamp = std.time.milliTimestamp(); | |
writer.print("{d}", .{timestamp}) catch unreachable; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment