Dub Force Events
x0Events cannot currently be displayed, sorry! Please check back later.x0_close-
Recent Posts
Recent Comments
Archives
- March 2022
- August 2021
- February 2021
- December 2020
- November 2019
- April 2019
- April 2018
- January 2017
- May 2016
- April 2016
- March 2016
- December 2015
- June 2015
- January 2015
- December 2014
- November 2014
- April 2014
- January 2014
- December 2013
- November 2013
- March 2013
- December 2012
- November 2012
- November 2010
- October 2010
Categories
Meta
Category Archives: Medium Technical
Clear opcache in PHP
If you are working on a shared environment and deleted PHP files keep around, check how to clear empty the cache… In this case we found the server used “opcache” so with the function opcache_reset() we can get rid of … Continue reading
Posted in Linux, Medium Technical
Tagged clear cache, easywp, namecheap, opcache, opcache_reset, shared hosting
Comments Off on Clear opcache in PHP
Android APK Modification
An APK file is a ZIP file with the files inside with certain structure so it can serve as installer. So for a basic modification, you can just rename the file to “.ZIP” extract the files and do whatever you … Continue reading
jQuery lazy image loading…
Just a speed up trick, if you have lot of images or big images, to allow the browser to render and show the page before load the images you can do a “lazy” loading, that means that you load a … Continue reading
Posted in Medium Technical
Tagged jquery, lazy, lazyloading
Comments Off on jQuery lazy image loading…
Speed UP WordPress [or any site]
If you use a shitty server/network or your wordpress theme/plugins/content combination is heavy you can speed up the loading on the side of the client and server side by using a plugin like “W3 Total Cache”; it could set easily … Continue reading
Posted in Medium Technical, Wordpress
Tagged cache, cache-control, header order, htaccess, linux, mod_expires.c, php, w3 total cache, wordpress
Comments Off on Speed UP WordPress [or any site]
Disable local IP leak on Firefox – WebRTC
Avoid sites fetching your internal IP by disabling WebRTC… The native way: – Go to about:config and set “media.peerconnection.ice.default_address_only” to true And the old way: – Use a plugin like “Disable WebRTC” https://addons.mozilla.org/en-us/firefox/addon/happy-bonobo-disable-webrtc/ What is WebRTC and what does it … Continue reading
WordPress Proxy
Running WordPress on a internal network or something like that and want to handle all the internal connections with a proxy? Just edit the “wp-config.php” and add this: define(‘WP_PROXY_HOST’, ‘90.90.90.90’); define(‘WP_PROXY_PORT’, ‘3128’); define(‘WP_PROXY_USERNAME’, ‘username’); define(‘WP_PROXY_PASSWORD’, ‘password’); define(‘WP_PROXY_BYPASS_HOSTS’, ‘localhost, www.someurl.com’); References: … Continue reading
Posted in Medium Technical, Wordpress
Tagged download_url, wordpress, WP_Http, wp_remote_get
Comments Off on WordPress Proxy
WordPress – Get all posts where a meta key does not exist
Simple… $search_values[‘meta_query’] = array( ‘relation’ => ‘OR’, array( ‘key’ => ‘psychedelics’, //replace with the non existing field to query ‘compare’ => ‘NOT EXISTS’, ‘value’ => ” // Ignored, but needed to work… ), array( ‘key’ => ‘psychedelics’, //replace with the … Continue reading
Posted in Learned Today, Medium Technical, Wordpress
Tagged all, get, not exist, query, wordpress, wp
Comments Off on WordPress – Get all posts where a meta key does not exist
Generate and Test a iOS Push Certificate
Hello, A (working) quick way to generate a working P12 Certificate using OpenSSL for push notifications on your iOS apps: Transform the Certificate from CER to PEM openssl x509 -in aps_production.cer -inform DER -out distrib_final.pem -outform PEM} Transform the Key … Continue reading
OpenSSL – Comodo “unable to get local issuer certificate”
Hello, If you use Comodo certificates over an (web) application that uses OpenSSL and you get the error “unable to get local issuer certificate” that mean that you have to merge the all the certificate chain on one file and … Continue reading
Posted in Linux, Medium Technical
Tagged certificate, error, openssl, ubuntu, X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT_LOCALLY
Comments Off on OpenSSL – Comodo “unable to get local issuer certificate”
Compile OpenSSL from source on old Ubuntu
Hello, If your version of Ubuntu is no longer supported you should update… But in the meantime you could fix the broken or insecure packages on this way… Note: Before continue check if you can get from a trusty source … Continue reading
Posted in Linux, Medium Technical, Security
Tagged configure, hardy, hearbleed, install, make, old ubuntu, openssl, ssl, ubuntu, ubuntu 8.04
Comments Off on Compile OpenSSL from source on old Ubuntu