Skip to content

Instantly share code, notes, and snippets.

Carlos Gustavo Ruiz atmantree

Block or report user

Report or block atmantree

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
atmantree /
Last active Dec 9, 2018
What are some bad programming practices every programmer needs to be aware of in order to avoid them?
atmantree /
Created Jul 16, 2018 — forked from subfuzion/
curl POST examples

Common Options

-#, --progress-bar Make curl display a simple progress bar instead of the more informational standard meter.

-b, --cookie <name=data> Supply cookie with request. If no =, then specifies the cookie file to use (see -c).

-c, --cookie-jar <file name> File to save response cookies to.

atmantree / hbprogress.hs
Last active Apr 12, 2018
haskell script to show your reading progress of the haskellbook
View hbprogress.hs
#!/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 =
atmantree / README.markdown
Last active Aug 6, 2018
Gabriel Gonzalez: How to create a new Haskell project
View README.markdown
atmantree / 00_README.markdown
Last active Sep 21, 2017
Programming Mottos, Paradigm, Principles, and more.
View 00_README.markdown

Programming Mottos, Paradigm, Principles, and more.

Don't Repeat Yourself (DRY)


"In software engineering, don't repeat yourself (DRY) is a principle of software development aimed at reducing repetition of all kinds.

The DRY principle is stated as “Every piece of knowledge must have a single, unambiguous,

atmantree / README.markdown
Last active Aug 6, 2018
Haskell Stack Mega - Tutorial
View README.markdown
atmantree / README.markdown
Last active Jan 8, 2019
Rob Pike - "Concurrency is not Parallelism"
View README.markdown

Rob Pike - "Concurrency is not Parallelism"

Rob Pike - "Concurrency is not Parallelism"



  • the world is not object oriented, is actually parallel
  • concurrency is dealing with a lot of things at once, parallel is doing a lot of things at once, one is about structure,
atmantree / 0_README.markdown
Last active Aug 6, 2018
Scripting in Haskell
View 0_README.markdown
atmantree / dpt.js
Created May 17, 2017
División Político Territorial de Venezuela
View dpt.js
// División Político Territorial
Estados = {
"01": {"nombre":"DISTRITO CAPITAL",
"02": {"nombre":"AMAZONAS",
"03": {"nombre":"ANZOATEGUI",
atmantree / few_v1.hs
Last active Sep 11, 2017
Fuck Every Word (haskell dumb program)
View few_v1.hs
-- Fuck Every Word
-- inspired by
-- usage: runghc few.hs < some_text_file.txt
fuckAWord a = "Fuck " ++ a ++ "!\n"
fuckEveryWord = concat . map fuckAWord . words
main = interact fuckEveryWord
You can’t perform that action at this time.