Skip to content

Instantly share code, notes, and snippets.

View TheMatt2's full-sized avatar

Matthew Schweiss TheMatt2

View GitHub Profile
'''
This was a project started by Alex that I am fixing some problems with. The logic itself is all Alex's.
Fix Autodesk CAM General LabVolt code to work with LabVolt M600 Mills
This probably requires some generalisation before it works with all setups
Code is heavily commented, but a basic knowledge of regex is required still
This is now less of a hack and an actual work around.
Current features:
@TheMatt2
TheMatt2 / check_platform.py
Last active October 31, 2018 02:24 — forked from zhreshold/check_platform.py
Check OS/Python and Cpu Info
"""Diagnose script for checking OS/hardware/python/pip/mxnet.
The output of this script can be a very good hint to issue/problem.
"""
import platform, subprocess, sys, os
def check_python():
print('----------Python Info----------')
print('Version : ' + platform.python_version())
print('Compiler : ' + platform.python_compiler())
print('Build : ' + ', '.join(platform.python_build()))
@TheMatt2
TheMatt2 / atom_shortcuts.md
Last active December 30, 2018 21:32 — forked from zhw12/gist:e2e9665fc446678c0fbfd11a025d15c6
Atom Editor Cheat Sheet
@TheMatt2
TheMatt2 / port-forwarding.py
Created June 13, 2019 21:05 — forked from neoatlantis/port-forwarding.py
port forwarding via python socket
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# TCP Port Forwarding via Socks5 Socket
# Original Author : WangYihang <wangyihanger@gmail.com> (for port forwarding)
# (As gist: <https://gist.github.com/WangYihang/e7d36b744557e4673d2157499f6c6b5e>)
# Changes : NeoAtlantis <aurichalka@gmail.com>
# (adapted to pySocks, argparse for CLI invokation, encryption, etc.)
import argparse