Skip to content

Instantly share code, notes, and snippets.

View oxyc's full-sized avatar

oxyc

View GitHub Profile
<div class="compare" data-compare-product>
<input type="text" class="compare__product-search" />
<div class="compare__suggestions"></div>
<div class="compare__details"></div>
</div>
/////
for (const el of document.querySelectorAll('[data-compare-product]')) {
compareProduct.init(el);
}
@oxyc
oxyc / README.md
Created October 16, 2019 15:37 — forked from tombigel/README.md
How to Change Open Files Limit on OS X and macOS Sierra (10.8 - 10.12)

How to Change Open Files Limit on OS X and macOS

This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x

The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/

Mac OS X

To check the current limits on your Mac OS X system, run:

@oxyc
oxyc / config.yml
Last active January 6, 2017 15:12 — forked from vyasamit2007/config.yml
---
vagrant_box: geerlingguy/ubuntu1404
vagrant_hostname: project.local
vagrant_machine_name: project
vagrant_ip: 192.168.88.89
vagrant_synced_folders:
- local_path: ..
destination: /var/www/project