分类: 随手记

百度ueditor编辑器自动加P最新解决办法

不让百度ueditor编辑器在空白文档自动添加<p><br/><p>
在网上找了一圈,大部分是解决LI里自动套P
找了半天发现只需要把ueditor.all.min.js这个文件里的 
"<p>"+(browser.ie?"":"<br/>")+"</p>"  和 "<p>"+(ie?"":"<br/>")+"</p>"  都替换成"",问题就解决了.
不过我觉得应该只是替换某一处应该就可以解决,不过时间有限,等以后有时间再去深究,先把现在的问题解决先,也给有需要的朋友分享一下。

navicat for Windows 16/17无限试用脚本

echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update
reg delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update /f
echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration[version and language]
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium" /s | findstr /L Registration"') do (
    reg delete %%i /va /f
)

echo Delete Info and ShellFolder under HKEY_CURRENT_USER\Software\Classes\CLSID
for /f "tokens=*" %%a in ('reg query "HKEY_CURRENT_USER\Software\Classes\CLSID"') do (
  for /f "tokens=*" %%l in ('reg query "%%a" /f "Info" /s /e ^| findstr /i "Info"') do (
    echo Delete: %%a
    reg delete %%a /f
  )
  for /f "tokens=*" %%l in ('reg query "%%a" /f "ShellFolder" /s /e ^| findstr /i "ShellFolder"') do (
    echo Delete: %%a
    reg delete %%a /f
  )
)

来源 https://linux.do/t/topic/100400/67

编译安装PHP常用参数

./configure --prefix=/home/iuu/Software/php/php83 --with-config-file-path=/home/iuu/Software/php/php83/etc  --with-curl --with-freetype --enable-gd --with-jpeg  --with-gettext  --with-kerberos  --with-mysqli --with-openssl   --with-external-pcre   --with-pdo-mysql --with-pear   --with-xsl --with-zlib --enable-fpm --enable-bcmath  --enable-mbregex --enable-mbstring --enable-opcache --enable-pcntl --enable-shmop --enable-soap --enable-sockets --enable-sysvsem --enable-xml --with-zip  --enable-ftp --enable-session --enable-xml --enable-cli --enable-static --enable-mysqlnd --enable-intl --enable-pdo  --with-iconv --with-bz2 --with-ldap-sasl --with-mhash --with-libxml  --with-pdo-sqlite

make && make install

cp /home/iuu/Software/php/php83/php-8.3.10/php.ini-production /home/iuu/Software/php/php83/etc/php.ini
cp /home/iuu/Software/php/php83/php-8.3.10/sapi/fpm/php-fpm /home/iuu/Software/php/php83/etc/php-fpm
cp /home/iuu/Software/php/php83/etc/php-fpm.conf.default       /home/iuu/Software/php/php83/etc/php-fpm.conf
cp /home/iuu/Software/php/php83/etc/php-fpm.d/www.conf.default /home/iuu/Software/php/php83/etc/php-fpm.d/www.conf
1 2 3 4 5