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 | |
/* | |
INSTRUCTIONS: | |
Use at your own risk. Backup your database before continuing. | |
1. Copy code to a file in the root of your website. | |
2. Change YOUR_SITE_ROOT to a value that makes sense. | |
3. Execute by visiting the page. Verify before/after results. | |
4. Change MAKE_CHANGES_TO_SITE to true and execute it again. |
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
.clearfix:after { | |
content: "."; | |
display: block; | |
clear: both; | |
visibility: hidden; | |
line-height: 0; | |
height: 0; | |
} | |
.clearfix { |
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
gulp.task('svg-sprite', function() { | |
return gulp.src(['resources/assets/svg/**/*.svg']) | |
.pipe(svgSprite({ | |
mode: { | |
css: { | |
sprite: "../sprite.svg", | |
bust: false, | |
dimensions: true, | |
dest: '.', | |
prefix: '.icon-', |
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
.mb-sm { | |
margin-bottom: 10px; | |
} | |
.mb-md { | |
margin-bottom: 15px; | |
} | |
.mb-lg { | |
margin-bottom: 20px; | |
} | |
.mb-xlg { |
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 | |
preg_replace( '/style=(["\'])[^\1]*?\1/i', '', $subject, -1 ); |
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
/** | |
* npm install webpack babel-core babel-loader babel-plugin-transform-runtime babel-preset-es2015 babel-preset-stage-2 babel-runtime --save-dev | |
*/ | |
module.exports = { | |
entry: './scripts/app.js',, | |
output: { | |
path: __dirname + '/public', | |
filename: 'js/app.build.js' | |
}, |
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
LOG from device xxxxxxx: 2019-10-07 11:33:32.527 nsplaydev[5054:1412717] ***** Fatal JavaScript exception - application has been terminated. ***** | |
2019-10-07 11:33:32.527 nsplaydev[5054:1412717] Native stack trace: | |
1 0x104a4b384 NativeScript::reportFatalErrorBeforeShutdown(JSC::ExecState*, JSC::Exception*, bool) | |
2 0x104a90638 -[TNSRuntime executeModule:referredBy:] | |
3 0x105bba1f8 -[UIApplication(PlayLiveSync) swizzled_executeModule:] | |
4 0x10425b3e8 | |
5 0x19f38ef30 <redacted> | |
2019-10-07 11:33:32.528 nsplaydev[5054:1412717] JavaScript stack trace: | |
2019-10-07 11:33:32.528 nsplaydev[5054:1412717] webpackMissingModule(file:///app/bundle.js:261:180) | |
at file:///app/bundle.js:261:183 |
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
LOG from device xxxxxx: | |
CONSOLE INFO file:///app/vendor.js:144:36: HMR: Checking for updates to the bundle with hmr hash 6e46d84448382ed77206. | |
LOG from device xxxxxx: CONSOLE WARN file:///app/vendor.js:145:36: HMR: Error: Cannot find module './other2.component.html' | |
LOG from device xxxxxx: CONSOLE ERROR file:///app/vendor.js:146:38: HMR: Cannot apply update with hmr hash 6e46d84448382ed77206. | |
LOG from device xxxxxx: CONSOLE ERROR file:///app/vendor.js:146:38: HMR: Cannot find module './other2.component.html' | |
LOG from device xxxxxx: CONSOLE WARN file:///app/vendor.js:145:36: HMR: Ignored an error while updating module ./main.ts <accept-errored> | |
LOG from device xxxxxx: | |
CONSOLE WARN file:///app/vendor.js:145:36: HMR: Cannot apply update. A previous update failed. Application needs to be restarted in order to apply the changes. | |
LOG from device xxxxxx: | |
CONSOLE INFO file:///app/vendor.js:144:36: HMR: Hot Module Replacement Enabled. Waiting for signal. |