josefandersson / Ugly fizzbuzz
0 likes
0 forks
1 files
Last active
First code written after a 16 day vacation!!
1 | const fizzBuzz = (num=1) => num <= 100 && ( |
2 | console.log(((num % 3 === 0 ? 'fizz' : '') + (num % 5 === 0 ? 'buzz' : '')) || num) |
3 | || fizzBuzz(num + 1) |
4 | ) |
josefandersson / drone.md
0 likes
0 forks
1 files
Last active
Product | Price | |
---|---|---|
vtx | Vista w/ Nebula Pro | 1816 kr + 100? kr |
- | Vista antenna 15 cm | 109 kr |
- | Vista coaxial cable 20 cm | 66 kr |
fc/esc | SpeedyBee F405 / BLS 55A stack (5th oct) | 769 kr + 100? kr |
frame | APEX EVO 5" | 998 kr + 100? kr |
frame | APEX DC 5" | 328 kr |
frame | SPARK Mark5 5" | 452 kr + 29 kr |
frame | GEPRC Mark5 5" | 747 kr |
josefandersson / HexGrid
0 likes
0 forks
1 files
Last active
Fancy hex grid component by Mr Gabbeboi
1 | import { css } from "@linaria/core" |
2 | import type { CSSProperties, ReactNode } from "react" |
3 | import React from "react" |
4 | |
5 | /** width / heigt */ |
6 | const hexAspectRatio = 4 / 3 * Math.sqrt(3) / 2 |
7 | |
8 | export function HexGrid({ |
9 | gap, |
10 | rows, |
Newer
Older