| pin | I/O | label | description | remark |
|---|---|---|---|---|
| 1 | - | GND | ground | |
| 2 | I/O | I2CSCL | I²C clock | (pulled up by camera) |
| 3 | I/O | I2CSDA | I²C data | (pulled up by camera) |
| 4 | - | GND | ground | |
| 5 | I | BATTIN | battery input | |
| 6 | I | BATTIN | battery input | |
| 7 | O | 3V8OUT | unregulated power out 3.8V | 0V when camera is off. |
| 8 | O | 3V8STBY | unregulated power out 3.8V | always keep 3.8V unless battery is out. |
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
| ^\d*:\s* | |
| 1: #version 460 | |
| 2: #extension GL_EXT_nonuniform_qualifier : enable | |
| 3: #extension GL_GOOGLE_include_directive : enable | |
| 4: | |
| 5: | |
| 6: uniform sampler2D sTDNoiseMap; | |
| 7: uniform sampler1D sTDSineLookup; |
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
| #!/usr/bin/env python | |
| # stdlib imports | |
| import os | |
| #other imports | |
| import numpy as np | |
| import scipy.misc | |
| import matplotlib.pyplot as plt |
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
| @Echo off | |
| IF "%~nx1" == "" GOTO NOdrag | |
| SET FOLDER=%~d1%~p1%~n1 | |
| MD %FOLDER%_temp | |
| ECHO Extracting %~n1 ... | |
| %~f1 /extract "%FOLDER%_temp" | |
| ECHO Done. | |
| ECHO Extracted %~nx1 to %FOLDER%_temp\ | |
| ECHO Delete Useless files... | |
| DEL /Q %FOLDER%_temp\* |
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
| #/bin/sh | |
| ffmpeg -i input -c:v libx264 -preset slow -profile:v high -crf 18 -coder 1 -pix_fmt yuv420p -movflags +faststart -g 30 -bf 2 -c:a aac -b:a 384k -profile:a aac_low output |
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
| #version 330 | |
| #extension GL_NV_gpu_shader5 : enable | |
| #extension GL_NV_bindless_texture : enable | |
| #extension GL_ARB_shading_language_include : enable | |
| /** BEGIN TD COMMON UTIL UNIFORMS Garbagesdmwk7**/ | |
| uniform sampler2D sTDNoiseMap; | |
| uniform sampler1D sTDSineLookup; | |
| uniform sampler2D sTDWhite2D; | |
| uniform sampler3D sTDWhite3D; | |
| uniform sampler2DArray sTDWhite2DArray; |
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
| @Echo off | |
| set "inkscapePath=C:\Program Files\Inkscape\inkscape.exe" | |
| set /a count=0 | |
| set validInput1=svg | |
| set validInput2=pdf | |
| set validInput3=eps | |
| set validOutput1=eps | |
| set validOutput2=pdf | |
| set validOutput3=png |
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
| #!/bin/bash | |
| # UPDATE RPI | |
| sudo apt-get update | |
| sudo apt-get upgrade -y | |
| sudo apt-get dist-upgrade -y | |
| sudo apt-get install git -y | |
| # OPENFRAMEWORK | |
| cd ~/ |
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
| #!/usr/bin/python | |
| # A Wake on LAN program that allows you to send magic packets over the Internet | |
| import socket, struct | |
| class Waker(): | |
| def makeMagicPacket(self, macAddress): | |
| # Take the entered MAC address and format it to be sent via socket | |
| splitMac = str.split(macAddress,':') | |
| # Pack together the sections of the MAC address as binary hex |
NewerOlder