The certificate will be an Encrypting File System (EFS) self-signed smart card certificate.
- Control Panel > User Accounts > Manage your file encryption certificates
Create new and store locally
| // leave only one version and delete the rest, or it will throw a (nonbreaking) error | |
| // full version: with all 11 getters | |
| { | |
| let timestamp, stamper = label => function(custom) { | |
| if (timestamp) { | |
| var ts = timestamp | |
| timestamp = new Event(0).timeStamp | |
| console.log(label || (custom? custom+':' : ''),+(timestamp-ts).toFixed(3)) | |
| } else timestamp = new Event(0).timeStamp |
| // leave only one version and delete the rest, or it will throw a (nonbreaking) error | |
| // full version: with all 11 getters and time | |
| { | |
| let lastTime | |
| const logger = label => function() { | |
| const time = new Date().toLocaleTimeString('en', {hour12: false}) | |
| console.log(time == lastTime? '':lastTime=time, label || '', this.valueOf(), | |
| this instanceof Node? {dir: this}: '')) | |
| return this.valueOf() |
| /** | |
| * Prevent update notification for plugin | |
| * http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
| * Place in theme functions.php or at bottom of wp-config.php | |
| */ | |
| function disable_plugin_updates( $value ) { | |
| if ( isset($value) && is_object($value) ) { | |
| if ( isset( $value->response['plugin-folder/plugin.php'] ) ) { | |
| unset( $value->response['plugin-folder/plugin.php'] ); | |
| } |