Skip to content

Instantly share code, notes, and snippets.

View cesasol's full-sized avatar

César Valadez cesasol

View GitHub Profile
@cesasol
cesasol / keybase.md
Created May 13, 2021 16:24
keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

---
0 debug pnpm:scope:
selected: 1
workspacePrefix: null
1 error pnpm:
message:
code: "ERR_PNPM_REGISTRY_META_RESPONSE_404"
uri: "https://registry.npmjs.org/@fortawesome%2Fpro-solid-svg-icons"
response:
size: 0
@cesasol
cesasol / cloudSettings
Created March 5, 2019 17:20
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-03-05T17:20:43.076Z","extensionVersion":"v3.2.5"}
@cesasol
cesasol / cloudSettings
Created February 20, 2019 19:36
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-02-20T19:36:31.753Z","extensionVersion":"v3.2.5"}
@cesasol
cesasol / .eslintrc.js
Created February 20, 2019 19:33
My eslintrc for nuxt with prettier and airbnb
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true
},
parserOptions: {
parser: 'babel-eslint',
ecmaVersion: 2018,
@cesasol
cesasol / pnpm-install
Created October 10, 2018 23:13
pnpm install solver
#!/bin/sh
# This is a simple hack to fix the pnpm module resolution, if you encounter "Module not found" in some deep dependency of your
# project, then use this script to add those not founded dependencies as a direct dev dependency.
# All credit goes to flaviut https://github.com/pnpm/pnpm/issues/1261
while true; do pnpm install -D $(pnpm start 2>&1 | grep 'Error: Cannot find module' | sed "s/Error: Cannot find module '\([a-z.-]\+\)'/\1/g"); done
@cesasol
cesasol / buefy.js
Created October 9, 2018 20:07
Treeshakeable buefy on nuxt
/**
* This is a plugin for nuxtjs to import only what you need from buefy
* works on nuxt 2.1.0 and buefy 0.7.0
*/
import Vue from 'vue'
import Autocomplete from '~/libs/buefy/components/autocomplete/Autocomplete.vue'
import Checkbox from '~/libs/buefy/components/checkbox/Checkbox.vue'
import CheckboxButton from '~/libs/buefy/components/checkbox/CheckboxButton.vue'
@cesasol
cesasol / _membership2pro.scss
Created August 4, 2016 16:24
Styling wordpress plugin "Membership 2 Pro" with foundation
.ms-alert-box {
@include callout-base;
ms-alert-success {
@include callout-style($success-color);
}
}
.ms-form-price-boxes {
@include flex-grid-row();
.ms-membership-form{
@include breakpoint(small) {
@cesasol
cesasol / bp-single-index.php
Created May 23, 2016 23:11
Draft for index for bp, PH Estético
<?php
/**
* BuddyPress - Members Index
*
* @package BuddyPress
* @subpackage bp-legacy
*/
?>
<?php