所有由霜月发布的文章

ANOMALY: use of REX.w is meaningless (default operand size is 64)问题处理-已解决

问题描述:

在使用IDEA的git的功能的时候,始终提示未安装git.重新安装也是一样

根据报错提示ANOMALY: use of REX.w is meaningless (default operand size is 64) 搜索得知,是因为某类的安全软件的钩子注入导致的

检测是否被安装监控的方法(直接cmd运行)

netstat -ano |findstr 8237

因为监控软件不能卸载,如果想卸载的话 传送门

尝试的解决方案

1:针对所有程序

注册表中增加项

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\TEC\Ocular.3\agent\config 下 新建 [字符串值]  hookapi_disins,数值数据: 1

 

2:针对特定程序

注册表中增加项

计算机\HKEY_LOCAL_MACHINE\SOFTWARE\TEC\Ocular.3\agent\config 下 新建 [字符串值]  hookapi_filterproc_external,数值数据: cmd.exe;powershell.exe;git.exe;idea64.exe

 

 

 

解决

 

 

 

Jeecg-boot开发环境搭建(Windows版)

【 准备工作 】


  • 一、前端准备工作

    • Node.js

    1.到官网下载最新版本的Node.js,官网下载地址:https://nodejs.org/en/download/

    选择这个版本下载即可

    2.下载好后双击msi文件,进行安装(注:Node.js自带了npm)。下面来验证是否安装成功。
    cmd下,输入:

    node -v
    npm -v

    输出版本信息则表示安装成功
    • npm

    1.修改npm的缓存目录和全局目录路径(注:"E:\Node\node-v10.16.1"为你的Node.js的安装目录)
    cmd下,输入:

    npm config set prefix “E:\Node\node-v10.16.1\node_global”
    npm config set prefix “E:\Node\node-v10.16.1\node_cache”

    执行完后可看到该目录下多了两个文件夹

    2.配置npm和Node.js的环境变量
    第一步:修改用户变量下的Path变量,将”C:\Users\yusha\AppData\Roaming\npm”更换为”E:\Node\node-v10.16.1\node_global”

  • 第二步:在系统变量下增加一个变量,变量名为NODE_PATH,值为”E:\Node\node-v10.16.1\node_global\node_modules”

    • yarn

    1.cmd下,输入:

    npm install -g yarn

    安装成功后即可查看版本:

    yarn -v

    • WebStorm

    下载WebStorm并激活


  • 二、后端准备工作

    • JDK

    下载1.8版本的JDK并配置环境变量

    • Maven

    1.下载最新版本的Maven并配置环境变量
    2.修改Maven本地仓库地址,并配置远程仓库
    修改conf目录下的setting.xml文件

     

     

    <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <localRepository>E:\Apache\Maven\repository</localRepository>
        <mirrors>
              <mirror>
                  <id>nexus-aliyun</id>
                  <mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf>
                  <name>Nexus aliyun</name>
                  <url>http://maven.aliyun.com/nexus/content/groups/public</url>
              </mirror> 
         </mirrors>
    </settings>
    
    • IDEA

    1.下载IDEA并激活
    2.IDEA配置JDK
    点击Configure->Structure for New Projects

配置JDK

 

3.IDEA配置Maven
点击Configure->Settings

配置Maven

4.安装插件Lombok
点击Configure->Plugins


  • 三、数据库准备工作(MySql版)

    • MySql

    1.安装MySql,初始化并修改密码
    2.安装Navicat Premium或其他数据库管理工具、连接Mysql
    3.新建数据库,数据库名为jeecg-boot

    • Redis

    1.根据实际情况选择下载Redis,下载地址:https://github.com/microsoftarchive/redis/releases

    下载好后解压即可

    2.建议下载Redis可视化工具:RedisDeskTopManager
    3.开启Redis
    进入Redis安装目录,在目录栏输入cmd并回车
    在cmd输入以下命令:

    redis-server.exe redis.windows.conf

    Redis开启成功

