- A bit of Vim - a book which aims to help you to learn how to use the Vim editor.
- A.W.E.S.O.M. O - The really big list of really interesting open source projects.
- AMP Project - The project enables the creation of websites and ads that are consistently fast, beautiful and high-performing across devices and distribution platforms.
- APE - Angular JS REST Client.
- ASCII Art - Real-Time ASCII Art Rendering Library
- AST Explorer - A web tool to explore the ASTs generated by various parsers.
- Advanced Bash-Scripting Guide - An in-depth exploration of the art of shell scripting by Mendel Cooper.
- Advent of Code - is a series of small programming puzzles for a variety of skill levels.
This file contains hidden or 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
-- Fuck Every Word | |
-- inspired by https://twitter.com/fuckeveryword | |
-- usage: runghc few.hs < some_text_file.txt | |
fuckAWord a = "Fuck " ++ a ++ "!\n" | |
fuckEveryWord = concat . map fuckAWord . words | |
main = interact fuckEveryWord |
This file contains hidden or 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
// División Político Territorial | |
Estados = { | |
"01": {"nombre":"DISTRITO CAPITAL", | |
"municipios":["0101"]}, | |
"02": {"nombre":"AMAZONAS", | |
"municipios":["0201","0202","0203","0204","0205","0206","0207"]}, | |
"03": {"nombre":"ANZOATEGUI", | |
"municipios":["0301","0302","0303","0304","0305","0306","0307","0308","0309","0310","0311", | |
"0312","0313","0314","0315","0316","0317","0318","0319","0320","0321"]}, |
source: https://www.youtube.com/watch?v=sRonIB8ZStw
- google for haskell stack
- install stack
- find stack bin path (stack path)
- add stack bin path to user PATH variable
- building wreq using stack
- find wreq in hackage
This file contains hidden or 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 stack | |
-- stack runghc --resolver lts-11.2 --install-ghc | |
import Text.Read (readMaybe) | |
import System.Environment (getArgs) | |
progress :: Integer -> String | |
progress pag = show $ fromIntegral ( div (pag * 10000) 1971) / 100 | |
showProgress :: [String] -> IO() | |
showProgress args = |
This file contains hidden or 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
# sbt | |
# (may want to keep parts of 'project') | |
# from https://alvinalexander.com/source-code/scala/sample-gitignore-file-scala-sbt-intellij-eclipse | |
bin/ | |
project/ | |
target/ | |
build/ | |
# eclipse | |
build |