Skip to content

Instantly share code, notes, and snippets.

View rommac100's full-sized avatar

Christopher Allan McCormick rommac100

View GitHub Profile
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>win10</name>
<uuid>(removed purposely)/uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit='KiB'>12582912</memory>
<currentMemory unit='KiB'>12582912</currentMemory>
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* 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 Free Software Foundation, either version 3 of the License, or
@rommac100
rommac100 / Configuration.h
Created November 13, 2020 06:36
skr v2 delta
/**
* Marlin 3D Printer Firmware
* Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
*
* Based on Sprinter and grbl.
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
*
* 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 Free Software Foundation, either version 3 of the License, or
@rommac100
rommac100 / config
Created July 19, 2018 19:02
i3 config
# This file has been auto-generated by i3-config-wizard(1).
# It will not be overwritten, so edit it as you like.
#
# Should you change your keyboard layout some time, delete
# this file and re-run i3-config-wizard(1).
#
# i3 config file (v4)
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
@rommac100
rommac100 / xorg.conf
Created July 19, 2018 18:58
Xorg conf for 3 monitors and separate xscreens for each monitor.
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 396.24 (builduser@felixonmars2) Wed May 9 20:37:28 CST 2018
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 390.67 (buildmeister@swio-display-x64-rhel04-18) Fri Jun 1 04:26:22 PDT 2018
Section "ServerLayout"
# Removed Option "Xinerama" "1"
Identifier "Layout0"
public void turnPIDTime(double degrees, double timeoutP, double speed, boolean reset)
{
double kp;
double ti;
double td;
if (PID_TURNING_TEMP[0] != 0 || PID_TURNING_TEMP[1] != 0 || PID_TURNING_TEMP[2] != 0)
{
kp = PID_TURNING_TEMP[0];
ti = PID_TURNING_TEMP[1];
@rommac100
rommac100 / gist:b5431c5b660bf68bf02f22595bad3ef4
Created December 5, 2017 02:44
AutoOptions with alliance member
package org.firstinspires.ftc.robotcontroller.internal;
import android.app.Activity;
import android.content.Context;
import android.content.SharedPreferences;
import android.media.MediaPlayer;
import android.os.Bundle;
import android.preference.EditTextPreference;
import android.preference.PreferenceManager;
import android.util.Log;
package org.firstinspires.ftc.teamcode;
import android.content.SharedPreferences;
import android.preference.PreferenceManager;
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;
import com.qualcomm.robotcore.util.Range;
/*
Copyright (c) 2016 Robert Atkinson
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted (subject to the limitations in the disclaimer below) provided that
the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
/*
Copyright (c) 2016 Robert Atkinson
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted (subject to the limitations in the disclaimer below) provided that
the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list