Skip to content

Instantly share code, notes, and snippets.

View Ariel-Rodriguez's full-sized avatar

Ariel Rodriguez Ariel-Rodriguez

View GitHub Profile

Keybase proof

I hereby claim:

  • I am ariel-rodriguez on github.
  • I am argdz (https://keybase.io/argdz) on keybase.
  • I have a public key ASAWFLb14CAQsFmyizHMotgStZJoPHnNdRq1sMF2RSfdnAo

To claim this, I am signing this object:

@Ariel-Rodriguez
Ariel-Rodriguez / boilerplate.js
Last active July 18, 2019 08:16
boilerplate
// Helpers for intereview
(function() {
window.addItem = function addItem(e){
var t=document.querySelector("#restaurant-list"),n=document.createElement("li");n.innerHTML="Item "+e,t.appendChild(n)
}
var next = 0;
window.fetchItems = function fetchItems() {
return new Promise((r, reject) => {
if (next > 7) { reject() }
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPEBsw
IDAuMTY4NjI3NDUxIDAuMjExNzY0NzA1OQAQAYAC0hAREhNaJGNsYXNzbmFtZVgkY2xh
c3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hpdmVy0RcYVHJvb3SA
@Ariel-Rodriguez
Ariel-Rodriguez / GPG and git on macOS.md
Created October 10, 2017 19:18 — forked from danieleggert/GPG and git on macOS.md
How to set up git to use the GPG Suite

GPG and git on macOS

Setup

No need for homebrew or anything like that. Works with https://www.git-tower.com and the command line.

  1. Install https://gpgtools.org -- I'd suggest to do a customized install and deselect GPGMail.
  2. Create or import a key -- see below for https://keybase.io
  3. Run gpg --list-secret-keys and look for sec, use the key ID for the next step
  4. Configure git to use GPG -- replace the key with the one from gpg --list-secret-keys
@Ariel-Rodriguez
Ariel-Rodriguez / .eslintrc.js
Created October 10, 2017 16:37
My extended airbnb eslint 2017
module.exports = {
"extends": "airbnb",
"parser": "babel-eslint",
"plugins": [
"react",
"jsx-a11y",
"import"
],
@Ariel-Rodriguez
Ariel-Rodriguez / semver.sh
Last active June 9, 2023 22:00
semver compare tool in bash
#!/bin/bash
# THIS IS AN OBSOLETE SCRIPT WITH BUGS. FOR UPDATED VERSIONS PLEASE CHECK https://github.com/Ariel-Rodriguez/sh-semversion-2
###
# semantic version comparition using semver specification http://semver.org/
# This bash script compares pre-releases alphabetically as well
#
# returns 1 when A greater than B
# returns 0 when A equals B
@Ariel-Rodriguez
Ariel-Rodriguez / ECuBw.markdown
Created October 22, 2014 19:17
A Pen by Ariel.