This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('oembed_fetch_url', function( $provider, $url, $args ) { | |
$provider = add_query_arg( 'autoplay', 1, $provider ); | |
$provider = add_query_arg( 'muted', 1, $provider ); | |
return $provider; | |
}, 10, 3 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col"> | |
<div class="d-flex"> | |
<h1>Lorem ipsum dolor sit amet</h1> | |
<div> | |
<img src="https://via.placeholder.com/500x500"> | |
</div> | |
</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="container-fluid"> | |
<div class="row"> | |
<div class="col"> | |
<div class="d-flex"> | |
<h1>Lorem ipsum dolor sit amet</h1> | |
<img src="https://via.placeholder.com/500x500"> | |
</div> | |
</div> | |
<div class="col"> | |
<div class="d-flex"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName example.com | |
ServerAlias www.example.com | |
ServerAdmin webmaster@localhost | |
DocumentRoot /var/www/html | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "tailwind", | |
"private": true, | |
"scripts": { | |
"start": "meteor run", | |
"test": "meteor test --once --driver-package meteortesting:mocha", | |
"test-app": "TEST_WATCH=1 meteor test --full-app --driver-package meteortesting:mocha", | |
"visualize": "meteor --production --extra-packages bundle-visualizer" | |
}, | |
"dependencies": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This injects Tailwind's base styles, which is a combination of | |
* Normalize.css and some additional base styles. | |
* | |
* You can see the styles here: | |
* https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css | |
* | |
* If using `postcss-import`, use this import instead: | |
* | |
* @import "tailwindcss/preflight"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This injects Tailwind's base styles, which is a combination of | |
* Normalize.css and some additional base styles. | |
* | |
* You can see the styles here: | |
* https://github.com/tailwindcss/tailwindcss/blob/master/css/preflight.css | |
* | |
* If using `postcss-import`, use this import instead: | |
* | |
* @import "tailwindcss/preflight"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { mount } from '@vue/test-utils'; | |
import MyName from '../my-name.vue'; | |
const wrapper = mount(MyName); | |
describe('MyName test', () => { | |
it('Displays my name when I write it', () => { | |
expect(wrapper.vm.$data.name).toBe('My name'); | |