【 项目启动 】


  • 一、前端项目启动

    • 加载项目

    1.从Github上下载项目,项目地址:https://github.com/zhangdaiscott/jeecg-boot
    2.用WebStorm导入项目ant-design-vue-jeecg

    导入项目
    • 启动项目

    1.调出WebStorm的Terminal,使用命令yarn install 下载项目依赖
    2.启动项目
    找到项目目录下文件package.json文件,鼠标右键选择Show npm Scripts

    点击命令:serve ,即可启动项目


  • 二、后端项目启动

    • 初始化数据库

    1.执行sql语句初始化数据库
    sql文件地址:jeecg-boot/db/jeecg-boot-mysql-20190705.sql

    • 加载项目并修改配置文件

    1.点击Open,双击jeecg-boot下的pom.xml文件即可导入Maven项目

     

    2.配置文件地址为:/jeecg-boot-module-system/src/main/resources/application-dev.yml
    MySql数据库及Redis配置:

     

    spring:
    datasource:
      dynamic: 
        datasource: 
            #主数据源
            master: 
              url: jdbc:mysql://127.0.0.1:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
              username: root
              password: root
              driver-class-name: com.mysql.jdbc.Driver
    redis:
      database: 0
      host: 127.0.0.1
      lettuce:
        pool:
          max-active: 8   #最大连接数据库连接数,设 0 为没有限制
          max-idle: 8     #最大等待连接中的数量,设 0 为没有限制
          max-wait: -1ms  #最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
          min-idle: 0     #最小等待连接中的数量,设 0 为没有限制
        shutdown-timeout: 100ms
      password: ''
      port: 6379
    
    • 启动项目

    1.找到类/src/main/java/org/jeecg/JeecgApplication.java,右键执行

centos 安装java 并运行 war文件

1、查看系统版本命令

cat /etc/issue

2、查看yum包含的jdk版本

yum search java 或者 yum list java*
版本 jre jdk
1.8 java-1.8.0-openjdk.x86_64 java-1.8.0-openjdk-devel.x86_64
1.7 java-1.7.0-openjdk.x86_64 java-1.7.0-openjdk-devel.x86_64
1.6 java-1.6.0-openjdk.x86_64 java-1.6.0-openjdk-devel.x86_64

3、安装jdk
此次选择java-1.8.0-openjdk-devel.x86_64 : OpenJDK Development Environment

yum install java-1.8.0-openjdk-devel.x86_64

4、配置全局变量

打开配置文件,按insert进入编辑模式

vi /etc/profile

复制以下三行到文件中,按esc退出编辑模式,输入:wq保存退出(这里的JAVA_HOME以自己实际的目录为准)

export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el6_9.x86_64
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$PATH:$JAVA_HOME/bin

全局变量立即生效

source /etc/profile

5、查看安装jdk是否成功

java -version

6.新建目录并上传war包

7 java -jar /usr/xxx/xxxx.war

REGRETS OF THE DYING -临终前五个悔恨

The top five regrets of the dying

For many years I worked in palliative care. My patients were those who had gone home to die. Some incredibly special times were shared. I was with them for the last three to twelve weeks of their lives.
很多年,我的工作就是照顾那些临终的人。我的病人都是那些回到家里等死的人。因此我能分享他们那些不可思议的临终感受。在他们生命的最后 3 到 12 周的日子里,我会一直照顾他们。

People grow a lot when they are faced with their own mortality. I learnt never to underestimate someone’s capacity for growth. Some changes were phenomenal. Each experienced a variety of emotions, as expected, denial, fear, anger, remorse, more denial and eventually acceptance. Every single patient found their peace before they departed though, every one of them.
当亲身面对自己死去的时候,人们能成长很多很多。我的感受就是,永远不要低估人成长的速度很能力。我见证过很多,非凡的变化。所有的病人,都会经历这一系列的情绪变化,正如我们所料,他们都会不接受,害怕,愤怒,懊悔和自责,以致自欺欺人,然而最终他们都接受了自己将要死亡的事实。所有的病人最后都能安静祥和的离去,所有的都是,无一例外。

When questioned about any regrets they had or anything they would do differently, common themes surfaced again and again. Here are the most common five:
当被问到他们的生命中有什么遗憾,或是如果可以重来,哪些事情他们会不同的对待。这些病人的回答惊人的相似。以下是五个最普遍的临终悔恨:

1. I wish I’d had the courage to live a life true to myself, not the life others expected of me.
第一,我希望我有勇气过自己的生活,而不是别人期待我要过的生活。

This was the most common regret of all. When people realise that their life is almost over and look back clearly on it, it is easy to see how many dreams have gone unfulfilled. Most people had not honoured even a half of their dreams and had to die knowing that it was due to choices they had made, or not made.
这是天字第一号最普遍的悔恨。在即将死去的时候,回望整个的生命,他们很容易发现自己有那么多的梦想没有实现。大多数的病人发现他们甚至没有尝试追求半数的梦想。直到要死了,他们才明白这是因为他们曾经错误的选择或是错误的不选择。

