Skip to content

Instantly share code, notes, and snippets.

@mateusvelleda
mateusvelleda / Makefile
Last active January 17, 2023 15:06
Makefile for node. Use ci-checks as a pre-push hook
RUNNER:=yarn
ifneq ("$(wildcard ./package-lock.json)","")
RUNNER:=npm
endif
INSTALL_CMD:=$(RUNNER) install
RUN_CMD:=$(RUNNER) run
RUN = $(INSTALL_CMD) && $(RUN_CMD)
### Keybase proof
I hereby claim:
* I am mateusvelleda on github.
* I am mvellar (https://keybase.io/mvellar) on keybase.
* I have a public key ASAsfoyQS6oDZ0wqBnafqv5qiAO_B1x7miMnmpKcXlykKAo
To claim this, I am signing this object:
@mateusvelleda
mateusvelleda / package.json
Last active July 10, 2020 23:50
Testing NPX
{
"name": "test-npx",
"private": false,
"version": "0.0.1",
"bin": "./testing-npx.js"
}
@mateusvelleda
mateusvelleda / _wp-unobtrusive-admin-bar.scss
Last active July 10, 2020 20:49
Wordpress Discrete / Unobtrusive Admin Bar
// overrides WP admin bar behavior
// use mouseover on screen's top left corner to show it
@keyframes hideAdminBar {
from {
width: 35px;
}
to {
width: 35px;
}