Skip to content

Instantly share code, notes, and snippets.

View israelias's full-sized avatar
🧬
git clone @israelias

J. Elias Sañez israelias

🧬
git clone @israelias
View GitHub Profile
@israelias
israelias / instruction.md
Created January 8, 2025 10:26
Migrating from Vercel's native GitHub integration to GitHub Actions for deployments

Migrating from Vercel's native GitHub integration to GitHub Actions for deployments involves several steps to ensure a smooth transition without disrupting your deployment history. Here's how you can proceed:

  1. Disable Vercel's GitHub Integration:
    • In your Vercel project, navigate to the Settings tab.

    • Under the Git section, set the github.enabled property to false in your vercel.json file:

      {
        "github": {

"enabled": false

@israelias
israelias / config.md
Created January 8, 2025 10:16
Ignored Build Step Configuration for Vercel for Github

To configure Vercel to skip deployments when changes are made solely to the .github/ directory, the docs/ directory, or any Markdown (*.md) files, you can set up the Ignored Build Step in your Vercel project settings. This ensures that modifications to these specific files or directories do not trigger unnecessary deployments.

Steps to Configure the Ignored Build Step:

  1. Access Vercel Project Settings:

    • Navigate to your project on the Vercel dashboard.
    • Click on the Settings tab.
    • Select the Git section.
  2. Set Up the Ignored Build Step:

@israelias
israelias / ToolbarContainer.vue
Last active September 4, 2024 10:55
lex-web-ui ultimate refresh
<!-- lex-web-ui/src/components/ToolbarContainer.vue -->
<!-- Ultimate Restart Button (user initiated) -->
<template>
<!-- eslint-disable max-len -->
<!-- v-toolbar -->
<!-- v-menu -->
<!-- v-list -->
<!-- if enableLogin -->
<!-- if isSaveHistory -->
@israelias
israelias / SFDC-Pipeline.md
Last active June 10, 2024 17:09
Sync Fork Diff Clone Pipeline | A One-Person Job
@israelias
israelias / extensions.json
Last active December 10, 2021 12:56
vscode installed extensions
{
"plugins": [
{
"metadata": {
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b",
"publisherId": "aaron-bond.better-comments",
"publisherDisplayName": "aaron-bond"
},
"name": "better-comments",
"publisher": "aaron-bond",
@israelias
israelias / react-fixed-bottom.js
Created February 2, 2021 01:40 — forked from Toolo/react-fixed-bottom.js
React component with proper fixed bottom support for Safari mobile
import React, {Component} from 'react';
import PropTypes from 'prop-types';
import throttle from 'lodash.throttle';
const SAFARI_MOBILE_BOTTOM_MENU_HEIGHT = 44;
export default class FixedBottom extends Component {
static propTypes = {
children: PropTypes.element.isRequired,
offset: PropTypes.number,
@israelias
israelias / toggle-container.css
Created November 18, 2020 05:45
Boolean State Indicator
/* Declare default state and action indicators for '.toggle-container' scope. */
.toggle-container {
--current-mode: "interactive/";
--current-state: "collapsible";
--current-action: "expand";
--current-scope: "all";
}
/* Select '.toggle-container' via ':checked' to set values in toggled state. */