From 5b8ccfa390ec0f6706d55d065326016070da54cb Mon Sep 17 00:00:00 2001 From: Ian Emnace Date: Tue, 30 Oct 2018 10:10:19 +0800 Subject: [PATCH 1/2] Create multiply_ints.vim A one-line function in VimL that multiplies two ints a and b without any arithmetic/bitwise operators. --- vim/multiply_ints.vim | 1 + 1 file changed, 1 insertion(+) create mode 100644 vim/multiply_ints.vim diff --git a/vim/multiply_ints.vim b/vim/multiply_ints.vim new file mode 100644 index 00000000..a4fe9885 --- /dev/null +++ b/vim/multiply_ints.vim @@ -0,0 +1 @@ +let Multiply = {a, b -> len(repeat(repeat('i', a), b))} From 9d85d4322c989f4192dd4919e595ad19730dc553 Mon Sep 17 00:00:00 2001 From: Ian Emnace Date: Tue, 30 Oct 2018 10:22:02 +0800 Subject: [PATCH 2/2] Add to CONTRIBUTORS.md --- CONTRIBUTORS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 96fc5c2b..b1ac8afa 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -233,3 +233,8 @@ Name: Ankur Sonawane
Place: Varanasi, India Coding Experience:Python, C, CPP Email: sankur.shrikant.eee16@itbhu.ac.in + +Name: [Ian Emnace](https://github.com/igemnace)
+Place: Quezon City, Philippines
+Coding Experience: Software development in Javascript, in browser and with Node.js. Projects in React/React Native, Vue. Toolbox primarily includes Vim scripts, Unix shell, and miscellaneous Python/Perl/Ruby programs.
+Email: igemnace@gmail.com