Mindblown: a blog about philosophy.

  • Deploy Laravel Cpanel server public public_html

    simple from ssh rm -rf public_html ln -s /home/user/gitClonedFolder/public/ public_html Enjoy

  • server hard disk age Power On Hours

    this for 2 hard driveres simply change sda1 sdb1 for how many disk drives you have smartctl –all /dev/sda1 | grep Power_On_Hours smartctl –all /dev/sdb1 | grep Power_On_Hours result 9 Power_On_Hours 0x0000 000 000 000 Old_age Always 2620 2620 . /24h . = 109 days enjoy

  • uuid UUID_TO_BIN BIN_TO_UUID mysql 8 ordered by default bbackport for mysql 5.6 and 5.7 amazon aws compatible

    uuid UUID_TO_BIN BIN_TO_UUID mysql 8 ordered by default bbackport for mysql 5.6 and 5.7 amazon aws compatible CREATE FUNCTION UUID_TO_BIN(_uuid BINARY(36)) RETURNS BINARY(16) LANGUAGE SQL DETERMINISTIC CONTAINS SQL SQL SECURITY INVOKER RETURN UNHEX(CONCAT( SUBSTR(_uuid, 15, 4), SUBSTR(_uuid, 10, 4), SUBSTR(_uuid, 1, 8), SUBSTR(_uuid, 20, 4), SUBSTR(_uuid, 25) )); CREATE FUNCTION BIN_TO_UUID(_bin BINARY(16)) RETURNS BINARY(36) LANGUAGE […]

  • iptables reset on reboot linux centos

    here is the fix IPTABLES_SAVE_ON_RESTART=”yes” IPTABLES_SAVE_ON_STOP=”yes” in /etc/sysconfig/iptables-config 3. service iptables save chkconfig iptables on

  • كيف واجهت روسيا فيروس الفدية wannacry الذي ارعب العالم !

    ان فيروس الفدية الذي انتشر مؤخرا قد أرعب العالم خاصة بعد الاضرار التي سببها لمجموعة من القطاعات والشركات ، ووقف العمل في بعضها لايام . لكن لكل دولة طريقة مواجهة هذه التهديدات التي لن تنتهي ، لكن ما الذي فعلت روسيا لمواجهة فيروس الفدية الاخير ؟ قامت روسيا بامر اغرب من الخيال هل لك ان […]

  • الهاتف الجوال اصلي ام تقليد

    لمعرفة الاصلي من دون الاصلي من خلال  التليفون اتصل بالرقم التالي *#06# راح يطلع رقمين IMEI SN ادخل الموقع ده وافحص http://www.imei.info/ دخل الرقم IMEI بعدها يظهرلك معلومات الجهاز بعدين اضغط علي Waranty Check دخل السيريال SN راح يطلع لك معلومات الضمان لاتنساني من دعوه صالحه

  • php storm portable

    Yes, it’s possible, just copy the installation directory to the flash drive, then edit IDEA_HOME\bin\idea.properties file, change the values of idea.config.path and idea.plugins.path to the relative location, like: ../config and ../user-plugins (locations are relative to IDEA bin directory). Now copy your original settings and third-party plug-ins (if any): ${user.home}/.IntelliJIdea10/config => usb:/IDEA_HOME/config ${user.home}/.IntelliJIdea10/config/plugins => usb:/IDEA_HOME/user-plugins Note […]

  • restore multiple cpanel backup from folder ssh

    log ssh dont forget to change “backupfolder” with your backups folder [php] cd /home/backupfolder; for a in *; do /scripts/restorepkg $a; sleep 30; done; [/php]

  • Cpanel Commands ssh

    Install cpanel cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest backup one user account /scripts/pkgacct USERNAME Force Cpanel backup run for all users /scripts/cpbackup –force  

  • Complete File Upload Vulnerabilities

    Allowing an end user to upload files to your website is like opening another door for a malicious user to compromise your server. However, uploading files is a necessity for any web application with advanced functionality. Whether it is a social networking site like Facebook and Twitter, or an intranet document sharing portal, web forums […]

Got any book recommendations?