Skip to content

Instantly share code, notes, and snippets.

View antoniogamiz's full-sized avatar
🎯
Focusing

Antonio antoniogamiz

🎯
Focusing
View GitHub Profile
# zsh
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="robbyrussell"
plugins=(git)
source $ZSH/oh-my-zsh.sh
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
@antoniogamiz
antoniogamiz / test.p6
Created May 26, 2020 18:09
trying to overload a function to detect no arguments passed
package Documentable::CLI {
sub RUN-MAIN(|c) is export {
my %*SUB-MAIN-OPTS = :named-anywhere;
CORE::<&RUN-MAIN>(|c)
}
our proto MAIN(|) is export { * }
multi MAIN () {
1 RMD: Requested for settings CORE.d
1 RMD: Requested for settings CORE.c
1 RMD: Loading settings CORE.c
1 RMD: Loading bytecode from CORE.c.setting.moarvm
1 RMD: going to load Perl6::BOOTSTRAP::v6c
2 RMD: Requested for settings CORE.d
2 RMD: Requested for settings CORE.c
2 RMD: Loading settings CORE.c
2 RMD: Loading bytecode from CORE.c.setting.moarvm
2 RMD: going to load Perl6::BOOTSTRAP::v6c
@antoniogamiz
antoniogamiz / cache.p6
Created May 10, 2020 09:13
Trying to understand how compilation works
use nqp;
role GenericCache {
has $.precomp-repo;
method pod (Str :$name) { ... };
method list-files (--> List ) { ... }
}
class Cache does GenericCache {
submethod BUILD(Str :$dir) {

Chili con carne

Ingredientes

  • Carne picada: mezcla de cerdo y ternara 0.5kg
  • Habichuelas (un puñado por persona)
  • Tomate triturado: 800g
  • Pimentón
  • Pimiento rojo
  • Pimientos semipicantes (opcional)
@antoniogamiz
antoniogamiz / .git-commit-template
Created October 14, 2019 15:54 — forked from zakkak/.git-commit-template
This commit message template that helps you write great commit messages and enforce it across your team.
# [<tag>] (If applied, this commit will...) <subject> (Max 72 char)
# |<---- Preferably using up to 50 chars --->|<------------------->|
# Example:
# [feat] Implement automated commit messages
# (Optional) Explain why this change is being made
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
# (Optional) Provide links or keys to any relevant tickets, articles or other resources
# Example: Github issue #23
{"lastUpload":"2020-10-07T11:02:13.982Z","extensionVersion":"v3.4.3"}
use Cro::HTTP::Server;
use Cro::HTTP::Router;
my $PORT = 2314;
say "Starting server...";
say "Listening on port $PORT...";
my $application = route {
post -> {
Getting links from ./doc/doc
Reading previous links...
Comparing links...
55missing: 
language/001-GroupA.html
language/004-GroupB.html
language/016-GroupC.html
language/034-GroupD.html
language/045-GroupE.html
language/085-GroupF.html
@antoniogamiz
antoniogamiz / REPORT.md
Last active August 24, 2019 06:49
Work Report for Google Summer Of Code 2019