https://capitalwebdesign.ca/i-managed-to-ip-ban-myself-from-my-own-site/
$ fail2ban-client status wordpress-hard
$ fail2ban-client set wordpress-hard unbanip ww.xx.yy.zz
| /** | |
| * Render the Global Trade Identification Number (GTIN) meta field. | |
| */ | |
| function woocommerce_render_gtin_field() { | |
| $input = array( | |
| 'id' => '_gtin', | |
| 'label' => sprintf( | |
| '<abbr title="%1$s">%2$s</abbr>', | |
| _x( 'Global Trade Identification Number', 'field label', 'my-theme' ), | |
| _x( 'GTIN', 'abbreviated field label', 'my-theme' ) | 
https://capitalwebdesign.ca/i-managed-to-ip-ban-myself-from-my-own-site/
$ fail2ban-client status wordpress-hard
$ fail2ban-client set wordpress-hard unbanip ww.xx.yy.zz
https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04
sudo fallocate -l 4G /swapfile
# verify
ls -lh /swapfile
#secure
sudo chmod 600 /swapfile
# setup
sudo mkswap /swapfile| <html> | |
| <script> | |
| window.onload = function() { | |
| nativeInterface.hideSplashScreen() | |
| } | |
| </script> | |
| <style> | |
| .with-css { | |
| pointer-events: none; | 
| public class MultiStream : Stream | |
| { | |
| private readonly List<Stream> _streams; | |
| public MultiStream(params Stream[] streams) | |
| { | |
| _streams = streams.ToList(); | |
| } | |
| public override void Flush() | 
| import '/bower_components/spectrum/spectrum.css'; | |
| import '/bower_components/spectrum/spectrum.js'; | |
| define ColorPickButton { | |
| slot domInsert () { | |
| this.$.find('.color-picker').spectrum({ | |
| cancelText: 'Abbrechen', | |
| chooseText: 'Auswählen', | |
| allowEmpty: true, | 
| var x = new RegExp( "/" ) | |
| console.log(x.test( "/hello" )); | |
| var serializedRegexParser = /^\/(.+)\/(\w+)?$/ | |
| var serializedRegex = x.toString(); | |
| console.log('serializedRegex:', serializedRegex); | |
| var matches = serializedRegexParser.exec(serializedRegex); | |
| var [full, regexString, regexFlags] = matches; | 
Resources in the wild:
How-to steps:
| // atma-class | |
| // common node.js and browser | |
| var Article = Class('Article', { | |
| Base: Class.Serializable({ | |
| date: Date | |
| }), | |
| _id: null, | |
| date: null, | |
| body: '', | 
| function Deferred(){} | |
| (function(){ | |
| Deferred.prototype = { | |
| _isAsync: true, | |
| _done: null, | |
| _fail: null, | |
| _always: null, |