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
<div id="starfield" class="absolute inset-0"> | |
<canvas id="starfield-canvas"></canvas> | |
</div> | |
<script> | |
import invariant from "tiny-invariant"; | |
const COUNT = 800; | |
const SPEED = 0.1; |
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
.spinner { | |
border: 4px solid #f3f3f3; | |
border-top: 4px solid #3498db; | |
border-radius: 50%; | |
width: 50px; | |
height: 50px; | |
animation: spin 0.8s linear infinite; | |
} | |
@keyframes spin { |
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
import java.util.Arrays; | |
//which one came first the egg or the chicken? well this is java's solution: | |
public class eggOrChicken { | |
public static void main(String[] args) { | |
String[] x = {"🥚", "🐓"}; | |
Arrays.sort(x); |