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
Author Archives: admax
jQuery Playground: The base of AJAX
A very simple trick… HTML: <img id=”some-image” src=”http://domain.com/image.jpg” alt=”” width=”200″ height=”70″ /> Script: var someimage = jQuery(“img[id=’some-image’]”); jQuery.get( someimage.attr(“src”), function( ) { // Do something }); This (way of client requests) is the base of AJAX/XMLHttpRequest, in this case is … Continue reading
Posted in Basic Technical
Tagged AJAX, DOM, jquery, XMLHttpRequest
Comments Off on jQuery Playground: The base of AJAX
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]
Dump saved WIFI password from CMD
To dump some saved WIFI password on Windows just type: netsh wlan show profile name=[ssid] key=clear This will need a elevated command prompt and will also show other details that can be usefully on scripts, or similar… AC.
Posted in Basic Technical, Learned Today, Networking
Tagged netsh, wifi, windows, wlan
Comments Off on Dump saved WIFI password from CMD
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
FON2100A OpenWRT Unbrick
A small step to step on how to revive a bricked FONERA 2100A (With Redboot installed) Files Needed: Easy Redboot flash utility: http://download.berlin.freifunk.net/fonera/ap51-flash-gui-1.0-42.exe Previous program dependency: http://www.winpcap.org/install/bin/WinPcap_4_1_3.exe OpenWRT Kamikaze 8.09.2 http://downloads.openwrt.org/kamikaze/8.09.2/atheros/openwrt-atheros-vmlinux.lzma http://downloads.openwrt.org/kamikaze/8.09.2/atheros/openwrt-atheros-root.squashfs Hardware needed: – PC Computer (Or VM) – … Continue reading
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
OSx Advanced Search: Find + Grep
To find some text inside all types of files: find . -type f -exec grep -l “some text” {} + AC.
Posted in Basic Technical, Learned Today, Mac
Tagged files, find, grep, mac, osx, search
Comments Off on OSx Advanced Search: Find + Grep
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”