隨筆-204  評論-90  文章-8  trackbacks-0
            2021年1月18日
          此問題是由于升級 macos sonoma 14.2.1 引起的
          解決辦法,重新安裝xcode  
          rm -rf /Library/Developer/CommandLineTools
          xcode
          -select --install
          posted @ 2024-02-04 13:57 一凡 閱讀(56) | 評論 (0)編輯 收藏
          # Springboot整合activiti
          源代碼:https://gitee.com/yifan88899/acttest

          ## 版本說明
          - springboot 2.4.2
          - activiti 7.1.0.M6
          - mysql 8.0.28
          ## 插件安裝
          - Activiti BPMN visualizer
          ## Bpmn流程圖位置
          - 流程圖xmlpng需放在resources/processes
          ## Test
          - Test Case 都可執行,包括:
          - 流程查詢
          - 流程部署
          - 流程啟動
          - 流程拾取、完成操作
          ## Mysql
          - 需要啟動Mysql8
          - 數據庫名Activiti7
          - activiti會版建表

          posted @ 2023-11-10 15:56 一凡 閱讀(103) | 評論 (0)編輯 收藏
          1、打開my.cnf 加入 skip-grant-tables
          2、mysql.service stop && mysql.service start
          3、清空root密碼 并 退出
              update mysql.user set authentication_string='' where user='root';  
          4、mysql.service stop && mysql.service start
          5、mysql -root   免密登錄并修改root密碼
              alter user 'root'@'%' identified by 'pass$123';
              alter user 'root'@'localhost' identified by 'pass$123';

          確定是否支持遠程登錄,host中有%的記錄即支持
          select host, user, authentication_string, plugin from user;
          posted @ 2021-08-05 18:06 一凡 閱讀(210) | 評論 (0)編輯 收藏

          64e696 綠色
          5a97ff 藍色
          ffdb5a 黃色
          ff8b64 橙色
          ff5a65 紅色
          e00b5d 粉紅
          666666 深灰
          3cc7f5 淺藍
          f5863c 淺橙
          b00072 枚紅
          674ea7 紫色
          999999 灰色
          posted @ 2021-06-22 17:46 一凡 閱讀(88) | 評論 (0)編輯 收藏
          #!/usr/bin/expect
          ####################
          set pass xxxx
          set user yyyy
          ####################
          spawn ssh -p 35000 -o StrictHostKeyChecking=no "${user}@xgrelay.xxxx.com"
          expect {
            -re ".*Dkey.*" { gets stdin dkey; send "$dkey\r"; exp_continue}
            -re "Option>:"  { send "1\r" ;}
            -re "Password>:" { send "$pass\r" ; exp_continue }
            -re "password:" { send "$pass\r" ; exp_continue }
          }
          posted @ 2021-01-18 11:35 一凡 閱讀(170) | 評論 (0)編輯 收藏
          主站蜘蛛池模板: 平远县| 茶陵县| 凤庆县| 余姚市| 奉新县| 略阳县| 贞丰县| 海宁市| 枣阳市| 景泰县| 东阿县| 福海县| 外汇| 友谊县| 安陆市| 随州市| 萨迦县| 墨脱县| 壤塘县| 体育| 朔州市| 彰化市| 丰原市| 云安县| 石门县| 衢州市| 金塔县| 海丰县| 沭阳县| 旬邑县| 三明市| 周至县| 额济纳旗| 香港 | 崇文区| 平遥县| 叙永县| 公主岭市| 乃东县| 商洛市| 嘉荫县|