Геннадий Ковшенин
Conditional Notifications Plugin for Gravity Forms
Based on the values of form fields selected notification settings are overridden, including e-mails and, more importantly content, and whether a notification is sent or not in the first place.
Functions Deprecated in WordPress 3.4
Functions Deprecated in WordPress 3.4 Here’s a list of functions that are now deprecated in WordPress 3.4: debug_fopen, debug_fwrite, debug_fclose, substituted by PHP’s native error_log get_themes, substituted for wp_get_themes, whereas get_theme and get_current_theme functions are replaced by wp_get_theme clean_pre is not replaced by anything, its relevant use inside the core has been replaced with good code, …
Extra Data in jQuery AJAX Requests
Extra Data in jQuery AJAX Requests Sometimes it’s necessary to bind some additional data to an AJAX request, data that is not sent over the wire but has to pop up in the callback. For instance: var dataStreams = ; dataStreams.push( { ‘id’: ‘A04AC’, ‘data’: ‘Hello World’ } ); dataStreams.push( { ‘id’: ‘AVM32’, ‘data’: ‘Easy does …
Don’t Post Images of Your Credit Card Online
And some people actually think there’s nothing bad in posting parts of the card. Yet, the same people have no understanding of which parts are safe to display and which are not. General rule – don’t show your credit card at all, especially online for the general public to view. I have wiped out the critical information in my version of the image as to stop the propagation of this nonsense. The cardholder pasted the image in the clear. Size is taken from the original.
Setting up Flask with nginx
In any case, since my webserver of choice has long been nginx (built-in servers don’t impress me too much), having it serve Flask applications in a robust, reliable way was required. The instructions to marry nginx and Flask via uWSGI are quite clear. I compiled the uwsgi application container, read the docs and came up with the following startup command: