Skip to content

Instantly share code, notes, and snippets.

View Indemnity83's full-sized avatar
👋

Kyle Klaus Indemnity83

👋
View GitHub Profile
@Indemnity83
Indemnity83 / windex.bat
Created December 11, 2014 22:00
Windows Cleanup Script - Quickly free disk space on Windows desktops, servers and terminal servers
@echo off
REM Windx - Windows Cleanup Script
REM
REM This script is designed to, without mercy or user interaction, clear out
REM and clean up temporary files, application caches and known garbage to help
REM free up disk space and remove junk. Its usefull to run promptly before a
REM virus scan, or defragmentation to help speed up those processes.
REM
REM This program is free software: you can redistribute it and/or modify
@Indemnity83
Indemnity83 / restart.bat
Last active May 8, 2022 18:42
Windows Small Business Server Quick Restart/Shutdown Script
@echo off
REM SBS Quick Shutdown Script
REM
REM By: Kyle Klaus
REM Date: September 22, 2011
REM Version: 1.1
REM
REM One of the ways to speed up an SBS reboot is to shutdown certain
REM key services before clicking the Restart button on updates or when
@Indemnity83
Indemnity83 / modal.html
Last active April 9, 2020 23:29
Nginx Proxy Manager - Access List Modal Mockup
<div class="modal fade show" id="modal-dialog" tabindex="-1" role="dialog" data-backdrop="static" data-keyboard="false" style="display: block;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">New Access List</h5>
<button type="button" class="close cancel" aria-label="Close" data-dismiss="modal">&nbsp;</button>
</div>
<div class="modal-body has-tabs">
<form>
<ul class="nav nav-tabs" role="tablist">
[2018-11-10 01:30:13] local.ERROR: SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '' for column 'confirmed_at' at row 1 (SQL: insert into `signups` (`email`, `confirmed_at`, `invited_at`, `updated_at`, `created_at`) values (john@example.com, , , 2018-11-10 01:30:13, 2018-11-10 01:30:13)) {"userId":1,"email":"kklaus@indemnity83.com","exception":"[object] (Illuminate\\Database\\QueryException(code: 22007): SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '' for column 'confirmed_at' at row 1 (SQL: insert into `signups` (`email`, `confirmed_at`, `invited_at`, `updated_at`, `created_at`) values (john@example.com, , , 2018-11-10 01:30:13, 2018-11-10 01:30:13)) at /Users/kyleklaus/technicpack/saas/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664, Doctrine\\DBAL\\Driver\\PDOException(code: 22007): SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '' for column 'confirmed_at' at row 1 at /Users/kyleklaus/technicpack/saas/vendo
@Indemnity83
Indemnity83 / SOLDERIO_CLA
Last active February 1, 2018 06:10 — forked from CLAassistant/SAP_CLA
SAP Individual Contributor License Agreement
### SolderIO Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects (“Projects”) made available by SolderIO or its affiliates
(“SolderIO”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code,
bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of
authorship that you submit or have submitted, in any form and in any manner, to SolderIO in respect of any of the Projects (collectively
“Contributions”).
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this
ApiBuilds
[x] A guest can view a public build
[x] A guest can view an unlisted build
[x] A user can view a public build
[x] A user can view an unlisted build
[x] A user can view a private modpack
[x] A user can update a build
[x] It allows the existing version to be reused
[x] A user can delete a build
[x] It returns a 401 if a guest tries to get a private build
<style>#slideshow {
width: 230px;
height: 130px;
}
#slideshow > div {
position: absolute;
}</style>
{
"data": {
"type": "build",
"id": "cac555fe-0325-489c-b3ed-1dc63dcacc2f",
"attributes": {
"version": "1.0.0",
"published": false,
"tags": {
"minecraft": "1.7.10",
"forge": "10.13.4.1614",
@Indemnity83
Indemnity83 / crossFade_Blocking
Last active January 2, 2016 04:09
This Arduino function will fade from the current value of the RGB LED to the passed color over the given time-frame (in milliseconds) then returns (this function is blocking). Copyright 2014 Kyle Klaus This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Fre…
/* crossFade() will fade from the current value of the RGB
* LED to the passed color over the given time-frame (in
* milliseconds) then returns (this function is blocking).
*/
void crossFade(int pins[3], int color[3], int speed) {
// PWM Range, adjustable for differnt bit width units
int PWM = 1024;
// Get the starting colors as PWM values
int startColor[3];
@Indemnity83
Indemnity83 / Brothers Klaus Minecraft Wrenched Clock
Created October 18, 2013 03:03
This is the code from the Minecraft Wrenched clock. For more information check out this video: http://www.youtube.com/watch?v=2PamrMwCNlI
\\ BLOCK 1
\ Installer, just handy to have
: Install PAGE CR 0SP
." Loading Variables " 2 LOAD ." [DONE]" CR
." Compiling Digitizer " 3 LOAD ." [DONE]" CR
." Compiling LCD Display " 4 LOAD ." [DONE]" CR
." Compiling Tocks " 5 LOAD ." [DONE]" CR
." Compiling Ticks " 6 LOAD ." [DONE]" CR
." Registering Buttons " 7 LOAD ." [DONE]" CR
." Compiling Set " 8 LOAD ." [DONE]" CR