This code now lives in its own repo https://github.com/snoyberg/kids-haskell-ide
View ffcut.sh
#!/bin/bash | |
if [ "$1" == "" ]; then | |
echo "no input file name"; | |
exit 1; | |
else | |
mp3file="$1"; | |
fi | |
View count-hackage-revisions.hs
#!/usr/bin/env stack | |
-- stack --resolver lts-8.19 script --package Cabal --package Glob | |
-- This script counts the total number of versions and revisions on Hackage. | |
-- | |
-- Usage: | |
-- 1. Download and unpack <https://hackage.haskell.org/01-index.tar.gz>. | |
-- 2. Run `./Main.hs 'path-to-unpacked-index/**/*.cabal'`. | |
-- | |
-- Example output as of 23 July 2017: |
View install-stack-raspbian.sh
#!/bin/sh | |
set +ex | |
# A script to install stack on Raspbian | |
# Use stack installer script to install stack | |
curl -sSL https://get.haskellstack.org/ | sh | |
# Use apt-get to install llvm |
View Dependencies.hs
{- | |
stack | |
--resolver lts-7 | |
--install-ghc | |
runghc | |
--package aeson | |
--package bytestring | |
--package containers | |
-- | |
-Wall |
View haskell-package-versions.hs
{- stack | |
--resolver lts-7 | |
--install-ghc | |
runghc | |
--package containers | |
--package filepath | |
--package http-client | |
--package http-client-tls | |
--package tar | |
--package time |
View pdfmarks
[ /Title (Elementary Differential Equations) | |
/Author (Edwards & Penney) | |
/DOCINFO pdfmark | |
[ /Title (Contents) | |
/Page 6 | |
/OUT pdfmark | |
[ /Count -8 | |
/Title (1. First-Order Differential Equations) |