diff --git a/config/_default/params.yaml b/config/_default/params.yaml index 4d54dd6e..7acb46a6 100644 --- a/config/_default/params.yaml +++ b/config/_default/params.yaml @@ -56,7 +56,7 @@ googleAdsense: # readingTime: false # Whether to display the reading time. # postDate: false # Whether to display the post date in the post meta section. - +carouselPostCount: 6 # featuredPostCount: 10 # The number of featured posts shown in sidebar. Turn off by setting it to false. # recentPostCount: 10 # The number of recent posts shown in sidebar. Turn off by setting it to false. # relatedPostCount: 10 # The number of related posts. Turn off by setting it to false. diff --git a/content/docs/Scripting/Justfile.md b/content/docs/Scripting/Justfile.md index 014bf8b4..41ad0d52 100644 --- a/content/docs/Scripting/Justfile.md +++ b/content/docs/Scripting/Justfile.md @@ -27,6 +27,17 @@ publish: rm -rf {{tarball}} {{tardir}} ``` +This one can be really usefull to define a default value which can be redefine with env variable: + +```bash +# in terminal: +export REPOSITORY=gitlab.com + +# in justfile +REPOSITORY := env_var_or_default('REPOSITORY', "github.com") +``` + + ## Sources diff --git a/content/docs/Scripting/Powershell/mysql.md b/content/docs/Scripting/Powershell/mysql.md index 659c9482..aa83c60c 100644 --- a/content/docs/Scripting/Powershell/mysql.md +++ b/content/docs/Scripting/Powershell/mysql.md @@ -1,6 +1,6 @@ --- date: 2023-08-01T21:00:00+08:00 -title: Parsing +title: Mysql navWeight: 90 # Upper weight gets higher precedence, optional. series: - Powershell diff --git a/content/news/orientdb/index.md b/content/news/orientdb/index.md index c3817873..9980e593 100644 --- a/content/news/orientdb/index.md +++ b/content/news/orientdb/index.md @@ -107,6 +107,27 @@ if [ -z "$JAVA_OPTS_SCRIPT" ] ; then fi ``` +So you can get in ${ORIENTDB_HOME}/logs/orient-server.log.0 : + +```log +******************************************************************************************************************************************* +PROFILER AUTO DUMP 'full' OUTPUT (to disabled it set 'profiler.autoDump.interval' = 0): +OrientDB Memory profiler: HEAP=674.70MB of 7.67GB - DISKCACHE (1 dbs)=2.88MB of 12.11GB - OS=5.43GB of 23.28GB - FS=48.91GB of 49.98GB +******************************************************************************************************************************************* +``` + +* Activate JMX inside `${ORIENTDB_HOME}/config/orientdb-server-config.xml` make the metrics available in the dashboard. + +```xml + + + + + + + +``` + * inside `${ORIENTDB_HOME}/config/profiler.json` ```json @@ -127,12 +148,12 @@ fi "domain": "Test" }, "console": { - "enabled": false, - "interval": 5000 + "enabled": true, + "interval": 60 }, "csv": { - "enabled": false, - "directory": "/tmp/orientdb-server-metrics.csv", + "enabled": true, + "directory": "/tmp/metrics", "interval": 5000 }, "prometheus": { @@ -144,8 +165,11 @@ fi ## Other resources consumptions -* openfiles on systems +* openfiles on systems: `lsof -u orientdb | wc -l` -```bash -lsof -u orientdb | wc -l -``` +* Memory usage: `top -o %MEM -c` + + +## Securing + +https://www.digitalocean.com/community/tutorials/how-to-secure-your-orientdb-database-on-ubuntu-16-04 \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 04f3075a..11e0f01b 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -636,9 +636,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001557", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001557.tgz", - "integrity": "sha512-91oR7hLNUP3gG6MLU+n96em322a8Xzes8wWdBKhLgUoiJsAF5irZnxSUCbc+qUZXNnPCfUwLOi9ZCZpkvjQajw==", + "version": "1.0.30001558", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001558.tgz", + "integrity": "sha512-/Et7DwLqpjS47JPEcz6VnxU9PwcIdVi0ciLXRWBQdj1XFye68pSQYpV0QtPTfUKWuOaEig+/Vez2l74eDc1tPQ==", "funding": [ { "type": "opencollective", diff --git a/node_modules/caniuse-lite/data/features/css-nesting.js b/node_modules/caniuse-lite/data/features/css-nesting.js index bf0374e8..dcc2c939 100644 --- a/node_modules/caniuse-lite/data/features/css-nesting.js +++ b/node_modules/caniuse-lite/data/features/css-nesting.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"J E F G A B PC"},B:{"2":"C K L H M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v","194":"w x y","516":"0 1 2 3 4 z D"},C:{"1":"4 D 7B 8B 9B","2":"0 1 5 6 7 8 9 QC 3B I J E F G A B C K L H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z RC SC","322":"2 3"},D:{"2":"5 6 7 8 9 I J E F G A B C K L H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v","194":"w x y","516":"0 1 2 3 4 z D 7B 8B 9B"},E:{"1":"bC","2":"5 I J E F G A B C K L H TC AC UC VC WC XC BC yB zB CC YC ZC DC EC 0B aC 1B FC GC HC IC","516":"JC KC 2B LC MC"},F:{"2":"6 7 8 9 G B C H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d cC dC eC fC yB NC gC zB","194":"e f g","516":"h i j k l m"},G:{"2":"F AC hC OC iC jC kC lC mC nC oC pC qC rC sC tC uC vC wC xC yC zC 0C DC EC 0B 1C 1B FC GC HC IC","516":"JC KC 2B LC MC"},H:{"2":"2C"},I:{"2":"3B I 3C 4C 5C 6C OC 7C 8C","516":"D"},J:{"2":"E A"},K:{"2":"A B C q yB NC zB"},L:{"516":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"2":"0B"},P:{"2":"I n o p 9C AD BD CD DD BC ED FD GD HD ID 1B 2B JD KD"},Q:{"2":"CC"},R:{"2":"LD"},S:{"2":"MD ND"}},B:5,C:"CSS Nesting",D:true}; +module.exports={A:{A:{"2":"J E F G A B PC"},B:{"2":"C K L H M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v","194":"w x y","516":"0 1 2 3 4 z D"},C:{"1":"4 D 7B 8B 9B","2":"0 1 5 6 7 8 9 QC 3B I J E F G A B C K L H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z RC SC","322":"2 3"},D:{"1":"8B 9B","2":"5 6 7 8 9 I J E F G A B C K L H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v","194":"w x y","516":"0 1 2 3 4 z D 7B"},E:{"1":"MC bC","2":"5 I J E F G A B C K L H TC AC UC VC WC XC BC yB zB CC YC ZC DC EC 0B aC 1B FC GC HC IC","516":"JC KC 2B LC"},F:{"2":"6 7 8 9 G B C H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d cC dC eC fC yB NC gC zB","194":"e f g","516":"h i j k l m"},G:{"1":"MC","2":"F AC hC OC iC jC kC lC mC nC oC pC qC rC sC tC uC vC wC xC yC zC 0C DC EC 0B 1C 1B FC GC HC IC","516":"JC KC 2B LC"},H:{"2":"2C"},I:{"2":"3B I 3C 4C 5C 6C OC 7C 8C","516":"D"},J:{"2":"E A"},K:{"2":"A B C q yB NC zB"},L:{"516":"D"},M:{"1":"D"},N:{"2":"A B"},O:{"2":"0B"},P:{"2":"I n o p 9C AD BD CD DD BC ED FD GD HD ID 1B 2B JD KD"},Q:{"2":"CC"},R:{"2":"LD"},S:{"2":"MD ND"}},B:5,C:"CSS Nesting",D:true}; diff --git a/node_modules/caniuse-lite/data/features/fullscreen.js b/node_modules/caniuse-lite/data/features/fullscreen.js index bff6b4fa..f3379d8c 100644 --- a/node_modules/caniuse-lite/data/features/fullscreen.js +++ b/node_modules/caniuse-lite/data/features/fullscreen.js @@ -1 +1 @@ -module.exports={A:{A:{"2":"J E F G A PC","548":"B"},B:{"1":"0 1 2 3 4 P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z D","516":"C K L H M N O"},C:{"1":"0 1 2 3 4 kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z D 7B 8B 9B","2":"5 QC 3B I J E F G RC SC","676":"6 7 8 9 A B C K L H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB","1700":"VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB"},D:{"1":"0 1 2 3 4 rB sB q tB uB vB wB xB P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z D 7B 8B 9B","2":"5 I J E F G A B C K L","676":"6 H M N O","804":"7 8 9 n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB kB lB mB nB oB pB qB"},E:{"1":"IC JC KC 2B LC MC bC","2":"5 I TC AC","548":"EC 0B aC 1B FC GC HC","676":"UC","804":"J E F G A B C K L H VC WC XC BC yB zB CC YC ZC DC"},F:{"1":"kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d e f g h i j k l m zB","2":"G B C cC dC eC fC yB NC gC","804":"6 7 8 9 H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{"2":"F AC hC OC iC jC kC lC mC nC oC pC qC rC","2052":"sC tC uC vC wC xC yC zC 0C DC EC 0B 1C 1B FC GC HC IC JC KC 2B LC MC"},H:{"2":"2C"},I:{"2":"3B I D 3C 4C 5C 6C OC 7C 8C"},J:{"2":"E","292":"A"},K:{"1":"q","2":"A B C yB NC zB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A","548":"B"},O:{"1":"0B"},P:{"1":"n o p BC ED FD GD HD ID 1B 2B JD KD","804":"I 9C AD BD CD DD"},Q:{"1":"CC"},R:{"1":"LD"},S:{"1":"MD ND"}},B:1,C:"Full Screen API",D:true}; +module.exports={A:{A:{"2":"J E F G A PC","548":"B"},B:{"1":"0 1 2 3 4 P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z D","516":"C K L H M N O"},C:{"1":"0 1 2 3 4 kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z D 7B 8B 9B","2":"5 QC 3B I J E F G RC SC","676":"6 7 8 9 A B C K L H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB","1700":"VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB"},D:{"1":"0 1 2 3 4 rB sB q tB uB vB wB xB P Q R S T U V W X Y Z a b c d e f g h i j k l m r s t u v w x y z D 7B 8B 9B","2":"5 I J E F G A B C K L","676":"6 H M N O","804":"7 8 9 n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB 4B hB 5B iB jB kB lB mB nB oB pB qB"},E:{"1":"IC JC KC 2B LC MC bC","2":"5 I TC AC","548":"EC 0B aC 1B FC GC HC","676":"UC","804":"J E F G A B C K L H VC WC XC BC yB zB CC YC ZC DC"},F:{"1":"kB lB mB nB oB pB qB rB sB q tB uB vB wB xB P Q R 6B S T U V W X Y Z a b c d e f g h i j k l m zB","2":"G B C cC dC eC fC yB NC gC","804":"6 7 8 9 H M N O n o p AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB"},G:{"1":"MC","2":"F AC hC OC iC jC kC lC mC nC oC pC qC rC","2052":"sC tC uC vC wC xC yC zC 0C DC EC 0B 1C 1B FC GC HC IC JC KC 2B LC"},H:{"2":"2C"},I:{"2":"3B I D 3C 4C 5C 6C OC 7C 8C"},J:{"2":"E","292":"A"},K:{"1":"q","2":"A B C yB NC zB"},L:{"1":"D"},M:{"1":"D"},N:{"2":"A","548":"B"},O:{"1":"0B"},P:{"1":"n o p BC ED FD GD HD ID 1B 2B JD KD","804":"I 9C AD BD CD DD"},Q:{"1":"CC"},R:{"1":"LD"},S:{"1":"MD ND"}},B:1,C:"Full Screen API",D:true}; diff --git a/node_modules/caniuse-lite/package.json b/node_modules/caniuse-lite/package.json index 82a75133..3d057c22 100644 --- a/node_modules/caniuse-lite/package.json +++ b/node_modules/caniuse-lite/package.json @@ -1,6 +1,6 @@ { "name": "caniuse-lite", - "version": "1.0.30001557", + "version": "1.0.30001558", "description": "A smaller version of caniuse-db, with only the essentials!", "main": "dist/unpacker/index.js", "files": [ diff --git a/package-lock.json b/package-lock.json index 3fd9fc50..c46f615a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -671,9 +671,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001557", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001557.tgz", - "integrity": "sha512-91oR7hLNUP3gG6MLU+n96em322a8Xzes8wWdBKhLgUoiJsAF5irZnxSUCbc+qUZXNnPCfUwLOi9ZCZpkvjQajw==", + "version": "1.0.30001558", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001558.tgz", + "integrity": "sha512-/Et7DwLqpjS47JPEcz6VnxU9PwcIdVi0ciLXRWBQdj1XFye68pSQYpV0QtPTfUKWuOaEig+/Vez2l74eDc1tPQ==", "funding": [ { "type": "opencollective", @@ -3586,9 +3586,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001557", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001557.tgz", - "integrity": "sha512-91oR7hLNUP3gG6MLU+n96em322a8Xzes8wWdBKhLgUoiJsAF5irZnxSUCbc+qUZXNnPCfUwLOi9ZCZpkvjQajw==" + "version": "1.0.30001558", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001558.tgz", + "integrity": "sha512-/Et7DwLqpjS47JPEcz6VnxU9PwcIdVi0ciLXRWBQdj1XFye68pSQYpV0QtPTfUKWuOaEig+/Vez2l74eDc1tPQ==" }, "character-entities": { "version": "2.0.2", diff --git a/themes/hugo-theme-bootstrap b/themes/hugo-theme-bootstrap index 32f30dec..6067920a 160000 --- a/themes/hugo-theme-bootstrap +++ b/themes/hugo-theme-bootstrap @@ -1 +1 @@ -Subproject commit 32f30decac4ab1322041c0ff9817628c2980e2ee +Subproject commit 6067920ac88b7f9bea6971399231d022226a659c