Skip to content

Instantly share code, notes, and snippets.

@magicznyleszek
magicznyleszek / css-selectors.md
Last active March 29, 2024 01:12
CSS Selectors Cheatsheet

CSS Selectors Cheatsheet

Hi! If you see an error or something is missing (like :focus-within for few years :P) please let me know ❤️

Element selectors

Element -- selects all h2 elements on the page

h2 {
@DavidWells
DavidWells / reset.css
Last active May 4, 2024 20:04 — forked from karbassi/reset.css
CSS reset. Follow me on the twitters for more tips: https://twitter.com/davidwells
/* http://meyerweb.com/eric/tools/css/reset/
v2.0-modified | 20110126
License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
@ahmadawais
ahmadawais / wp-config.php
Created March 2, 2016 09:49
WP: Debug Logging
// Enable WP_DEBUG mode.
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file.
// Create this file yourself.
define( 'WP_DEBUG_LOG', true );
// Disable display of errors and warnings.
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
@tabrindle
tabrindle / webp-convert-directory.sh
Last active April 30, 2024 14:03
Convert all files in directory to webp, with default params, or standard cwebp params passed from command
#!/bin/bash
PARAMS=('-m 6 -q 70 -mt -af -progress')
if [ $# -ne 0 ]; then
PARAMS=$@;
fi
cd $(pwd)
@kevinwhoffman
kevinwhoffman / resources-web-developers-designers.md
Last active January 26, 2024 21:20
Resources for Web Developers and Designers

Resources for Web Developers and Designers

This is an incomplete list of resources including courses and individuals who publish content that has helped me grow as a web developer and designer. Many of these resources are WordPress-specific as that is my current area of specialization. This list will grow over time. If you've got something to add, send me a link @kevinwhoffman and I'll check it out!

Course Providers

@ahmadawais
ahmadawais / this.js.md
Last active January 22, 2018 13:09
🔰 Concept of `this` in JavaScript!



The Concept of this in JavaScript



image

@laras126
laras126 / guten-talk-notes.md
Last active November 5, 2023 00:37
Gutenberg Block Development notes (Hollywood WP Meetup 1-31-18)
@ahmadawais
ahmadawais / javascript.json
Last active June 29, 2020 17:58
VSCode Console Log Snippets
{
"Console Log with Name": {
"prefix": "lg",
"body": ["console.log(`${1:variable}`, ${1:variable});"],
"description": "Console Log with name of a variable"
},
"Console Log with String": {
"prefix": "lgs",
"body": ["console.log(`${1:STRING_HERE}`);"],
"description": "Console Log string"