This file contains hidden or 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
| <scheme name="Onie theme" version="142" parent_scheme="Default"> | |
| <option name="FONT_SCALE" value="1.0" /> | |
| <metaInfo> | |
| <property name="created">2022-10-21T14:33:08</property> | |
| <property name="ide">PhpStorm</property> | |
| <property name="ideVersion">2022.3.0.0</property> | |
| <property name="modified">2022-10-21T14:33:32</property> | |
| <property name="originalScheme">Onie theme</property> | |
| </metaInfo> | |
| <option name="LINE_SPACING" value="1.6" /> |
This file contains hidden or 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
| git config --global credential.helper store |
This file contains hidden or 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
| # Get current mouse speed | |
| defaults read -g com.apple.mouse.scaling | |
| # Update mouse speed | |
| defaults write -g com.apple.mouse.scaling 6.0 |
This file contains hidden or 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
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /index.php [L] | |
| </IfModule> |
This file contains hidden or 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
| git rm -r --cached <file> |
This file contains hidden or 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
| const $el = document.querySelector("#something") | |
| const observer = new IntersectionObserver( entries => { | |
| entries.forEach(entry => { | |
| if ( entry.isIntersecting ) { | |
| $el.classList.add("is-in-viewport") | |
| observer.disconnect() | |
| } | |
| }) | |
| }, { |
This file contains hidden or 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 style | |
| require('./../scss/main.scss') | |
| // Create SVG sprite | |
| require.context('./../svg/sprite-optimized?optimized', true, /\.svg$/) | |
| // Create SVG sprite | |
| require.context('./../svg/sprite-non-optimized?non-optimized', true, /\.svg$/) | |
| // Images | |
| require.context('./../img', true) |
This file contains hidden or 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
| // Edit bash_profile with vim | |
| vim ~/.bash_profile | |
| // Reload bash_profile | |
| source ~/.bash_profile |
This file contains hidden or 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
| # Expire images header | |
| ExpiresActive On | |
| ExpiresDefault A0 | |
| ExpiresByType image/gif A2592000 | |
| ExpiresByType image/png A2592000 | |
| ExpiresByType image/jpg A2592000 | |
| ExpiresByType image/jpeg A2592000 | |
| ExpiresByType image/ico A2592000 | |
| ExpiresByType text/css A2592000 | |
| ExpiresByType text/javascript A2592000 |
This file contains hidden or 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
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| # HTTPS | |
| RewriteCond %{SERVER_PORT} !^443$ | |
| RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
| # END HTTPS | |
| RewriteBase / | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f |
NewerOlder