Skip to content

Instantly share code, notes, and snippets.

👔
Looking for a job as front-end developer!

Ricardo Balk ellipticcurv3

👔
Looking for a job as front-end developer!
Block or report user

Report or block ellipticcurv3

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
View array-forEach-call.js
/* High level recipe */
Array.prototype.forEach.call(/* array */, /* function to call */);
/* Typical usage */
Array.prototype.forEach.call(/* array */, function(x){
/* Something to do with x */
});
/* Example (using an anonymous function) */
Array.prototype.forEach.call(document.querySelectorAll('.blog section article h1'), function(element){
@ellipticcurv3
ellipticcurv3 / kb-aliases
Last active Dec 29, 2018
Handy Keybase Aliases
View kb-aliases
# Keybase Aliases
# Search for questions
`keybase chat search-regexp --public --sent-after $(date -d "$date -14 days" +"%Y-%m-%d") --context 0 --regex 'keybasefriends' '^.*?\?$' | sed '/^\n*$/d' | tac`
- Searches in a chat using a regular expression, for:
- messages ending with a question mark
- that are not older than 14 days
- discarding empty lines (lines that only contain a newline character, `\n`) (`sed '/^\n*$/d'`)
@ellipticcurv3
ellipticcurv3 / pdf-to-jpg.sh
Created Sep 25, 2018
Useful ImageMagick commands
View pdf-to-jpg.sh
#!/bin/sh
# Converting pages from a PDF file to JPG images with 300 dpi resolution
convert -density 300 input.pdf output.jpg
View Keybase.md

Keybase proof

I hereby claim:

  • I am ellipticcurv3 on github.
  • I am ellipticcurv3 (https://keybase.io/ellipticcurv3) on keybase.
  • I have a public key ASAvyrKaP17hWFxlMb9P17BsgI8WvaIlHhaVTdSX_D79jAo

To claim this, I am signing this object:

You can’t perform that action at this time.