Skip to content

Instantly share code, notes, and snippets.

View agomezjuan's full-sized avatar
:octocat:

Alberto Gómez Juan agomezjuan

:octocat:
View GitHub Profile
@agomezjuan
agomezjuan / vscode-macos-context-menu.md
Created May 13, 2022 19:13 — forked from idleberg/vscode-macos-context-menu.md
“Open in Visual Studio Code” in macOS context-menu

Open in Visual Studio Code

  • Open Automator
  • Quick Action
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to the following
    for f in "$@"; do
    

open -a 'Visual Studio Code' "$@"

@agomezjuan
agomezjuan / gitignore-for-wordpress-theme
Created April 22, 2020 16:12 — forked from jasewarner/gitignore-for-wordpress-theme
.gitignore for a WordPress theme
# ignore everything in the root except the "wp-content" directory.
/*
!wp-content/
# ignore everything in the "wp-content" directory, except:
# mu-plugins, plugins, and themes directories
wp-content/*
!wp-content/mu-plugins/
!wp-content/plugins/
!wp-content/themes/
/* === Remove input autofocus webkit === */
*:focus {
outline: none;
}
/* === Form Typography === */
body {
font: 14px/21px"Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
}
.contact_form h2, .contact_form label {
font-family: Georgia, Times, "Times New Roman", serif;