It is very important to try and honour at least some of your dreams along the way. From the moment that you lose your health, it is too late. Health brings a freedom very few realise, until they no longer have it.
哪怕只是梦想的一部分,也要去追求,因为这对于你生命很重要。当健康失去的时候,一切都太迟了。健康意味着的自由,很少人会在意。直到失去了健康,一切真的都太迟了。

2. I wish I didn’t work so hard.
第二,我希望我不那么拼命的工作。

This came from every male patient that I nursed. They missed their children’s youth and their partner’s companionship. Women also spoke of this regret. But as most were from an older generation, many of the female patients had not been breadwinners. All of the men I nursed deeply regretted spending so much of their lives on the treadmill of a work existence.
这是我所有男性病人的共同悔恨。他们错过了孩子的童年和爱人的陪伴。也有一些女性病人提到过这点。可能由于是时代的关系,大多说的女性病人,都是家庭主妇。所有的男性病人都后悔浪费了太多的生命在工作上。

By simplifying your lifestyle and making conscious choices along the way, it is possible to not need the income that you think you do. And by creating more space in your life, you become happier and more open to new opportunities, ones more suited to your new lifestyle.
放弃那些你不需要的东西吧,过简单的生活,做清醒的选择。选择那些符合你生活方式的事情,这样你将有更大的生命空间,更幸福的生活,更多的机会。

3. I wish I’d had the courage to express my feelings.
第三,我希望我有足够的勇气表达自己的感受。

Many people suppressed their feelings in order to keep peace with others. As a result, they settled for a mediocre existence and never became who they were truly capable of becoming. Many developed illnesses relating to the bitterness and resentment they carried as a result.
太多的人克制自己的感受,以求给别人更大的空间。结果,他们因此流于平庸,永远没有机会成为他们有能力成为的人。很多疾病是对生活的不满和痛苦造成的。

We cannot control the reactions of others. However, although people may initially react when you change the way you are by speaking honestly, in the end it raises the relationship to a whole new and healthier level. Either that or it releases the unhealthy relationship from your life. Either way, you win.
我们无法控制别人的反应。然而我们却能诚实的表达自我,一开始可能会给别人带来不快,但是,最终真实带给我们的是一个全新的健康的人际关系。不然,真实就帮我们祛除了不好的关系。所以,无论是为了得到好的关系还是为了祛除坏的关系,我们都要真实的表达自我。

4. I wish I had stayed in touch with my friends.
第四,我希望我有一直和朋友们保持联系。

Often they would not truly realise the full benefits of old friends until their dying weeks and it was not always possible to track them down. Many had become so caught up in their own lives that they had let golden friendships slip by over the years. There were many deep regrets about not giving friendships the time and effort that they deserved. Everyone misses their friends when they are dying.
人们经常的忽视老朋友的价值,直到行将死去的时候,再想起老朋友,有的已经难觅踪影了。太多人只关注自己的生活,任最好的友情在岁月里尘封。有太多的悔恨,没有在友情上花足够的时间和精力。多有临死的人都深深的思念着朋友。

It is common for anyone in a busy lifestyle to let friendships slip. But when you are faced with your approaching death, the physical details of life fall away. People do want to get their financial affairs in order if possible. But it is not money or status that holds the true importance for them. They want to get things in order more for the benefit of those they love. Usually though, they are too ill and weary to ever manage this task. It is all comes down to love and relationships in the end. That is all that remains in the final weeks, love and relationships.
生活匆忙的人,太容易忽视友情。当你面对死亡的时候,有形的生活消失了。如果可能,临终的人都想处理好自己的财产。不是在乎金钱和名誉,而是想为他爱的人做点事情。很多时候,病人在病入膏肓,身心疲惫的时候处理此事。生命的终点,全是关于爱和关系的。爱和关系,病人的最后一周只会考虑这两样东西。

5. I wish that I had let myself be happier.
第五,我希望我能生活的更快乐。

This is a surprisingly common one. Many did not realise until the end that happiness is a choice. They had stayed stuck in old patterns and habits. The so-called ‘comfort’ of familiarity overflowed into their emotions, as well as their physical lives. Fear of change had them pretending to others, and to their selves, that they were content. When deep within, they longed to laugh properly and have silliness in their life again.
这是另一个惊人的共同悔恨。很多人直到死才明白,快乐原来也是一种选择。人们通常因循守旧,固步自封,害怕改变,自欺欺人。但是,伪善的背后却是内心深处对真性情的深深渴望,但往往只是渴望,直到临终前才从渴望中醒来。

