- Svamp att steka (kantareller eller skogschampinjoner, mer än vad man tror)
- Smör
- Olivolja
- Vitlök
- Risottoris (arborio eller carnaroli)
- Chalottenlök
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
// Run with: | |
// $ TZ="Europe/London" deno run --unstable-temporal | |
const DATE_FORMAT: Intl.DateTimeFormatOptions = { | |
month: 'long', | |
year: 'numeric', | |
day: 'numeric', | |
hour: '2-digit', | |
hour12: false, | |
minute: '2-digit', |
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
// test/_test-helper.ts | |
type Test = () => void | Promise<void>; | |
export interface TestCase { | |
name: string; | |
test: Test; | |
path?: string; | |
} |
Jag gjorde inte alltför många turistiga grejer, jag traskade mest bara omkring och upptäckte saker. Det är så mycket cool energi i de olika stadsdelarna, så det liksom räckte för mig (tom. tunnelbanan är cool!). Googla upp om det finns spännande restauranger ni vill dra på, utifall ni behöver bokningar eller så. NYC har sååå mycket sånt coolt. Allmänt så är maten nice och inte jättesvindyr.
- Dumbo i Brooklyn var coolt! Bra vy över södra Manhattan. Bara ta vagnen över Manhattan bridge (tror jag) och hoppa av på första stationen väl i Brooklyn.
- De har bra pizza på Julia's (tror jag namnet var) i Dumbo.
- Tulip Fever
- Sleeping Beauty
- Incendies
- Rust And Bone (4/5)
- The Big Short (3/5)
- Joy (4/5)
- Wild Tales (5/5)
- Hail Caesar (3/5)
- My Blueberry Nights (didn’t finish)
- Mulholland Drive (5/5)
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>MediaSource</title> | |
</head> | |
<body> | |
<video id="video"></video> | |
<script type="text/javascript"> |
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
<?php | |
$page = $_GET['page']; | |
$map = [ | |
'about' => 'about.php'; | |
]; | |
$file = $map[$page]; | |
# Fallback | |
if(!$file) { |
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
const store = { | |
_state: 0, | |
max: Infinity, | |
min: 0, | |
_listeners: [], | |
set listeners(fn) { | |
this._listeners.push(fn); | |
}, | |
get current() { | |
return this._state; |
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
Meteor.publish('nightclub', (nightClubId) => { | |
check(nightClubId, String); | |
const clubFields = {name: 1, managers: 1}; | |
const managerFields = {profile: 1, emails: 1}; | |
const clubCursor = Nightclubs.find(nightClubId, {limit: 1, fields: clubFields}); | |
const managerIds = _.pluck(clubCursor.fetch(), 'managers'); | |
const managersCursor = Meteor.users.find({_id: {$in: managerIds}}, {fields: managerFields}); |
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
const updateNightclub = (req, res, next) => { | |
const nightclubId = req.params.id; | |
const {value} = req.body; | |
console.log(nightclubId, value); | |
Nightclubs.methods.updateVisitors.call({nightclubId, value}, (err, result) => { | |
const response = { | |
code: 200 | |
}; |
NewerOlder