Skip to content

Instantly share code, notes, and snippets.

View seanvree's full-sized avatar
🔎

Sean Vreeland seanvree

🔎
View GitHub Profile
@seanvree
seanvree / openHardwareMon
Created February 18, 2018 13:00
openHardwareMon
Open Hardware Monitor Report
--------------------------------------------------------------------------------
Version: 0.8.0.3
--------------------------------------------------------------------------------
Common Language Runtime: 4.0.30319.42000
@seanvree
seanvree / drive.php
Created April 11, 2018 20:46
drive.php
<?php
// $df contains the number of bytes available on "/"
$df = disk_free_space("/");
// On Windows:
$df_c = disk_free_space("C:");
$df_d = disk_free_space("Z:");
echo "df: " . $df;
echo "<br>";
@seanvree
seanvree / drives.php
Created April 11, 2018 21:02
drives.php
<?php
$fso = new COM('Scripting.FileSystemObject');
$D = $fso->Drives;
$type = array("Unknown","Removable","Fixed","Network","CD-ROM","RAM Disk");
foreach($D as $d ){
$dO = $fso->GetDrive($d);
$s = "";
if($dO->DriveType == 3){
$n = $dO->Sharename;
}else if($dO->IsReady){
@seanvree
seanvree / phpinfo2.php
Created April 15, 2018 20:58
phpinfo2.php
<link rel="stylesheet" href="../css/main.css">
<style type="text/css">
a {
color: black;
}
#phpinfo {
@seanvree
seanvree / main.css
Created April 15, 2018 21:19
main.css
/*
Monitorr CSS file
https://github.com/Monitorr/Monitorr
*/
/* @import url(https://fonts.googleapis.com/css?family=Roboto:400); */
@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
body {
opacity: 1;
@seanvree
seanvree / check.php
Created May 31, 2018 14:04
check.php
<?php
/// MONITORR ///
// https://github.com/monitorr/Monitorr
/**
* This script uses CURL to check if given HOST is serving a webpage.
* If CURL fails, use a PING (pfsockopen) function to check if anything is listening at given URL
@seanvree
seanvree / check.php
Created June 2, 2018 06:29
check.php
<?php
/// MONITORR ///
// https://github.com/monitorr/Monitorr
/**
* This script uses CURL to check if given HOST is serving a webpage.
* If CURL fails, use a PING (pfsockopen) function to check if anything is listening at given URL
@seanvree
seanvree / check.php
Last active June 3, 2018 04:36
chec.php
<?php
/// MONITORR ///
// https://github.com/monitorr/Monitorr
/**
* This script uses CURL to check if given HOST is serving a webpage.
* If CURL fails, use a PING (pfsockopen) function to check if anything is listening at given URL
@seanvree
seanvree / logarr.main.js
Created June 5, 2018 20:32
logarr.main.js
// Logarr main JS script
// https://github.com/Monitorr
// Set styles for BlockUI overlays in /assets/js/jquery.blockUI.js
function refreshblockUI() {
$.growlUI('Updating logs...');
setTimeout(function () {
refresh();
@seanvree
seanvree / index.php
Created June 5, 2018 20:33
index.php
<!DOCTYPE html>
<html lang="en">
<!--
LOGARR
by @seanvree, @wjbeckett, and @jonfinley
https://github.com/Monitorr
-->
<head>