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
type Move = | |
| AFwd | |
| BFwd | |
| XCross | |
// list of amove, bmove, xcross moves tuples (costs) | |
let moveCosts = [(50, 10, 30); (5, 90, 20); (40, 2, 25); (10, 8,0)] | |
let bottomGraphVal = ((0, ([]: Move list)), (0, ([] : Move list))) | |
let calcNewSetAndMoves ((aVal, (aRoute)), (bVal, (bRoute))) (aFwd, bFwd, xCross) = |
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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace CSHeathrow | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ |
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
//http://en.wikipedia.org/wiki/Zebra_Puzzle | |
// Zebra Puzzle | |
// | |
//1 There are five houses. | |
// | |
//2 The Englishman lives in the red house. | |
// | |
//3 The Spaniard owns the dog. | |
// | |
//4 Coffee is drunk in the green house. |
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
Option Explicit | |
Public Const iTREND_UP As Integer = 1 | |
Public Const iTREND_DOWN As Integer = 1 | |
Public Const iTRUE As Integer = 1 | |
Public Const iFALSE As Integer = 0 | |
Type trend | |
newTrend As Integer 'only zero or one value, not using bool to line up with excel sheet |
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
<img src="qd56865.png" usemap="#qd56865" width="458" height="288" alt="click map" border="0" /> | |
<map id="qd56865" name="qd56865"> | |
<!-- Region 1 --> | |
<area shape="rect" alt="Start the day with registration & coffee" title="Start the day with registration & coffee" coords="3,2,455,27" href="http://www.curiouscourses.ch/welcome" target="_blank" /> | |
<!-- Region 2 --> | |
<area shape="rect" alt="Keynote speech to all attendees" title="Keynote speech to all attendees" coords="2,28,455,54" href="http:www.curiouscourses.ch/keynote" target="_blank" /> | |
<!-- Region 3 --> | |
<area shape="rect" alt="What happens at ten o'clock" title="What happens at ten o'clock" coords="3,54,51,76" href="http://www.curiouscourses.ch/tenoclock" target="_blank" /> | |
<!-- Region 4 --> | |
<area shape="rect" alt="What happens at eleven o'clock" title="What happens at eleven o'clock" coords="5,82,49,106" href="http://www.curiouscourses.ch/elevenoclock" target="_blank" /> |
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
tap "caskroom/cask" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/core" | |
tap "universal-ctags/universal-ctags" | |
cask "osxfuse" | |
brew "autoconf" | |
brew "bazaar" | |
brew "bison" | |
brew "libffi" |
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
automake | |
bazaar | |
bison | |
cmake | |
ffmpeg | |
gawk | |
git | |
gnu-sed | |
go | |
ledger |
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
Henriks-MacBook-Pro:~ henrikkarlsson$ nix-shell -p qutebrowser | |
these paths will be fetched (128.80 MiB download, 549.83 MiB unpacked): | |
/nix/store/0jw5lc32jlpmn7a9acx9650152rfbjym-gst-plugins-good-1.18.2 | |
/nix/store/1282ms18d6vva5hwb9j25gsra2fgfp12-lcms2-2.12 | |
/nix/store/1fybwp7mqnla7z844q7qgx2183yjs6mg-python3.8-importlib_resources-5.1.2 | |
/nix/store/1hmymg9w4vbrzckyjyqsi4hziri40qh3-mjpegtools-2.1.0-lib | |
/nix/store/2hnrb14qs8rw5qjzhr4r0zlfv2zlgjzw-libdc1394-2.2.6 | |
/nix/store/2nnlm4fi8wr7anll2narmzlcwqy5l8xc-mariadb-connector-c-3.1.8 | |
/nix/store/2yncxv2dnfm4fgj9smy0cvljw2hh2bbc-libgme-0.6.3 | |
/nix/store/30c7mgx4wqxba2xn21ddjy07z4fvv2f6-orc-0.4.32 |
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
{ pkgs, config, modulesPath, ... }: | |
let | |
nixos-wsl = import ./nixos-wsl; | |
in | |
{ | |
imports = [ | |
nixos-wsl.nixosModules.wsl | |
<home-manager/nixos> | |
]; |
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
h scroll left | |
j scroll down | |
k scroll up | |
l scroll right | |
gg scroll to top of the page | |
G scroll to bottom of the page | |
f activate link hints mode to open in current tab | |
F activate link hints mode to open in new tab | |
r reload |
OlderNewer