When you are on your deathbed, what others think of you is a long way from your mind. How wonderful to be able to let go and smile again, long before you are dying.
当你躺在临终的床上,你才会意识到,别人怎么看你,是那么不值一提。生命的精彩在于你还有机会,放下一切,会心的微笑。在临终以前,很早很早,就抓住你的生命吧。

Life is a choice. It is YOUR life. Choose consciously, choose wisely, choose honestly. Choose happiness.

生命就是一种选择。生命是你的。要清醒的选择,聪明的选择,真实的选择。选择快乐。

JetBrains IDEA 2020 activation CODE 无限激活的方法-ide-eval-resetter

出处:https://gitee.com/pengzhile/ide-eval-resetter

下载后直接拖zip进IDE窗口,可走插件更新机制保持最新。
这个插件会一同清理市场收费插件的试用时间,比如iedis2 / minbatis 之类的都可以。
可勾选选项达到重启自动重置,静默无感知。

 

 

Reset Your IDE Eval Information

  1. Download and install plugin from Download Link.
    • Alternative installation method:
      • Add “Custom Plugin Repository”: https://plugins.zhile.io manually (Settings/Preferences -> Plugins)
      • Search and install plugin: IDE Eval Reset
  2. Click Help or Get Help -> Eval Reset menu.
  3. Click Reset -> Yes button.
  4. Restart your IDE.
  5. Now you have another 30 days eval time 🙂

二宝的百日记

又是一个雨夜,也忘记了这雨是连续下了几天了

前天是一诺宝宝的一百天,时间过得如此之快.

在产房外焦急待产的情景仿佛昨日.

现在这丫头开始认人了,不开心的时候只要妈妈

发起脾气来像个小火药桶,还学会了发火训人

白天哄睡比较容易下,到了傍晚就依赖妈妈多一点

可是妈妈有的时候还得照顾你的哥哥呢

最近你和你的哥哥都不是很乖,

你哥每晚睡觉得开灯,等过了第一觉才睡的安稳一些

基本上隔段时间就会夜里就会闹一次

最近吃饭也是不是很听话了,吃得慢要哄就算了

还学会了用手抠出来或者直接吐出来.

早上突然加微信的6岁的一位山东的天使宝宝的姑姑

发消息说孩子高烧不退,几近昏迷.

心里是一直揪着痛,幸好后面恢复了.

尽管有些让人难以面对,但是有些事情不可避免

随着天使家长越来越多的联系,也接触到了越来越多的信息.

每年都会有那么几个天使宝宝飞回天堂.

对于家长得是多大的打击

从怀胎十月到呱呱坠地再到慢慢的长大

天使宝宝的家长付出了比一般的家长多太多的精力

你们的活泼好动,调皮捣蛋,翻箱倒柜

有时候心里也是生气

可是又有什么办法

只能默默的安慰自己,生气也不能让你们变好
每个家长都心里有过思想准备吧

每天都尽量让你们过得开开心心的

 

网站(angelman.org.cn)那边还有几个修改的地方:

1.图片的修复

2.增加分类汇总导航页

3.增加宝宝的选项卡页

四岁记

又是一年九月,又是一年开学季

和之前不同的是,正常的话,昨天是要送你去学校的

可是你没法去,你只能留在家里,接受康复锻炼.

这么久了,恍惚时还奢望这是个梦.希望这一切都是假的.

 

 

每当看你快乐无忧的时候,心里也释放过,

觉得怎么着不是一辈子,就这样算了,至少你是开心的每天

每当看你妈妈为了给你喂饭,锻炼生气发火的时候,

也希望你能自己处理衣食住行,怕将来我们不在了,没人照顾你

 

 

前天你有个远方的叫一浩的弟弟飞回天堂了,

19年7月31号来到这个世界,

算命的说不是每个月都有31号,所以取名一浩

2020年8月31号离开这个世界

或许除了他的亲人,没有人记得他曾来这个世界走了一遭

 

四年前的今天,你应该还躺在你的小床上,眼睛都还没有睁开

我们也都沉浸在你新来到这个世界的喜悦中

一晃已经1462天了

 

祝你生日快乐,感谢你妈妈,姥姥,爷爷这么长时间的辛苦付出.