3857 - Simple Spherical Mercator projection coordinate system
4326 - Geographic coordinate system
- ST_Transform: Return a new geometry with its coordinates transformed to a different spatial reference.
| <?php | |
| /* | |
| * Plugin Name: WooCommerce Add Taxonomy to Export | |
| * Plugin URI: https://gist.github.com/helgatheviking/114c8df50cabb7119b3c895b1d854533/ | |
| * Description: Add a custom taxonomy to WooCommerce import/export. | |
| * Version: 1.0.1 | |
| * Author: Kathy Darling | |
| * Author URI: https://kathyisawesome.com/ | |
| * | |
| * Woo: 18716:fbca839929aaddc78797a5b511c14da9 |
3857 - Simple Spherical Mercator projection coordinate system
4326 - Geographic coordinate system
| <code_scheme name="Airbnb"> | |
| <option name="RIGHT_MARGIN" value="100" /> | |
| <option name="HTML_ATTRIBUTE_WRAP" value="4" /> | |
| <option name="HTML_ELEMENTS_TO_INSERT_NEW_LINE_BEFORE" value="" /> | |
| <option name="HTML_ENFORCE_QUOTES" value="true" /> | |
| <DBN-PSQL> | |
| <case-options enabled="false"> | |
| <option name="KEYWORD_CASE" value="lower" /> | |
| <option name="FUNCTION_CASE" value="lower" /> | |
| <option name="PARAMETER_CASE" value="lower" /> |
| #### | |
| # ZSH function to auto-switch to correct Node version | |
| # https://gist.github.com/callumlocke/30990e247e52ab6ac1aa98e5f0e5bbf5 | |
| # | |
| # - Searches up your directory tree for the closest .nvmrc, just like `nvm use` does. | |
| # | |
| # - If you are already on the right Node version, IT DOES NOTHING, AND PRINTS NOTHING. | |
| # | |
| # - Works correctly if your .nvmrc file contains something relaxed/generic, | |
| # like "4" or "v12.0" or "stable". |
| // package.json | |
| { | |
| //... | |
| "scripts": { | |
| "startfirst": "REACT_APP_MAIN_COMPONENT=FirstMainComponent react-scripts start", | |
| "buildfrst": "REACT_APP_MAIN_COMPONENT=FirstMainComponent react-scripts build", | |
| "startsecond": "REACT_APP_MAIN_COMPONENT=SecondMainComponent react-scripts start", | |
| "buildsecond": "REACT_APP_MAIN_COMPONENT=SecondMainComponent react-scripts build", | |
| "test": "react-scripts test", | |
| "eject": "react-scripts eject" |
In this case, there are multiple types filtered from the same layer. I want to assign each type a unique color.
If/else conditions with a fallback. (following this example)
{
dataLayer: `admin`,
| // 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks. | |
| // You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/) | |
| (() => { | |
| const SHOW_SIDES = false; // color sides of DOM nodes? | |
| const COLOR_SURFACE = true; // color tops of DOM nodes? | |
| const COLOR_RANDOM = false; // randomise color? | |
| const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com) | |
| const MAX_ROTATION = 180; // set to 360 to rotate all the way round | |
| const THICKNESS = 20; // thickness of layers | |
| const DISTANCE = 10000; // ¯\\_(ツ)_/¯ |
It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive
There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support
to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder
which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!