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
#!/usr/bin/env sh | |
sed "y/,.:;!?\"'\`^~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz/,.:;!?"'`^~0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz/" |
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
server { | |
server_name ipfsup.stride.press; | |
location / { | |
proxy_pass http://127.0.0.1:8088; | |
proxy_set_header X-Real-IP $remote_addr; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header Host $http_host; | |
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
proxy_set_header X-Forwarded-Proto $scheme; |
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
src/App.hs:61:18: error: | |
• Couldn't match type ‘[]’ | |
with ‘Web.Scotty.Internal.Types.ActionT T.Text IO’ | |
Expected type: Web.Scotty.Internal.Types.ActionT T.Text IO [String] | |
Actual type: [[String]] | |
• In a stmt of a 'do' block: | |
names <- mapM | |
(\ h | |
-> do n <- liftIO $ Data.Cache.lookup cache h | |
name <- case n of |
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
src/App.hs:61:18: error: | |
• Couldn't match type ‘[]’ | |
with ‘Web.Scotty.Internal.Types.ActionT T.Text IO’ | |
Expected type: Web.Scotty.Internal.Types.ActionT T.Text IO [Char] | |
Actual type: [[Char]] | |
• In a stmt of a 'do' block: | |
names <- mapM | |
(\ h | |
-> do n <- liftIO $ Data.Cache.lookup cache h | |
name <- case n of |
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
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
module App (app) where | |
import Control.Monad.IO.Class | |
import Data.Aeson.Types (Result (Success)) | |
import qualified Data.ByteString.Char8 as BS | |
import Data.Cache | |
import qualified Data.HashMap.Strict as H |
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
-------------------------------------------------------------------------------- | |
{-# LANGUAGE OverloadedStrings #-} | |
import Control.Monad (forM_) | |
import Data.List (isSuffixOf, lines) | |
import Data.Monoid (mappend) | |
import Hakyll | |
import System.FilePath (takeBaseName, takeDirectory, (</>)) | |
-------------------------------------------------------------------------------- | |
main :: IO () |
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
TAG_Compound(''): | |
TAG_Compound('Level'): | |
TAG_String('Status'): 'full' | |
TAG_Long('zPos'): 9 | |
TAG_Long('LastUpdate'): 24 | |
TAG_Int_Array('Biomes'): 256 Elements | |
TAG_Long('InhabitedTime'): 0 | |
TAG_Long('xPos'): 2 | |
TAG_Compound('Heightmaps'): | |
TAG_Long_Array('OCEAN_FLOOR'): 36 Elements |
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