ngrok allows you to expose a web server running on your local machine to the internet.
This file has been truncated, but you can view the full 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
| /******************************************************************************* | |
| Chinook Database - Version 1.4 | |
| Script: Chinook_PostgreSql.sql | |
| Description: Creates and populates the Chinook database. | |
| DB Server: PostgreSql | |
| Author: Luis Rocha | |
| License: http://www.codeplex.com/ChinookDatabase/license | |
| ********************************************************************************/ |
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 MemberPress Rules | |
| <IfModule mod_rewrite.c> | |
| RewriteCond %{HTTP_COOKIE} mplk=([a-zA-Z0-9]+) | |
| RewriteCond /var/www/somesite.com/wp-content/uploads/mepr/rules/%1 -f | |
| RewriteRule ^(.*)$ - [L] | |
| RewriteCond %{REQUEST_URI} !^/(wp-admin|wp-includes|wp-content/plugins|wp-content/themes) | |
| RewriteCond %{REQUEST_URI} \.(zip|gz|tar|rar|doc|docx|xls|xlsx|xlsm|pdf|mp4|m4v|mp3|ts|key|m3u8|ZIP|GZ|TAR|RAR|DOC|DOCX|XLS|XLSX|XLSM|PDF|MP4|M4V|MP3|TS|KEY|M3U8)$ | |
| RewriteRule . /wp-content/plugins/memberpress/lock.php [L] |
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
| [ | |
| { | |
| "type": "banner", | |
| "title": "WooCommerce Payments \u2013 payments made simple, with no monthly fees", | |
| "image": "https://woocommerce.com/wp-content/uploads/2021/05/wc-pay-core-visual-2021-05.jpg", | |
| "image_alt": "WooCommerce Payments", | |
| "description": "Securely accept major cards, <a href=\"https://woocommerce.com/apple-pay/\">Apple Pay\u00ae</a> and payments in <a href=\"https://docs.woocommerce.com/document/payments/faq/available-currencies/\">over 100 currencies</a>. View and manage transactions right from your store\u2019s dashboard. Use with <a href=\"https://woocommerce.com/products/woocommerce-subscriptions/\">WooCommerce Subscriptions</a> to earn and track recurring revenue. No setup costs or monthly fees.", | |
| "buttons": [ | |
| { | |
| "title": "Get started for free", |
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
| /* Convert the standard WooCommerce products list into a modern responsive grid. */ | |
| ul.products { | |
| --grid-gap: 32px; | |
| --auto-grid-min-size: 200px; | |
| grid-template-columns: repeat(auto-fill, minmax(var(--auto-grid-min-size), 1fr)); | |
| grid-gap: var(--grid-gap); | |
| display: grid; | |
| } | |
| ul.products:before{ | |
| content:unset!important; |
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
| 1. Add dependecy: | |
| <dependency> | |
| <groupId>org.apache.logging.log4j</groupId> | |
| <artifactId>log4j-slf4j-impl</artifactId> | |
| <version>${log4j.version}</version> | |
| </dependency> | |
| 2.Create config file for log4j (https://logging.apache.org/log4j/2.x/manual/configuration.html). | |
| I prefer log4j2-test.properties because according documentation this format will look second, after configFile: | |
| 'If no system property is set the properties ConfigurationFactory will look for log4j2-test.properties in the classpath.' | |
| --------------------------------------------------------------- |
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
| @font-face { | |
| font-family: star; | |
| src: url(../../../../../plugins/woocommerce/assets/fonts/star.eot); | |
| src: url(../../../../../plugins/woocommerce/assets/fonts/star.eot?#iefix) format("embedded-opentype"), url(../../../../../plugins/woocommerce/assets/fonts/star.woff) format("woff"), url(../../../../../plugins/woocommerce/assets/fonts/star.ttf) format("truetype"), url(../../../../../plugins/woocommerce/assets/fonts/star.svg#star) format("svg"); | |
| font-weight: 400; | |
| font-style: normal | |
| } | |
| @-webkit-keyframes slideInDown { | |
| from { |
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
| /** | |
| * | |
| * How to use this file | |
| * | |
| * Step 1: Ensure Gulp CLI is installed globally | |
| * npm install gulp-cli -g | |
| * Step 2: Install BrowserSync and Gulp as a local development dependency for the project. In most cases either the plugin or the theme directory that you're working in | |
| * npm install browser-sync gulp --save-dev | |
| * Step 3: Save this file to the directory and edit where appropriate | |
| * Step 4: Type glup in the command line to initiate BrowserSync |
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
| function Mutilator(data, name, context) { | |
| this.n = name || `mutilation-${+new Date()}`; | |
| this.d = data; | |
| this.c = context || window; | |
| this.isArr = function(p) { | |
| return this.d[p].constructor == Array; | |
| }; | |
| this.dispatch = function(p, v, t) { | |
| this.c.dispatchEvent( | |
| new CustomEvent(this.n, { |
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
| /** | |
| * Encryption class for encrypt/decrypt that works between programming languages. | |
| * | |
| * @author Vee Winch. | |
| * @link https://stackoverflow.com/questions/41222162/encrypt-in-php-openssl-and-decrypt-in-javascript-cryptojs Reference. | |
| * @link https://github.com/brix/crypto-js/releases crypto-js.js can be download from here. | |
| */ | |
| class Encryption { |
NewerOlder