I hereby claim:
- I am ar1a on github.
- I am ar1a (https://keybase.io/ar1a) on keybase.
- I have a public key whose fingerprint is F6D4 2008 55DE 065A 230F FB1D A301 807C DBA6 4E3E
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
aoc1 :: IO () | |
aoc1 = do | |
-- part1 <- sum . getInput <$> getContents | |
part2 <- flip dupSum [] . getInput <$> getContents | |
print part2 | |
pure () | |
dupSum :: [Integer] -> [Integer] -> Integer | |
dupSum (x:xs) sofar = | |
let |
module Main where | |
import Data.Maybe (fromMaybe) | |
main :: IO () | |
main = print $ map fizzbuzz [1..110] | |
fizzbuzz :: Int -> String | |
fizzbuzz n = fromMaybe (show n) $ (fizz <> buzz <> diffie) n |
fac :: Int -> Int | |
fac = product . flip take [1..] | |
pascals :: Int -> [Int] | |
pascals n = | |
map (\r -> fac n `div` (fac r * fac (n - r))) [0..n] | |
main :: IO () | |
main = do | |
input <- getLine |
/set weechat.startup.command_after_plugins "/print -stdout \033[?1004h\n" | |
/key bind meta2-O /input set_unread | |
/key unbind meta2-I | |
/save |
section: screens | |
uranium: | |
niobium: | |
end | |
section: links | |
uranium: | |
right = niobium | |
niobium: | |
left = uranium |
module Main where | |
main :: IO () | |
main = pure () | |
-- Source: https://youtu.be/PV8_scc1s3g | |
------------------------------------------------------------------------------- | |
-- insertion sort -- | |
------------------------------------------------------------------------------- |
"use strict"; | |
const values = { | |
woodFoundation: { | |
logs: 1, | |
planks: 6, | |
nails: 20 | |
}, | |
woodWall: { | |
logs: 1, |
// >>> DatHost Competitive Config 0.1 <<< // | |
// Reset from Practice to Competitive | |
sv_cheats "false" // Disable cheats | |
mp_ct_default_grenades "" // Spawn CTs without grenades | |
mp_t_default_grenades "" // Spawn Ts without grenades | |
sv_showimpacts "0" // Don't show bullet impacts | |
sv_falldamage_scale "1" // Enable fall damage | |
sv_full_alltalk "0" // Disable voice chat with anyone |