Skip to content

Instantly share code, notes, and snippets.

@heimer79
heimer79 / History|-2b58d316|entries.json
Last active September 1, 2023 01:51
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///Users/hmartinez/Documents/LocalSites/edumed2023/app/public/wp-content/themes/edumed/css/new-homepage-change.css","entries":[{"id":"dn9w.css","timestamp":1693531347957},{"id":"w2dN.css","timestamp":1693531386084}]}
@heimer79
heimer79 / gist:6c5703f93c64ece1d87c13f3a3345847
Last active May 4, 2021 21:01
Robots txt para SEO WordPress
# Basic blocking for all bots and crawlers
# problems due to resource blocking in GWT
User-agent: *
Allow: /wp-content/uploads/*
Allow: /wp-content/*.js
Allow: /wp-content/*.css
Allow: /wp-includes/*.js
Allow: /wp-includes/*.css
Disallow: /cgi-bin
@heimer79
heimer79 / cloudSettings
Created January 28, 2021 15:22
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-01-28T15:22:07.638Z","extensionVersion":"v3.4.3"}
@heimer79
heimer79 / Instalaciones-React.md
Created February 8, 2021 04:08 — forked from Klerith/Instalaciones-React.md
Instalaciones recomendadas para mi curso de React de cero a experto
@heimer79
heimer79 / react-index.html
Created February 15, 2021 03:29 — forked from Klerith/react-index.html
Introducción a React
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<!-- Cargat React -->
<script crossorigin src="https://unpkg.com/react@16/umd/react.production.min.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@16/umd/react-dom.production.min.js"></script>
<script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script>
# Created by https://www.gitignore.io/api/wordpress
# Edit at https://www.gitignore.io/?templates=wordpress
### WordPress ###
# ignore everything in the root except the "wp-content" directory.
!wp-content/
# ignore everything in the "wp-content" directory, except:
# "mu-plugins", "plugins", "themes" directory
@heimer79
heimer79 / gist:93d79897fdbbfa63a2e32efacf18afb4
Created April 22, 2021 15:14
WP config debug parameters
@ini_set('display_errors',0);
@ini_set('error_reporting', E_ALL );
define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );
define( 'SCRIPT_DEBUG', false );
define( 'SAVEQUERIES', false );
@heimer79
heimer79 / instalaciones-javascript-curso.md
Created January 12, 2023 12:33 — forked from Klerith/instalaciones-javascript-curso.md
Instalaciones recomendadas - Curso de JavaScript
@heimer79
heimer79 / vite-testing-config.md
Last active July 7, 2024 04:00 — forked from Klerith/vite-testing-config.md
Vite + Jest + React Testing Library - Configuraciones a seguir

Instalación y configuracion de Jest + React Testing Library

En proyectos de React + Vite

  1. Instalaciones:
yarn add --dev jest babel-jest @babel/preset-env @babel/preset-react 
yarn add --dev @testing-library/react @types/jest jest-environment-jsdom
  1. Opcional: Si usamos Fetch API en el proyecto: