Skip to content

Instantly share code, notes, and snippets.

View carlosgruiz-dev's full-sized avatar
🐼

Carlos Gustavo Ruiz carlosgruiz-dev

🐼
View GitHub Profile
@carlosgruiz-dev
carlosgruiz-dev / another.gitignore
Last active February 3, 2020 03:36 — forked from jadhavj/.gitignore
.gitignore for Scala, SBT with IntelliJ
# 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
@carlosgruiz-dev
carlosgruiz-dev / hbprogress.hs
Last active April 12, 2018 04:27
haskell script to show your reading progress of the haskellbook
#!/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 =
@carlosgruiz-dev
carlosgruiz-dev / README.markdown
Last active August 6, 2018 17:54
Haskell Stack Mega - Tutorial
@carlosgruiz-dev
carlosgruiz-dev / dpt.js
Created May 17, 2017 04:50
División Político Territorial de Venezuela
// 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"]},
@carlosgruiz-dev
carlosgruiz-dev / few_v1.hs
Last active September 11, 2017 23:25
Fuck Every Word (haskell dumb program)
-- 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
@carlosgruiz-dev
carlosgruiz-dev / README.markdown
Last active July 23, 2017 19:16
show terminal colors

Scripts

  • colors.sh - tmux colors pallete
@carlosgruiz-dev
carlosgruiz-dev / Bookmarks.markdown
Last active February 19, 2023 22:36
Bookmarks

A

  • 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.