- Sleeper
- Wind Up
- Forward Pass
- Breakaway
- Around the World
- Robin Hood
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
PS C:\Windows\system32> python -V | |
Python 3.8.0 | |
PS C:\Windows\system32> python -m nmigen_yosys -V | |
Traceback (most recent call last): | |
File "C:\Program Files\Python38\lib\runpy.py", line 192, in _run_module_as_main | |
return _run_code(code, main_globals, None, | |
File "C:\Program Files\Python38\lib\runpy.py", line 85, in _run_code | |
exec(code, run_globals) | |
File "C:\Program Files\Python38\lib\site-packages\nmigen_yosys\__main__.py", line 23, in <module> | |
yosys = linker.instantiate(wasmtime.Module(store, |
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
# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/ | |
# core | |
brew install coreutils | |
# key commands | |
brew install binutils | |
brew install diffutils | |
brew install ed --default-names | |
brew install findutils --with-default-names |
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
import json, time | |
import groupy | |
import groupy.object | |
from twisted.internet.protocol import ReconnectingClientFactory | |
from autobahn.twisted.websocket import WebSocketClientFactory, connectWS | |
from autobahn.twisted.websocket import WebSocketClientProtocol | |
class GroupMeBot(WebSocketClientProtocol): | |
"""Client class for GroupMe push client |
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
import java.util.TimerTask; | |
import edu.wpi.first.wpilibj.I2C; | |
import edu.wpi.first.wpilibj.Timer; | |
import edu.wpi.first.wpilibj.I2C.Port; | |
import edu.wpi.first.wpilibj.PIDSource; | |
public class LIDAR implements PIDSource{ | |
private I2C i2c; | |
private byte[] distance; | |
private java.util.Timer updater; |
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
package driver; | |
import edu.wpi.first.wpilibj.Counter; | |
import edu.wpi.first.wpilibj.DigitalInput; | |
/** | |
* | |
* @author matthew | |
*/ | |
public class IMU { |
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
import re | |
def findall(src, key): | |
'''Returns list of all instances of a key item in src list''' | |
return [m.start() for m in re.finditer(key, src)] | |
def insert(original, new, pos): | |
'''Inserts new inside original at pos.''' | |
return original[:pos] + new + original[pos:] |
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
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait |
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
''' | |
Copyright (C) 2012 Matthew Skolaut | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
associated documentation files (the "Software"), to deal in the Software without restriction, | |
including without limitation the rights to use, copy, modify, merge, publish, distribute, | |
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial |
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
''' | |
Copyright (C) 2012 Matthew Skolaut | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | |
associated documentation files (the "Software"), to deal in the Software without restriction, | |
including without limitation the rights to use, copy, modify, merge, publish, distribute, | |
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial |