- 21
- 72 790
Programming Stuff
Приєднався 14 лют 2021
Відео
Octree in action demo #2
Переглядів 212 місяці тому
Octree in action • Track Title: Fearless • Available at: • Royalty Free Diss Track Trap Beat | R... • Beat by Chris Hayes Music
How to show CPU temperature in Proxmox
Переглядів 8 тис.8 місяців тому
*I'm using Proxmox version 7, Intel Xeon CPU, please check the comments if it's not working for you* *Please back up files before editing!!* apt-get install lm-sensors vim /usr/share/perl5/PVE/API2/Nodes.pm search for: version_text vim /usr/share/pve-manager/js/pvemanagerlib.js search for: PVE Manager Version Add code systemctl restart pveproxy Code at: pastebin.com/t7FiFquT
Linking libuv and running a libuv timer
Переглядів 40Рік тому
Audio credit: AFTERTUNE - Aftertune - Maldives
Setup CMake subfolders project with a custom library
Переглядів 28Рік тому
Setup CMake subfolders project with a custom library
How to resize VM's disk in Proxmox
Переглядів 17 тис.Рік тому
Audio: AFTERTUNE - Aftertune - Maldives (Remake) 100 BPM E minor
Fix Proxmox snapshot rollback on ZFS
Переглядів 4632 роки тому
Audio credit: AFTERTUNE - Aftertune - Outrun (Original Mix)
Delete Local LVM and resize storage in Proxmox
Переглядів 28 тис.2 роки тому
Audio credit: Audiorezout - 03.Detective.mp3
pfSense DNS forwarding to Pi-hole
Переглядів 3,8 тис.2 роки тому
Set up DNS forwarding in pfSense to Pi-hole for custom domains. Pi-hole can serve as a DNS server for a specific domain while other requests get routed to the public DNS. Audio credit: Future Awaits Us [Original Mix] - Aftertune
Load files using PhysFS
Переглядів 2233 роки тому
How to load a file from a PhysFS-mounted package file.
Compile LibUV on Windows with MSVC
Переглядів 7023 роки тому
LibUV is a cross-platform library for event-driven IO.
Verify digital signature, signed by PHP and OpenSSL using C++ and Crypto++.
Переглядів 2,8 тис.3 роки тому
Signing a message in a PHP application and verifying it in a client C application using Crypto library. How digital signature works: 1. server generates the public and the private key 2. server sends a message 3. alongside the message, the server sends the message hash encrypted using the private key (this is called a digital signature) 4. the client receives the message and the signature 5. th...
RSA encryption decryption with Crypto++ using OpenSSL keys
Переглядів 6363 роки тому
RSA encryption decryption with Crypto using OpenSSL keys
Crypto++ AES encryption and decryption
Переглядів 6 тис.3 роки тому
How to encrypt and decrypt with AES using Crypto .
Link Crypto++ and implement hex and base64 encoding
Переглядів 1933 роки тому
Link Crypto and implement hex and base64 encoding
Compile Crypto++ with PEM pack on Windows with MSVC
Переглядів 1,1 тис.3 роки тому
Compile Crypto with PEM pack on Windows with MSVC
Compiling tmx lib, zlib, libxml2 on WIndows with MSVC
Переглядів 2,6 тис.3 роки тому
Compiling tmx lib, zlib, libxml2 on WIndows with MSVC
Compiling and setting up SDL on Windows in 2020 with MSVC
Переглядів 183 роки тому
Compiling and setting up SDL on Windows in 2020 with MSVC
Thanks, I worked perfectly on PVE 8.2.4. Note: in the third step search for "pveversion".
It was the best tutorial video of my whole life i think :D. Ty!
works in 8.2.4, just search "Manager Version" and paste under that but before the ],
This is awesome and I got it working perfectly. How can I alter this so it converts and shows the temperature in F?
Worked like a charm on 8.2.4 , thanks for the info, code and tutorial.
Thank you so much! was struggling with this in PVE
not working in PVE 8.2.2
That did not work. It made my Proxmox 8.2.4 page blank. Thanks GOD I made copy and edited the files with WinSCP, I just had my doubts, when typed in the command "systemctl restart pveproxy" it lost connection on shell, but not on WinSCP. Deleted the modifieds files and renamed the BAKs ones, JESUS! what a relief. NOT GO!
It works for me just make sure you add the colon at the end of the 2nd code. Should look like this: return str; } }, ]
Thanks a lot. It is perfect...
not working 8.2.4
Thanks. It is very helpful.
thank you worked perfectly. Just like the pinned comment you have to search for "manager version". Also used nano insted of vim
Thank you very much
thanks!
Thanks buddy but i ended up with this ``` { itemId: 'thermal', colspan: 2, printBar: false, title: gettext('Thermal State'), textField: 'thermalstate', renderer: function (value) { const sensorData = JSON.parse(value); const str = '' Object.entries(sensorData).map(([name, sensorData]) => { Object.entries(sensorData).map(([subKey, value]) => { const isAdapter = subKey === "Adapter"; if (isAdapter) { str += ` ${value} (${name}) <br />` } else { const coreData = { input: NaN, max: 90, } for (const [metric, metricValue] of Object.entries(value)) { const newMetricName = metric.replace(/temp\d+_/, ''); // Remove "tempX_" prefix coreData[newMetricName] = metricValue; } if (subKey.includes("Core") && coreData?.input < coreData?.max) { return } str += ` ${coreData?.input}°C ${coreData?.input >= coreData?.max ? 'too hot' : coreData?.input >= 50 ? 'hot' : ''} -> ${subKey} <br />` } }) }) return str; } } ```
This video was amazing, fixed my issue! Thanks.
Perfect! Works like a charme (PVE 8.2.2) Only difference: instead of searching for "PVE Manager Version" in 8.2.2 just "Manager Version".
I love you for this lol. WHY couldn't they just make this the default and then you can manually split stuff up if you wanted. Now I can finally go to bed, thank you!
Thanks, quick and easy!
Many thanks!
Niiiiice! Just what I needed. Thanks
Found this video today. Straight to the point. Fixed my problem. Awesome. More of these plz.
Thanks! And howto move the local to another disk? My Proxmox is on a SSD. I want to move it to a nvme
?can someone show me the original manager version so i can revert back
very useful, thank you
Thank you, helped alot
thank you so much , i have a questions ,can i use this to decrease disk for a vm ?
thanks!!!
Thankyou so much: you are a life saver
Really cool hack, simple and effective! Thanks for sharing I wonder if this can break upgrades somehow because you changed the web GUI files manually? If it just gets overwritten by a newer version it's not a big deal (can just redo the hack), but can it cause an upgrade to fail completely?
I highly doubt it will break. It usually just overwrites directories with new ones. I tried editing another program and the only time it broke was when I tampered with Javascript files to edit the core function of the program and it broke only because they had a SRI Token that validates file structure. Meaning if it didn't immediately break then I'm confident the edit won't break the program nor the upgrade.
My is showing this way "CPU Thermal State 28 27 27 27 28 26 26 undefined undefined undefined undefined undefined undefined undefined °C". I have a E5-2680v4 14 cores
How to fix this?
renderer: function(value) { try { let objValue = JSON.parse(value); let cores = objValue["coretemp-isa-0000"]; let items = Object.keys(cores).filter(item => item.startsWith("Core")); let str = ''; items.forEach(item => { let coreTemps = Object.keys(cores[item]); let tempInputKey = coreTemps.find(key => key.includes("_input")); let temp = cores[item][tempInputKey]; if (temp !== undefined) { str += temp + ' '; } }); str += '°C'; return str; } catch (error) { return 'Error'; } } Solved!
@@nguyenducquynh8392 Works beautifully!
@@nguyenducquynh8392 I tried but did not work.. senosrs -j shows "coretemp-isa-0000":{ "Adapter": "ISA adapter", "Package id 0":{ "temp1_input": 37.000, "temp1_max": 100.000, "temp1_crit": 100.000, "temp1_crit_alarm": 0.000 }, "Core 0":{ "temp2_input": 32.000, "temp2_max": 100.000, "temp2_crit": 100.000, "temp2_crit_alarm": 0.000 }, for cores 0,4,8,12,16,17,18,19,20,21,22,23 This is how they are numbered) I get this on screen 30 undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined undefined C Looks like only the first temp is showing
I also had the same problem and I solved it. Try this //begin of code { itemId: 'thermal', colspan: 2, printBar: false, title: gettext('CPU Thermal State'), textField: 'thermalstate', renderer:function(value){ let objValue = JSON.parse(value); let cores = objValue["coretemp-isa-0000"]; let items = Object.keys(cores).filter(item => /Core/.test(item)); let str = ''; items.forEach((core) => { let tempKey = Object.keys(cores[core]).filter(key => key.includes('temp'))[0]; str += cores[core][tempKey] + ' °C '; }); return str.trim(); } } //end of the code
thanks hero
sick, it works! Make sure you search for pveversion in the second .js file. dump cache and there it is! thanks programming stuff!
Works like a charm!
Doesn't work for me on Proxmox v8. Was anyone successful with latest Proxmox version?
yes
The easy way copy rescuezilla.iso . Change to boot the vm from rescuezilla iso (CD). Use gparted to modify the vm size. No Linux commands
bravo
Thanks a lot for this video, its help me very much.
This worked really well for me the 2nd time. First time I typed 1 character wrong and it blew up my webgui 😅 Was able to correct it though and got all the core temps to display
Will this delete my VMs that exist?
Perfect! Works like a charme (PVE 8.1) Only difference: instead of searching for "PVE Manager Version" in 8.1 just "Manager Version" must be used. Or "pveversion".
And in the attached 2nd code there is a comma missing after the last closing }: it must be },
pve 8.2.2 work with 'Manager Version', thanks~
Sorry, but this isn't working for me. Now, my summary is just loading continuously.
Nice video! I'm not certain, but it seems I only have one local storage, and it's of the directory type. I'm unable to create an LVM storage because it says there is no free space, even though the local directory has 3TB available. Any suggestions?
Really helpful thanks!
8.1.4 👌 Работает ! Good
Tava a 2horas tentando resolver com o ChatGPT e com tutoriais, e vc me ajudou em 2 minutos, mto obrigado
Thank you hero
Excellent tutorial, thank you so much!
I wish all the tutorials I watch were like this. Came here looking for a solution and found it. Its been giving me issues for around 2 weeks. Solved in 2 minutes. Great video!
Solved: Find "pveversion"