Author Archives: admax

OpenWrt webcam

Install in OpenWrt: kmod-video-uvc mjpg-streamer luci-app-mjpg-streamer //refresh //Go to: services/mpg-streamer //Set it to: enabled //That will be all //Optional: Setup security and other parameters A still image will be available on: http://192.168.130.1:8080/?action=stream The stream will be available on: http://192.168.130.1:8080/?action=snapshot //—————————- … Continue reading

Posted in Linux | Tagged , | Comments Off on OpenWrt webcam

WordPress Mysql Migration

Magic formula: Most free plugin to “backup” charge your migration, when is a matter of running few lines of code on your database… UPDATE wp_options SET option_value = replace(option_value, ‘http://oldurl.com’, ‘https://newurl.com’) WHERE option_name = ‘home’ OR option_name = ‘siteurl’; UPDATE … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on WordPress Mysql Migration

WordPress Auto Lazy Loading

New wordpress (since?) Has an automatically lazy loading for images.. if that broke your site, you can disable it with the following code:add_filter( ‘wp_lazy_loading_enabled’, ‘__return_false’ ); AC.

Posted in Uncategorized | Tagged | Comments Off on WordPress Auto Lazy Loading

Monero v0.15.0.0 Hacked Client

—–> WARNING <—– https://github.com/monero-project/monero/issues/6151 https://www.reddit.com/r/Monero/comments/dyfozs/security_warning_cli_binaries_available_on/ —–> ok <—– (matching hash from https://web.getmonero.org/downloads/hashes.txt) monero-win-x64-v0.15.0.0.zip 72.14 MB 6b72b3836d179eb517154bbcb8e2119b168ae9d1054866a438aaeab9521f795f monero-wallet-cli.exe 37.06 MB 54241b4e7dec43a44e81f4ad65741c937e5ef6b16c69552446bb92f902593e12 —–> bad <—– (unknown version retrieved from official site!!) monero-wallet-cli.exe is modified, and monero-gen-trusted-multisig.exe is missing (to make it look … Continue reading

Posted in Cryptocurrency | Tagged | Comments Off on Monero v0.15.0.0 Hacked Client

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 , , , , , | Comments Off on Clear opcache in PHP

One Click Monero Win Node

# One Click Monero Win Node #1 – download monero core + monero blockchain https://getmonero.org/downloads/ https://downloads.getmonero.org/cli/win64 https://downloads.getmonero.org/blockchain.raw #2 – import blockchain on custom dir, guard-against-pwnage=verify [only run with a trusted blockchain.raw] monero-blockchain-import –data-dir x:\Monero\ –guard-against-pwnage 0 –input-file blockchain.raw #3 – … Continue reading

Posted in Basic Technical, Cryptocurrency | Comments Off on One Click Monero Win Node

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

Posted in Android, Medium Technical | Tagged , , , , , , , | Comments Off on Android APK Modification

Install certificate as System on Android

Use OpenSSL to transform the certificate to Android format (that is cert+info) Extract ID using this command: openssl.exe x509 -inform PEM -subject_hash -in charles.pem It is the first line. Name the certificate ID.0 (Ex: ce554431.0) Extract certificate info using: openssl.exe … Continue reading

Posted in Android, Security | Tagged , , , | Comments Off on Install certificate as System on Android

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 , , | Comments Off on jQuery lazy image loading…

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 , , , | Comments Off on jQuery Playground: The base of AJAX