Are you over 18 and want to see adult content?
More Annotations
![A complete backup of www.libertatea.ro/entertainment/autoironia-ma-protejeaza-de-judecati-rautacioase-maia-morgenstern-a-povesti](https://www.archivebay.com/archive2/1143a8b0-3baf-42a7-8906-093a65a6b39d.png)
A complete backup of www.libertatea.ro/entertainment/autoironia-ma-protejeaza-de-judecati-rautacioase-maia-morgenstern-a-povesti
Are you over 18 and want to see adult content?
![A complete backup of www.amarujala.com/photo-gallery/entertainment/movie-review/love-aaj-kal-review-by-pankaj-shukla-imtiaz-ali-](https://www.archivebay.com/archive2/b9bc718b-fc54-464e-8a7a-a953aef7b7ce.png)
A complete backup of www.amarujala.com/photo-gallery/entertainment/movie-review/love-aaj-kal-review-by-pankaj-shukla-imtiaz-ali-
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of earshot-online.com](https://www.archivebay.com/archive2/63713239-1d45-4ce8-8f4c-08d3a5c93ddc.png)
A complete backup of earshot-online.com
Are you over 18 and want to see adult content?
![A complete backup of goteborgfilmfestival.se](https://www.archivebay.com/archive2/49d7e999-d0fa-486a-bc6c-05aa3ac934d8.png)
A complete backup of goteborgfilmfestival.se
Are you over 18 and want to see adult content?
![A complete backup of visitpembrokeshire.com](https://www.archivebay.com/archive2/aee57187-b7fa-446e-bbc6-8dcf6909852c.png)
A complete backup of visitpembrokeshire.com
Are you over 18 and want to see adult content?
![A complete backup of thefinancialcoach.ca](https://www.archivebay.com/archive2/4c5b81a1-f6c6-4b19-82f9-281559f0bf36.png)
A complete backup of thefinancialcoach.ca
Are you over 18 and want to see adult content?
Text
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
FREE CLICKBANK CUSTOM REDIRECTION PLUGIN You’ll need to change line 4 to have your main sales page URL. Inside the $ redirects section (lines 9 and 10), you can add as many different redirects as you like. Please feel free to replace keyword1 etc with keywords that mean something to you. Let’s say you change the first one to be: CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the styles TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
FREE CLICKBANK CUSTOM REDIRECTION PLUGIN You’ll need to change line 4 to have your main sales page URL. Inside the $ redirects section (lines 9 and 10), you can add as many different redirects as you like. Please feel free to replace keyword1 etc with keywords that mean something to you. Let’s say you change the first one to be: CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the styles TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
OPTIMISING WORDPRESS WITH A MEMBERSHIP SITE If you're developing an affiliate marketing sale site, one of the problems you might run into is effective use of membership plugins.There seems to
CATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
CATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliate TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought themCATEGORY: CLOUDWAYS
This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. SAY HI! | ALAN GRAINGER Your Name (required) Your Email (required) Your Message. Decode Theme by Macho Themes. Search for: GOOD PASSWORD SECURITY Good password security isn't too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
DATADOG COLOURBLIND CSS Fix the awful default red/green graphs and charts in Datadog. Since they're using CSS variables (custom properties), it's pretty easy to change the colours across the whole site. ALL MARKETERS ARE LIARS This is a fantastic book by Seth Godin. Mindmap is above, and my notes are below. Do yourself a favour and check it out – Amazon link. Thebasic premise is
HOW TO SEE VISITOR’S REAL IP WITH CLOUDWAYS AND CLOUDFLARE If you’re using Cloudflare in front of your Cloudways site, you’ll notice that all the visitors come through with the IP address of 127.0.0.1.It’s easy enough to fix this. Cloudways posted a useful article about it, but it misses one critical thing – the WordPressconfiguration!
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the styles TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be: LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the styles TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be: LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
OPTIMISING WORDPRESS WITH A MEMBERSHIP SITE If you're developing an affiliate marketing sale site, one of the problems you might run into is effective use of membership plugins.There seems to
CATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
CATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliate TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought themCATEGORY: CLOUDWAYS
This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. SAY HI! | ALAN GRAINGER Your Name (required) Your Email (required) Your Message. Decode Theme by Macho Themes. Search for: GOOD PASSWORD SECURITY Good password security isn't too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
DATADOG COLOURBLIND CSS Fix the awful default red/green graphs and charts in Datadog. Since they're using CSS variables (custom properties), it's pretty easy to change the colours across the whole site. ALL MARKETERS ARE LIARS This is a fantastic book by Seth Godin. Mindmap is above, and my notes are below. Do yourself a favour and check it out – Amazon link. Thebasic premise is
HOW TO SEE VISITOR’S REAL IP WITH CLOUDWAYS AND CLOUDFLARE If you’re using Cloudflare in front of your Cloudways site, you’ll notice that all the visitors come through with the IP address of 127.0.0.1.It’s easy enough to fix this. Cloudways posted a useful article about it, but it misses one critical thing – the WordPressconfiguration!
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the stylesCATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be: HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
PAYPAL BUTTON NOT APPEARING WITH BRAINTREE AND WOOCOMMERCE The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin.USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the stylesCATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be: HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
PAYPAL BUTTON NOT APPEARING WITH BRAINTREE AND WOOCOMMERCE The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. OPTIMISING WORDPRESS WITH A MEMBERSHIP SITE If you're developing an affiliate marketing sale site, one of the problems you might run into is effective use of membership plugins.There seems to
CATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with theCATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliateCATEGORY: CLOUDWAYS
This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. SAY HI! | ALAN GRAINGER Your Name (required) Your Email (required) Your Message. Decode Theme by Macho Themes. Search for: GOOD PASSWORD SECURITY Good password security isn't too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
DATADOG COLOURBLIND CSS Fix the awful default red/green graphs and charts in Datadog. Since they're using CSS variables (custom properties), it's pretty easy to change the colours across the whole site. ALL MARKETERS ARE LIARS This is a fantastic book by Seth Godin. Mindmap is above, and my notes are below. Do yourself a favour and check it out – Amazon link. Thebasic premise is
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the styles HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (thisCATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliate CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you. FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be:AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the styles HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (thisCATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliate CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you. FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be:AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
OPTIMISING WORDPRESS WITH A MEMBERSHIP SITE If you're developing an affiliate marketing sale site, one of the problems you might run into is effective use of membership plugins.There seems to
CATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought themCATEGORY: CLOUDWAYS
This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. SAY HI! | ALAN GRAINGER Your Name (required) Your Email (required) Your Message. Decode Theme by Macho Themes. Search for: GOOD PASSWORD SECURITY Good password security isn't too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
DATADOG COLOURBLIND CSS Fix the awful default red/green graphs and charts in Datadog. Since they're using CSS variables (custom properties), it's pretty easy to change the colours across the whole site. INTEGRATING INSTAMEMBER WITH CLICKBANK AND CONVERTKIT This guide was written for v1.2.3, but should work for any 1.x version. When a sale is made on ClickBank, it sends a notification to InstaMember using the IPN. That notification causes a member HOW TO SEE VISITOR’S REAL IP WITH CLOUDWAYS AND CLOUDFLARE If you’re using Cloudflare in front of your Cloudways site, you’ll notice that all the visitors come through with the IP address of 127.0.0.1.It’s easy enough to fix this. Cloudways posted a useful article about it, but it misses one critical thing – the WordPressconfiguration!
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the stylesUSEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be: LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the stylesUSEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be: LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
OPTIMISING WORDPRESS WITH A MEMBERSHIP SITE If you're developing an affiliate marketing sale site, one of the problems you might run into is effective use of membership plugins.There seems to
CATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
CATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliateCATEGORY: CLOUDWAYS
This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the SAY HI! | ALAN GRAINGER Your Name (required) Your Email (required) Your Message. Decode Theme by Macho Themes. Search for: GOOD PASSWORD SECURITY Good password security isn't too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
DATADOG COLOURBLIND CSS Fix the awful default red/green graphs and charts in Datadog. Since they're using CSS variables (custom properties), it's pretty easy to change the colours across the whole site. INTEGRATING INSTAMEMBER WITH CLICKBANK AND CONVERTKIT This guide was written for v1.2.3, but should work for any 1.x version. When a sale is made on ClickBank, it sends a notification to InstaMember using the IPN. That notification causes a member HOW TO SEE VISITOR’S REAL IP WITH CLOUDWAYS AND CLOUDFLARE If you’re using Cloudflare in front of your Cloudways site, you’ll notice that all the visitors come through with the IP address of 127.0.0.1.It’s easy enough to fix this. Cloudways posted a useful article about it, but it misses one critical thing – the WordPressconfiguration!
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the stylesCATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLESSCRIVENER EXPORT TO WORDSCRIVENER VS WORDCONVERT WORD TO SCRIVENERWHAT ISSCRIVENER
How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be:AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I'm putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set up the editor: Inject the stylesCATEGORY: HOW TO
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
USEFUL STUFF
The problem is that the JS library linked from the WooCommerce plugin is very old and doesn’t support many of the new Braintree features. (And this is the official plugin from WooCommerce). To fix the issue, you’ll need to make some changes to the plugin. HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLESSCRIVENER EXPORT TO WORDSCRIVENER VS WORDCONVERT WORD TO SCRIVENERWHAT ISSCRIVENER
How to use: First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in this format: ~#~ (this TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them THE FULL GUIDE TO SPEEDING UP WORDPRESS Or Hopefully the headline caught your attention! But it's actually true. What follows is my journey from shared hosting to probably thebest hosting option
CREATING CUSTOM METADATA FIELD LISTS IN LIGHTROOM When you’re in Lightroom’s Library mode, you are able to set the metadata for your photos based on some pre-defined field lists. If you’re like me, you’ve probably found yourself switching between multiple different metadata field sets, for instance between Default,EXIF, and Location:
FREE CLICKBANK CUSTOM REDIRECTION PLUGIN ClickBank only lets you set one destination for a product. But you probably want to send people to multiple destinations for a particular product. Some examples would be:AUTHOR: ALAN
This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold anditalics.
OPTIMISING WORDPRESS WITH A MEMBERSHIP SITE If you're developing an affiliate marketing sale site, one of the problems you might run into is effective use of membership plugins.There seems to
CATEGORY: ECOMMERCE
Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with the affiliate who brought them, you are able to: Identify the traffic sources for your highest converting visitors Identify your best performing affiliates, and work with them directly Identify new content/affiliate TRACKING CLICKBANK AFFILIATES WITH GOOGLE ANALYTICS Being able to track your affiliates in Google Analytics is vital if you want to maximise your earning potential. By correctly associating your visitors with theCATEGORY: CLOUDWAYS
This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. SAY HI! | ALAN GRAINGER Your Name (required) Your Email (required) Your Message. Decode Theme by Macho Themes. Search for: GOOD PASSWORD SECURITY Good password security isn't too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
CATEGORY: UNCATEGORIZED I’m putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post. Set upthe editor:
DATADOG COLOURBLIND CSS Fix the awful default red/green graphs and charts in Datadog. Since they're using CSS variables (custom properties), it's pretty easy to change the colours across the whole site. ALL MARKETERS ARE LIARS This is a fantastic book by Seth Godin. Mindmap is above, and my notes are below. Do yourself a favour and check it out – Amazon link. Thebasic premise is
LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn't find any existing resources on this so hopefully this helps you.Skip to content
ALAN GRAINGER
USEFUL STUFF
* How to Massively Speed Up WordPress* My Photography
* Say Hi!
CREATE CUSTOM STYLE DROPDOWNS ON QUILL I’m putting this one up quickly so the info is out there. If you come across this and need more info, just comment on the post.Set up the editor:
// Create editor this.editor = new Quill('#' + this.id, { modules: { toolbar: { container: , handlers: { 'customStyles': function (index) { vm.applyCustomStyle(index) } } } }, theme: 'snow' }) // Add custom style dropdown const dropdownPickerItems = Array.prototype.slice.call(document.querySelectorAll('.ql-customStyles .ql-picker-item')) dropdownPickerItems.forEach(function (item) { item.textContent = vm.customStyles }) document.querySelector('.ql-customStyles .ql-picker-label').innerHTML = 'Styles' + document.querySelector('.ql-customStyles .ql-picker-label').innerHTML1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// Create editor
this.editor = new Quill('#' + this.id, {modules: {
toolbar: {
container: ,
handlers: {
'customStyles': function (index) { vm.applyCustomStyle(index)}
}
}
},
theme: 'snow'
})
// Add custom style dropdown const dropdownPickerItems = Array.prototype.slice.call(document.querySelectorAll('.ql-customStyles.ql-picker-item'))
dropdownPickerItems.forEach(function (item) {item.textContent =
vm.customStyles
})
document.querySelector('.ql-customStyles .ql-picker-label').innerHTML = 'Styles' + document.querySelector('.ql-customStyles .ql-picker-label').innerHTMLInject the styles:
injectStyles () { let Block = Quill.import('blots/block') let css = '' // Register all custom styles for (let i = 0; i < this.customStyles.length; i++) { let className = this.customStyles let element = this.customStyles let style = this.customStyles // Set up Quill Blot class Blot extends Block { static create () { let node = super.create() if (className) { node.setAttribute('class', className) } return node } } Blot.blotName = this.stylePrefix + i Blot.tagName = element Quill.register(Blot) // Create style list for dropdown this.styleList.push(i) // Create CSS let name = (className) ? element + '.' + className : element css += '#' + this.id + ' ' + name + '{' + style + '}\n' } // Next i // Set master CSS this.customCSS = css }, applyCustomStyle (index) { if (!index) { index = '0' } this.editor.format(this.stylePrefix + index,true) }
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
injectStyles () {
let Block = Quill.import('blots/block')let css = ''
// Register all custom styles for (let i = 0; i < this.customStyles.length; i++) { let className = this.customStyles let element = this.customStyles let style = this.customStyles // Set up Quill Blot class Blot extends Block {static create () {
let node = super.create()if (className) {
node.setAttribute('class', className)}
return node
}
}
Blot.blotName = this.stylePrefix + i Blot.tagName = element Quill.register(Blot) // Create style list for dropdown this.styleList.push(i)// Create CSS
let name = (className) ? element + '.' + className: element
css += '#' + this.id + ' ' + name + '{' + style +'}\n'
} // Next i
// Set master CSS
this.customCSS = css},
applyCustomStyle (index) { if (!index) { index = '0' } this.editor.format(this.stylePrefix + index, true)}
Leave a comment
__October 21, 2017October 21, 2017__Alan
__No Comments
LAUNCHING RENDERER FUNCTIONS FROM THE MAIN MENU IN ELECTRON-VUE Creating menus is simple enough in Electron, but how in the world do you tell your Renderer process to do something?! I couldn’t find any existing resources on this so hopefully this helps you. In your menu/index.js set up your menu: import { app, BrowserWindow, Menu } from 'electron' const template = const menu = Menu.buildFromTemplate(template) Menu.setApplicationMenu(menu)1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { app, BrowserWindow, Menu } from 'electron'const template =
const menu = Menu.buildFromTemplate(template) Menu.setApplicationMenu(menu) In your renderer/main.js add a listening function: import router from './router' const electron = require('electron') electron.ipcRenderer.on('hello', (event, arg) => { // Get the current Vue instance (i.e. which component/route is currently active) let component = router.currentRoute.matched.instances.default component.someReactiveData = 'Received message from main process })1
2
3
4
5
6
7
8
9
import router from './router' const electron = require('electron') electron.ipcRenderer.on('hello', (event, arg) => { // Get the current Vue instance (i.e. which component/route iscurrently active)
let component = router.currentRoute.matched.instances.default component.someReactiveData = 'Received message from main process})
Tada! You can now successfully run any renderer function you like from your application menus. 🙂 Here’s some other types of ways you can communicate between the two processes: http://electron.rocks/different-ways-to-communicate-between-main-and-renderer-process/2 Comments
__October 17, 2017November 19, 2017__Alan
__2 Comments
HOW TO EXPORT FROM SCRIVENER TO WORD WITH CORRECT STYLES This is a macro to export from Scrivener to Word with correct Heading and Body styles. This also correctly handles in-paragraph bold and italics. It is based off the _excellent_ work by Félix Chénier.
When I tried his method, it correctly fixed all the heading styles, but it did not update the body text to be ‘Normal’ style. This is of course a bit of a pain if you want to update style of your wholebody text at once.
It would be trivial to add a p.Style = ActiveDocument.Styles(wdStyleNormal) to his macro assuming that would fix the problem. However, if you happen to have paragraphs that are comprised solely of italicised or bolded text, then Word will convert those to regular (non italic or bold) text. Apparently if a paragraph is <50% bold or italic, Word assumes those words are for emphasis and keeps them when it does the style conversion. But if it is >50%, then it will turn the whole paragraph just to plain ‘Normal’ style. So, we have to set as ‘Normal’ and then go through _word-by-word_ and turn the text to its original emphasis.Fun!!
Luckily I have written the macro for that. It takes your italicised text and temporarily converts it to pink highlighted text. Word does not remove highlights when it converts a paragraph style, so after the conversion the macro knows exactly which words to convert back to the original style. After the conversion it then removes the temporary highlighting. This works for both italic and bold text. THERE ARE TWO CAVEATS: * If you try and convert your whole document at once, it will simply crash. It’s probably bad coding on my part, maybe someone can suggest a better option. However, if you select 3-4 pages at a time then that seems to work perfectly. * If you happen to have pink or red highlighted text in your document, then you will lose that. Please edit the code to a safecolour!
HOW TO USE:
First of all, you need to export from Scrivener with the correct format. Scrivener doesn’t export any special style information, so we will be using a special bit of title suffix text to tell Word which parts of the text are your headings. The macro can support 6 levels of headingsThe suffixes are in thisformat:
* ~#~ _(this corresponds to what you want as Heading 1 in Word)_ * ~##~ _(Heading 2)_ * ~###~_ (Heading 3 …etc…)_* ~####~
* ~#####~
* ~######~
Go to File > Compile, and set up your headings to have a suffix. For Heading 1 it will look like this: The exported Word document will look something like this:> Title ~#~
>
> Chapter 1 ~##~
>
> It was a dark and stormy night; the rain fell in torrents, except at > occasional intervals, when it was checked by a violent gust of wind > which swept up the streets (for it is in London that our scene > lies), rattling along the house-tops, and fiercely agitating the > scanty flame of the lamps that struggled against the darkness.>
> Chapter 2 – A Story in 3 Parts ~##~>
> Part 1 ~###~
>
> Through one of the obscurest quarters of London, and among haunts > little loved by the gentlemen of the police, a man, evidently of the > lowest orders, was wending his solitary way. He stopped twice or > thrice at different shops and houses of a description correspondent > with the appearance of the quarter in which they were situated, and > tended inquiry for some article or another which did not seem easily > to be met with.>
> Part 2 ~###~
>
> All the answers he received were couched in the negative; and as he > turned from each door he muttered to himself, in no very elegant > phraseology, his disappointment and discontent. At length, at one > house, the landlord, a sturdy butcher, after rendering the same > reply the inquirer had hitherto received, added, “But if this vill > do as vell, Dummie, it is quite at your sarvice!” You can see how the headings are unstyled, but they have the specialsuffix added.
Create a macro in your document, and paste this code in: Sub FormatScrivener() FormatWithStyle sTextToFind:="~#~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading1) FormatWithStyle sTextToFind:="~##~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading2) FormatWithStyle sTextToFind:="~###~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading3) FormatWithStyle sTextToFind:="~####~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading4) FormatWithStyle sTextToFind:="~#####~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading5) FormatWithStyle sTextToFind:="~######~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading6) ResetFormatting End Sub Sub FormatWithStyle(sTextToFind As String, oStyleToUse As Style) Dim oRange As Range Set oRange = ActiveDocument.Range With oRange With .Find .ClearFormatting .Replacement.ClearFormatting .Text = sTextToFind .Format = True .Replacement.Style = oStyleToUse .Replacement.Text = " " .Forward = True .Wrap = wdFindContinue .Execute Replace:=wdReplaceAll End With End With End Sub Sub ResetFormatting() Dim p As Paragraph For Each p In ActiveDocument.Paragraphs If p.Range.Style = ActiveDocument.Styles(wdStyleHeading1) Then p.Range.Style = ActiveDocument.Styles(wdStyleHeading1) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading2) Then p.Range.Style = ActiveDocument.Styles(wdStyleHeading2) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading3) Then p.Range.Style = ActiveDocument.Styles(wdStyleHeading3) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading4) Then p.Range.Style = ActiveDocument.Styles(wdStyleHeading4) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading5) Then p.Range.Style = ActiveDocument.Styles(wdStyleHeading5) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleTitle) Then p.Range.Style = ActiveDocument.Styles(wdStyleTitle) Else Dim oWord As Range ' Here we do the "Normal" style For Each oWord In p.Range.Words If oWord.Font.Italic = True Then oWord.HighlightColorIndex = wdPink ElseIf oWord.Font.Bold = True Then oWord.HighlightColorIndex = wdRed End If Next oWord p.Style = ActiveDocument.Styles(wdStyleNormal) For Each oWord In p.Range.Words If oWord.HighlightColorIndex = wdPink Then oWord.Font.Italic = True oWord.HighlightColorIndex = wdAuto ElseIf oWord.HighlightColorIndex = wdRed Then oWord.Font.Bold = True oWord.HighlightColorIndex = wdAuto End If Next oWord End If Next EndSub
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Sub FormatScrivener() FormatWithStyle sTextToFind:="~#~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading1) FormatWithStyle sTextToFind:="~##~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading2) FormatWithStyle sTextToFind:="~###~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading3) FormatWithStyle sTextToFind:="~####~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading4) FormatWithStyle sTextToFind:="~#####~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading5) FormatWithStyle sTextToFind:="~######~", oStyleToUse:=ActiveDocument.Styles(wdStyleHeading6)ResetFormatting
End Sub
Sub FormatWithStyle(sTextToFind As String, oStyleToUse As Style)Dim oRange As Range
Set oRange = ActiveDocument.RangeWith oRange
With .Find
.ClearFormatting
.Replacement.ClearFormatting.Text = sTextToFind
.Format = True
.Replacement.Style = oStyleToUse .Replacement.Text = " ".Forward = True
.Wrap = wdFindContinue .Execute Replace:=wdReplaceAllEnd With
End With
End Sub
Sub ResetFormatting()Dim p As Paragraph
For Each p In ActiveDocument.ParagraphsIf p.Range.Style =
ActiveDocument.Styles(wdStyleHeading1) Thenp.Range.Style =
ActiveDocument.Styles(wdStyleHeading1) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading2) Thenp.Range.Style =
ActiveDocument.Styles(wdStyleHeading2) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading3) Thenp.Range.Style =
ActiveDocument.Styles(wdStyleHeading3) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading4) Thenp.Range.Style =
ActiveDocument.Styles(wdStyleHeading4) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleHeading5) Thenp.Range.Style =
ActiveDocument.Styles(wdStyleHeading5) ElseIf p.Range.Style = ActiveDocument.Styles(wdStyleTitle) Thenp.Range.Style =
ActiveDocument.Styles(wdStyleTitle)Else
Dim oWord As Range
' Here we do the "Normal" style For Each oWord In p.Range.Words If oWord.Font.Italic = True Then oWord.HighlightColorIndex =wdPink
ElseIf oWord.Font.Bold = True Then oWord.HighlightColorIndex =wdRed
End If
Next oWord
p.Style = ActiveDocument.Styles(wdStyleNormal) For Each oWord In p.Range.Words If oWord.HighlightColorIndex = wdPinkThen
oWord.Font.Italic = True oWord.HighlightColorIndex =wdAuto
ElseIf oWord.HighlightColorIndex =wdRed Then
oWord.Font.Bold = True oWord.HighlightColorIndex =wdAuto
End If
Next oWord
End If
Next
End Sub
Set the macro to either a keyboard shortcut, or put a custom button onyour toolbar.
Go through your book maybe 3-4 pages at a time. Select the text, then run the macro. ONLY DO A FEW PAGES AT A TIME, OTHERWISE THE MACRO WILLFAIL.
It shouldn’t take you too long to do the whole book at that speed, and then you’re done!1 Comment
__September 29, 2017September 29, 2017__Alan
__1 Comment
HOW TO SEE VISITOR’S REAL IP WITH CLOUDWAYS AND CLOUDFLARE If you’re using Cloudflare in front of your Cloudways site, you’ll notice that all the visitors come through with the IP address of 127.0.0.1. It’s easy enough to fix this. Cloudways posted a useful article about it, but it misses one critical thing – the WordPress configuration! First, head to your server configuration on Cloudways, and choose Settings & Packages > Advanced: Scroll down until you fine the WAF Module setting, and change that toCloudflare:
You’ll also need to restart your Apache service. Then, for each of your WordPress sites, you’ll need to add this code to your wp-config.php : if(isset($_SERVER)) { $xffaddrs = explode(',',$_SERVER); $_SERVER= $xffaddrs; }
1
2
3
4
if(isset($_SERVER)) { $xffaddrs = explode(',',$_SERVER); $_SERVER = $xffaddrs;}
Once you’ve done that, look in the logs, or post yourself a test comment to verify that the IP address is coming through correctly.Should be all good!
1 Comment
__September 21, 2017September 22, 2017__Alan
__1 Comment
GOOD PASSWORD SECURITY Good password security isn’t too hard, it just requires a change in your approach. The biggest factor to increasing password security ispassword length.
To see this in action, visit this link – https://www.grc.com/haystack.htm – and type in one of your passwords as a test. Look at the last two Attack Scenarios. That’s how quickly it would take to break that current password. Have a look how quickly that changes when you simply increase the length of yourpassword.
_If the current strength is in weeks or days, it’s not a matter of “if” you get hacked, it’s a matter of “when”._ There are two good approaches to strong password security: 1. A strong known password schemeor
2. A password manager software #2 IS MY RECOMMENDED OPTION, but I’ll describe #1 first: 1. A PASSWORD SCHEME Pick three completely unrelated words. My street – “seaviewrd” – could be one of the words as it is not in any dictionary; this is ideal. Let’s pick the words ‘seaviewrd’, ‘great’, ‘Monday’. We also pick a couple of punctuation characters, perhaps ‘$’ and ‘!’. The reason you pick unrelated words, is that password cracking software tries common phrases, so words that don’t go together in a phrase are critical. Then to create a password, put together the three words, the punctuation, and what it’s for: Gmail: seavrewrdgreatMondaygmail!$ Braintree: seaviewrdgreatMondaybraintree!$ Paypal: seaviewrdgreatMondaypaypal!$ Take one of those passwords and type it into https://www.grc.com/haystack.htm to see the difference…. They are easy for you to remember, but effectively impossible to crack. They are also easy to type, as your fingers are used to typingwords.
The downside is that if someone ever finds out one of your passwords … it is trivial to guess the rest of them! 2. A PASSWORD MANAGER My preferred approach is to use a password manager. The reason for this, is that you can use it to easily generate completely random new passwords, and it can remember them for you – your brain doesn’t have to manage it. It is a little more complicated to get used tothough.
KeePass is the best option – http://keepass.info/download.html (download the ProfessionalEdition).
Create a master password for it using the method above. WRITE THIS DOWN ON A PIECE OF PAPER! Keep the piece of paper safe until you’re sure that you remember the master password, and then shred it. Every time you make a new entry, get it to generate a completely random password, of at least 20 characters length: When you need to log into a website, you simply double-click on the password, and it copies it to your clipboard. Paste it into the website password field, and you’re done! IMPORTANT: Make sure that you keep a few copies of this file around. If you were to lose it completely, that would be disastrous, as you would have none of your passwords! I keep mine in my Dropbox, and every now and then email myself a copy. That way it’s in three places – on my laptop, in my Dropbox, and in my email. As long as your KeePass master password is strong, the database isunbreakable.
Leave a comment
__September 21, 2017September 21, 2017__Alan
__No Comments
CART DOESN’T WORK WITH FLATSOME, WOOCOMMERCE, AND VARNISH This is a quick and easy one. If you’re using the Flatsome3 theme with WordPress and you have Varnish cache running, you’ll find the cart doesn’t work. You add an item, and the sidebar pops up but then it disappears again straight away, and the cart is empty. Turn off Varnish and problem solved… but that’s not good enough. Flatsome has a mechanism where the DOM is replaced with AJAX after the initial load. It uses cookies to pass the cart information around, and Varnish caches those by default. Add these two rules and you’re golden: URL exclude ^/(cart|my-account|checkout|addons) Cookies exclude .*woocommerce.* My site is running on Cloudways(which
I strongly recommend – my review here ), and the config looks like this:Leave a comment
__September 12, 2017September 22, 2017 __Alan __No CommentsPOSTS NAVIGATION
Older posts
Decode Theme by MachoThemes
Search for:
CATEGORIES
* Analytics
* Books
* Cloudways
* Dev
* eCommerce
* Fixes
* How To
* Optimisation
* Photography
* Uncategorized
* Website
RECENT POSTS
* Create custom style dropdowns on Quill * Launching renderer functions from the main menu in Electron-Vue * How to export from Scrivener to Word with correct styles * How to see visitor’s real IP with Cloudways and Cloudflare * Good password securityDetails
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0