View t4clockspeed.ino
This file contains 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
/* | |
* Clock speed changes | |
* Lifted from: | |
* https://forum.pjrc.com/threads/57444-How-to-change-clock-speed-on-Teensy-4-0?p=214257&viewfull=1#post214257 | |
*/ | |
#if defined(__IMXRT1062__) | |
extern "C" uint32_t set_arm_clock(uint32_t frequency); | |
#endif |
View hooky.py
This file contains 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
#!/usr/bin/python3 | |
__author__="Kamilion@gmail.com" | |
import simpleeval | |
import apt | |
import readline | |
import os | |
import atexit |
View reobj.py
This file contains 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
__author__ = 'Kamilion@gmail.com' | |
######################################################################################################################## | |
## Imports | |
######################################################################################################################## | |
# We should do logging, right? | |
import logging | |
# Flask imports | |
#from flask import g |
View putty_COM13.log
This file contains 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
=> mmc info | |
Device: mmc@1c0f000 | |
Manufacturer ID: 1b | |
OEM: 534d | |
Name: BB1QT | |
Bus Speed: 50000000 | |
Mode: SD High Speed (50MHz) | |
Rd Block Len: 512 | |
SD version 3.0 |
View T4Clockspeed.ino
This file contains 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
/* | |
* Clock speed changes | |
* Lifted from: | |
* https://forum.pjrc.com/threads/57444-How-to-change-clock-speed-on-Teensy-4-0?p=214257&viewfull=1#post214257 | |
*/ | |
#if defined(__IMXRT1062__) | |
extern "C" uint32_t set_arm_clock(uint32_t frequency); | |
#endif |
View signal.py
This file contains 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
import ffilib | |
# Full linux signal list: | |
#Spec - Default Action - Description | |
#SIG_DFL = 0 | |
#SIG_IGN = 1 | |
#SIGHUP = 1 # P1990 - Terminate - Hangup detected on controlling terminal or death of controlling process | |
#SIGINT = 2 # P1990 - Terminate - Interrupt from keyboard | |
#SIGQUIT = 3 # P1990 - Core dump - Quit from keyboard | |
#SIGILL = 4 # P1990 - Core dump - Illegal Instruction |
View __init__.py
This file contains 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
import os | |
# Automatically set the __all__ variable with all | |
# the available plugins. | |
plugin_dir = "plugins" | |
__all__ = [] | |
for filename in os.listdir(plugin_dir): | |
filename = plugin_dir + "/" + filename |
View example.customizer.hook.sh
This file contains 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
#!/bin/bash | |
echo "HOOK: Updating package lists..." | |
apt update | |
apt list --upgradable | |
echo "HOOK: Enabling squid-deb-proxy-client for local network..." | |
apt install squid-deb-proxy-client -y | |
echo "HOOK: Installing git." | |
apt-get install -y --no-install-recommends git |
View krb5.conf
This file contains 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
[libdefaults] | |
default_realm = USERS.SLLABS.COM | |
# The following krb5.conf variables are only for MIT Kerberos. | |
kdc_timesync = 1 | |
ccache_type = 4 | |
forwardable = true | |
proxiable = true | |
# The following encryption type specification will be used by MIT Kerberos |
View apt-avahi-discover.py
This file contains 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
#!/usr/bin/python | |
# | |
# use avahi to find a _apt_proxy._tcp provider and return | |
# a http proxy string suitable for apt | |
import asyncore | |
import functools | |
import os | |
import socket | |
import sys |
NewerOlder