Skip to content

Instantly share code, notes, and snippets.

@nouse
Last active August 5, 2016 15:32
Show Gist options
  • Save nouse/fd51cea48ff6759d005bfd7ec0671e0a to your computer and use it in GitHub Desktop.
Save nouse/fd51cea48ff6759d005bfd7ec0671e0a to your computer and use it in GitHub Desktop.
code sample

Contents

knight.go

solve knight touring problem in Go run: go run knight.go

queens.go

8 queens puzzle in Go run: go run queens.go

permissions

CLI to process permissions db in Haskell run: stack build; stack exec -- permissions --help

ftpserver

A ftp server implemented in Haskell

run:

  • stack build
  • stack exec -- ftpserver
  • use ftp client to list and get files

gut

A SPA demo, written in angular.js and Ruby

run:

  • bundle install
  • bundle exec postgres://recipes:recipes@localhost/recipes -m migrations
  • bundle exec rackup
  • open browser http://localhost:9292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment