EDIT: this is an old post and a lof the information in this document is outdated.
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my
| #! /usr/bin/env python3 | |
| """ | |
| Setup ngrok for local development with WordPress when used with wp-env. Follows instructions from | |
| https://ngrok.com/docs/using-ngrok-with/wordpress/ | |
| Notes | |
| ----- |
| # start from your package.json | |
| npm run wp-env start | |
| # default address | |
| http://localhost:8888 | |
| # default credentials | |
| username: admin | |
| password: password |
| # Just a quick update for GPT and to use `rsync` instead of `cp`! | |
| # That means this applies to UEFI boot, though for legacy BIOD boot, feel free to swap | |
| # GPT to MBR below. | |
| # Requires https://homebrew.sh to split the install.wim file | |
| brew install wimlib | |
| # First, we need to find our device. BEFORE inserting your USB drive, run the | |
| # following: | |
| diskutil list |
| /** | |
| * Scroll to first invalid field | |
| * WPCF7 on validation error event | |
| */ | |
| document.addEventListener( 'wpcf7invalid', function( event ) { | |
| setTimeout( function() { | |
| $('html').stop().animate({ | |
| scrollTop: $('.wpcf7-not-valid').eq(0).offset().top - 140, | |
| }, 500, 'swing'); | |
| }, 100); |
| <?php | |
| /** | |
| * Change the Japanese subdirectory language code from ja to jp | |
| * | |
| * @param array $language_codes_map | |
| * | |
| * @return array | |
| */ | |
| function akos_resch_wpml_subdirectory_language_code_ja_to_jp( $language_codes_map ) { |
| /* | |
| This .scss loop will create "margin helpers" and "padding helpers" for use in your web projects. | |
| It will generate several classes such as: | |
| .m-r-10 which gives margin-right 10 pixels. | |
| .m-r-15 gives MARGIN to the RIGHT 15 pixels. | |
| .m-t-15 gives MARGIN to the TOP 15 pixels and so on. | |
| .p-b-5 gives PADDING to the BOTTOM of 5 pixels | |
| .p-l-40 gives PADDING to the LEFT of 40 pixels |
EDIT: this is an old post and a lof the information in this document is outdated.
Git is a popular free and open source distributed version control system.
I am new to Unity, but as a long time git user, I wanted to use git for my
This is a simplified example of Smarter Link Underlines built for Sass rather than Stylus. Original code example by Adam Schwartz of eager.io.
View a live example on Codepen
| <?php | |
| /** | |
| * Customise WordPress Vimeo oEmbed | |
| * https://developer.vimeo.com/apis/oembed | |
| */ | |
| function my_oembed_fetch_url( $provider, $url, $args ) { | |
| if ( strpos( $provider, 'vimeo.com' ) !== false) { |
Ctrl+A and Ctrl+C)alt+click on the mask icon/thumbnail)