I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| #!/usr/bin/env bash | |
| # https://developers.supportbee.com/blog/setting-up-cucumber-to-run-with-Chrome-on-Linux/ | |
| # https://gist.github.com/curtismcmullan/7be1a8c1c841a9d8db2c | |
| # https://stackoverflow.com/questions/10792403/how-do-i-get-chrome-working-with-selenium-using-php-webdriver | |
| # https://stackoverflow.com/questions/26133486/how-to-specify-binary-path-for-remote-chromedriver-in-codeception | |
| # https://stackoverflow.com/questions/40262682/how-to-run-selenium-3-x-with-chrome-driver-through-terminal | |
| # https://askubuntu.com/questions/760085/how-do-you-install-google-chrome-on-ubuntu-16-04 | |
| # Versions | |
| CHROME_DRIVER_VERSION=`curl -sS https://chromedriver.storage.googleapis.com/LATEST_RELEASE` |
| { | |
| "keys": ["tab"], | |
| "command": "expand_abbreviation_by_tab", | |
| // put comma-separated syntax selectors for which | |
| // you want to expandEmmet abbreviations into "operand" key | |
| // instead of SCOPE_SELECTOR. | |
| // Examples: source.js, text.html - source | |
| "context": [ | |
| { |
| { | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true | |
| }, | |
| "plugins": ["react"], | |
| "ecmaFeatures": { |
| .comPlainTextContentEditable { | |
| -webkit-user-modify: read-write-plaintext-only; | |
| } | |
| .comPlainTextContentEditable--has-placeholder::before { | |
| content: attr(placeholder); | |
| opacity: 0.5; | |
| color: inherit; | |
| cursor: text; | |
| } |
| # Prevent need for sudo npm install ... | |
| sudo chown -R `whoami` ~/.npm | |
| # Allow updating of Themes, plugins, Core in WordPress | |
| sudo chown -R andrew:_www <site> | |
| # Copy file from one location to another | |
| # in this case the wordpress template into the test folder | |
| cp -R source/wp test |
| export function debounce (fn, wait = 1) { | |
| let timeout | |
| return function (...args) { | |
| clearTimeout(timeout) | |
| timeout = setTimeout(() => fn.call(this, ...args), wait) | |
| } | |
| } |
| /** | |
| * Get a random floating point number between `min` and `max`. | |
| * | |
| * @param {number} min - min number | |
| * @param {number} max - max number | |
| * @return {number} a random floating point number | |
| */ | |
| function getRandomFloat(min, max) { | |
| return Math.random() * (max - min) + min; | |
| } |
| // List all files in a directory in Node.js recursively in a synchronous fashion | |
| var walkSync = function(dir, filelist) { | |
| var fs = fs || require('fs'), | |
| files = fs.readdirSync(dir); | |
| filelist = filelist || []; | |
| files.forEach(function(file) { | |
| if (fs.statSync(dir + file).isDirectory()) { | |
| filelist = walkSync(dir + file + '/', filelist); | |
| } | |
| else { |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| { | |
| "folders": | |
| [ | |
| { | |
| "path": "/Users/andrew/Projects/inuit", | |
| "folder_exclude_patterns": [".sass-cache"], | |
| "file_exclude_patterns": [".*", "*.md", "watch", "LICENSE", "*.sublime-*", "*.txt"] | |
| } | |
| ] | |
| } |