Skip to content

Instantly share code, notes, and snippets.

View bitfede's full-sized avatar
🎯
Focusing

bitfede

🎯
Focusing
View GitHub Profile
@bitfede
bitfede / scripts.ps1
Last active October 7, 2024 15:29
powershell examples
# Check device compliance in Intune
$Devices = Get-IntuneManagedDevice
foreach ($Device in $Devices) {
if ($Device.DeviceComplianceState -ne 'Compliant') {
Write-Host "Device $($Device.DeviceName) is not compliant. Please review its status."
}
}
# -----------------------------------------------------------------
@bitfede
bitfede / readme.md
Created April 24, 2023 02:26
How to connect to the server

How to Connect & Operate AI Bots

  • open the terminal
  • enter the autogpt server directory with cd name-of-the-directory
  • use ls to make sure you are in the right directory. You should see a connect-script.sh file.
  • execute ./connect-script.sh to connect to the AWS server instance

If your terminal prompt changes and starts with ubuntu you are succesfully connected to the server!

To launch the AI autogpt system:

@bitfede
bitfede / accordion-snippet.html
Created January 21, 2021 08:37
simple and minimal accordion
<!-- A very simple and minimal accordion with icons and expand animations -->
<style>
/* Style the buttons to open and close the accordion panel */
.accordion {
background-color: #eee;
color: #444;
cursor: pointer;
padding: 18px;
width: 100%;