Skip to content

Instantly share code, notes, and snippets.

🤖
There's nothing like a 15 year old laptop & tunes!

Justin Grimes zelon88

🤖
There's nothing like a 15 year old laptop & tunes!
Block or report user

Report or block zelon88

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@zelon88
zelon88 / es.vbs
Created Nov 5, 2019
A VBS script to copy & preserve specified Event IDs (useful if you suspect someone is clearing Windows Security Logs)
View es.vbs
'Adapted from...
'https://stackoverflow.com/questions/21738159/extracting-error-logs-from-windows-event-viewer
Option Explicit
Dim LOG_FILE, strComputer, objWMIService, objFSO, objLogFile, objLogFile2, objEvent, colItems
'----------------------------------------
'----------------------------------------
'Declare global variables
LOG_FILE = "es.dat"
strComputer = "."
@zelon88
zelon88 / MasterSpreadsheeter.vbs
Created Sep 9, 2019
Helped out a Reddit user with some VBS...
View MasterSpreadsheeter.vbs
'COMPLETELY UNTESTED!!!
'Modified by Reddit/GH user @zelon88 on 9/4/2019
'Set global variables.
'--------------------
'Change the masterSpreadsheet variable to the absolute path of your master spreadsheet.
masterSpreadsheet = "C:\DIR TO FILE\FILE.xlsx"
'--------------------
@zelon88
zelon88 / Drag-Drop-Swap.js
Created Jun 12, 2019
Use Javascript & JQuery to drag-and-drop two div elements on a page to swap them.
View Drag-Drop-Swap.js
// / Created by https://codepen.io/cilestin/#
// / Found at https://codepen.io/cilestin/pen/ogQQBP on 6/11/2019
// / Modified by https://github.com/zelon88 on 6/11/2019
// / https://www.HonestRepair.net
// / Create a div container with the class="dragContainer" attribute set.
// / Then set the draggable=true attribute on all child divs for them to become swappable.
// ----------
// / Requires JQuery!
View Idea for LoadBalancing (HRAI2)
Idea for LoadBalancing (HRAI2)
https://www.HonestRepair.net
1. Setup server nodes on a network
2. Client nodes connect via browser.
3. Javascript code detects nearby devices. If other nearby devices are found they are networked together via Javascript.
4. Clients can also run a js file that will start a listener/transmitter without connecting to the server.
5. Client networks are held together as long as the JS is running on them.
6. Client networks can use the server JS file to connect to the server.
7. At least one client node needs to have a server connection for the client network to have access to Cloud data locally.
@zelon88
zelon88 / xPress_v1.3.7.py
Last active May 12, 2019
xPress File Compressor & Extractor - v1.3.7
View xPress_v1.3.7.py
# --------------------------------------------------
# xPress.py
# v1.3.7 - 5/12/2019
# Justin Grimes (@zelon88)
# https://github.com/zelon88/xPress
# https://www.HonestRepair.net
# Made on Windows 7 with Python 2.7.12
@zelon88
zelon88 / xPress.py
Last active Feb 17, 2019
xPress Compressor (learning experiment)
View xPress.py
# An experiment with reversible compression, only I have yet to figure out the reverse part. >D
# --------------------------------------------------
# COMPRESS & EXTRACT
# Load required modules and set global variables.
import sys, getopt, datetime, os, binascii, psutil, math, pickle
now = datetime.datetime.now()
time = now.strftime("%B %d, %Y, %H:%M")
inputFile = ''
inputPath = ''
View Accessibiity_Defender.vbs
Option Explicit
dim oShell, oFSO, dangerousExes, exe, cmdHardCodedHash, cmdDynamicHash, strComputerName, strUserName, strLogFilePath, strSafeDate, _
strSafeTime, strDateTime, strLogFileName, strEventInfo, objLogFile, cmdHashCache, objCmdHashCache, dangerHashCache, _
dangerHashData, mailFile, objDangerHashCache, oFile
Set oShell = WScript.CreateObject("WScript.Shell")
Set oFSO = CreateObject("Scripting.FileSystemObject")
dangerousExes = Array("Magnify.exe", "Narrator.exe", "osk.exe", "sapisvr.exe", "control.exe", "utilman.exe")
cmdHardCodedHash = "db 06 c3 53 49 64 e3 fc 79 d2 76 31 44 ba 53 74 2d 7f a2 50 ca 33 6f 4a 0f e7 24 b7 5a af f3 86"
@zelon88
zelon88 / PHP_Application_Template.php
Last active Jun 16, 2018
PHP Application Template
View PHP_Application_Template.php
<?php
// / Here are some starter functions and a solid format for developing a reliable PHP application.
$Salts = array('123', 'abc', '456', 'def');
$Verbose = TRUE;
function verifyDate() {
$Date = date("m-d-y");
$Time = date("F j, Y, g:i a");
$Minute = (int) date('i');
@zelon88
zelon88 / HRCloud2_v2496_Legacy_Shared_Files_Fixer.php
Last active Apr 15, 2018
Update for HRCloud2 Shared User Directories
View HRCloud2_v2496_Legacy_Shared_Files_Fixer.php
<!DOCTYPE html>
<html>
<head>
<title>HRCloud2 Legacy Shared Files Updater</title>
<?php
// / HRCloud2 v2.4.9.6 Legacy Shared Files updater.
// / This script replaces any legacy shared files on the server with symlinks.
// / Written on 4/15/2018
// / Justin Grimes, zelon88
// / https://github.com/zelon88, https://github.com/zelon88/HRCloud2
@zelon88
zelon88 / LAMP_Install_Instructions_DEBIAN.txt
Created Apr 7, 2018
Debian LAMP Server Install Instructions
View LAMP_Install_Instructions_DEBIAN.txt
A solid install process for a capable LAMP server, adapted from https://https://github.com/zelon88/HRCloud2/How-To-Install-HRCloud2.txt.
-----STEP 1 - INSTALL APACHE 2.4-----
-sudo apt-get update
-sudo apt-get install apache2
-sudo apt-get install curl
--------------------------------------------------
-----STEP 2 - INSTALL MYSQL------
-sudo apt-get install mysql-server
You can’t perform that action at this time.