欢迎各位兄弟 发布技术文章
这里的技术是共享的
add_APP_LOG_TO_env.sh ( addAPP_LOG_TO_env.sh )
#!/bin/bash
#
for file in /home/wwwroot/*/public_html ;do
if [ -d "$file" -a -f "${file}/.env" ] ;then
# echo $i
ENV=${file}/.env
sed -i '/APP\_URL\=/a \APP_LOG=daily' $ENV
sed -i 's/\r$//g' $ENV
fi
done
check_mysqld_status.sh
/sbin/service mysqld status &> /dev/null
if [ $? -eq 0 ];then
/sbin/service mysqld restart
~
cron_ykt_cron.sh
# this is the standard Drupal cron invocation that runs from cron
# this will flush the Page Cache when Minimum Cache Lifetime set to <none>
wget -O - -q -t 1 http://ykt.400.com/cron.php?cron_key=uWdhZNrttyyuuiikdxHsSyCSJGpagxAK7n3Iad
modify_ip.sh
sed -i 's@211.149.166.241@47.52.105.149@g' $ENV
for file in /home/wwwroot/*
do
if [ -d "$file" ]
then
echo "$file is directory"
echo ${file}/public_html/public
if [ -d "${file}/public_html/public" ] ; then
\cp -f /home/wwwroot/zzhmu_com/public_html/public/robots.txt ${file}/public_html/public
elif [ -f "$file" ]
echo "$file is file"
removeStorageViewsAndLog.sh (remove_storage_views_and_log.sh )
for I in /home/wwwroot/* ; do
viewcache=${I}/public_html/storage/framework/views
if [ -d $viewcache ]; then
echo ${viewcache}
find ${viewcache} -name "*.php" | xargs rm -rf
#rm -Rf ${Frontcache}/*
logcache=${I}/public_html/storage/logs
if [ -d $logcache ]; then
echo ${logcache}
很多时候,我们在第一次使用苹果电脑的时候会发现苹果电脑跟之前我们使用的pc电脑并不一样,因为苹果电脑是不分区不分盘,所以,今天我们就来看一下,如何管理电脑和查看电脑的内存。
https://www.redux.org.cn/ 中文文档
http://cn.redux.js.org/ 中文文档
https://ngrx.io/guide/store-devtools 有大用
https://duncanhunter.gitbook.io/enterprise-angular-applications-with-ngrx-and-nx/ 有大用
https://redux.js.org/
许多用户还不知道win7系统如何配置samba服务器?samba服务能提供文件共享服务,它的优点在于很方面在windows和linux之间进行文件共享服务。如何配置samba服务器呢?这个软件配置起来也不难,使用也非常简单。接下去我们一起看下配置方法。
https://service.tp-link.com.cn/article?classtip=wireless&p0=1&p1=0
指从你的电脑上传的速度
TypeScript 和 JavaScript 是目前项目开发中较为流行的两种脚本语言,我们已经熟知 TypeScript 是 JavaScript 的一个超集,但是 TypeScript 与 JavaScript 之间又有什么样的区别呢?在选择开发语言时,又该如何抉择呢?
vs code可以按alt+shift+f整理代码格式,这个快捷键也可以修改,下面介绍详细操作。
首先表示强烈谴责,没事写出这种木马来。导致开发者把时间花在解决这种问题上。