I hereby claim:
- I am sondr3 on github.
- I am sondre (https://keybase.io/sondre) on keybase.
- I have a public key ASBN-yeXS_iBDl95lPT0SDI6dp9ukeSZc4Xas_QDkXiinAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(use-package flyspell | |
:config | |
(setq-default ispell-program-name "hunspell") | |
(setq ispell-really-hunspell t | |
ispell-dictionary "en_US" | |
ispell-silently-savep t | |
ispell-local-dictionary-alist | |
'( | |
("en_US" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil utf-8) | |
("nb_NO" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil nil nil utf-8))) |
I hereby claim:
To claim this, I am signing this object:
[ | |
[ | |
"BIF101", | |
{ | |
"code": "BIF101", | |
"title": "Organismal Biology in Aquatic Medicine and Aquaculture", | |
"url": "https://www.uib.no/en/course/BIF101?sem=2020h", | |
"assessment": "Written examination (Ordinary exam)", | |
"exams": [ | |
{ |
const reverseString = (input) => { | |
return (input === "") ? "" : reverseString(input.substring(1)) + input.charAt(0); | |
} | |
console.log(reverseString("hello")); | |
console.log(reverseString("world")); |
const reverseString = (n) => { | |
for (var i = n.length - 1, o = ""; i >= 0; o += n[i--]) { } | |
return o; | |
} | |
console.log(reverseString("hello")); | |
console.log(reverseString("world")); |
const findMin = nums => findMinRec(nums[0], nums); | |
const findMinRec = (curr, nums) => { | |
if (nums.length === 0) return curr; | |
const min = curr < nums[0] ? curr : nums[0]; | |
return findMinRec(min, nums.splice(1)) | |
} | |
console.log(findMin([1, 2, 3])) | |
console.log(findMin([-10, 42, 18, 37, 99, -100])) |
POSTGRES_DB=pantry_dev | |
POSTGRES_USER=postgres | |
POSTGRES_PASSWORD=postgres | |
POSTGRES_HOST=localhost |
:set -XOverloadedStrings | |
import Data.Text qualified as T | |
import Data.Text.IO qualified as TIO |