This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 = '' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -------------------------------------------------- | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// / 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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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" | |
'-------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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 = "." |