Category Archives: Learned Today

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 , , , | Comments Off

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 , , , , , | Comments Off

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 , , , , , | Comments Off

Find a String on Windows – FINDSTR

Hello, If you are a Windows user and need to find a string on a very long txt file, welcome to findstring! I have years working with dos/windows and never heard about it… but is there! findstr “some string” bigfile.txt>filteredfile.txt … Continue reading

Posted in Learned Today, Medium Technical | Tagged , , , | Comments Off

Bad Programming Techniques: Schlemiel the Painter’s algorithm

Hello, “Schlemiel has a job painting the dotted lines down the middle of a road. Each day, Schlemiel paints less than he painted the day before. When he is asked why, Schlemiel complains that it is because each day he … Continue reading

Posted in Highly Technical, Learned Today | Tagged | Comments Off

Remove SSL Cert IIS

Hello, If you are trying to delete some expired or old certificate from your computer/server and even after doing that (on IE) is still showing some where, that means that is on your server cert store, so you must kill … Continue reading

Posted in Highly Technical, Learned Today | Tagged , , , , | Comments Off

c2c_service.exe

Hello, If you are annoyed for “c2c_service.exe” running on your PC, the  only way to disable that is going to services, stop it and set it to disabled… (Because even if you set it to off on the Skype advanced … Continue reading

Posted in Learned Today, Security | Tagged , | Comments Off

Burning one file on Vista/2008

Hello, I just found one error of Windows: If you want to burn just one file on a CD/DVD using the included Vista/2008 burning feature, it is just impossible… You have to include at least 2 files!!! (even if the … Continue reading

Posted in Learned Today, Nonsense Stuff | Tagged , , , , , | Comments Off

Strict-Transport-Security

Hello, A very nice way to force HTTPS on all the pages of your site is adding the following header to the server responses on your site: Strict-Transport-Security=max-age=31536000; So after that if some user access some page of your site … Continue reading

Posted in Learned Today, Medium Technical | Tagged , , , , , | Comments Off