A Pen by Robert C Edwards on CodePen.
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
# taken from http://www.piware.de/2011/01/creating-an-https-server-in-python/ | |
# generate server.xml with the following command: | |
# openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes | |
# run as follows: | |
# python simple-https-server.py | |
# then in your browser, visit: | |
# https://localhost:4443 | |
import BaseHTTPServer, SimpleHTTPServer | |
import ssl |
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
#include "MFRC522/MFRC522.h" | |
/* | |
Function Core Pin MRFC522 Pin | |
Reset D2 RST | |
SPI SS D1 SDA | |
SPI MOSI A5 MOSI | |
SPI MISO A4 MISO | |
SPI SCK A3 SCK | |
*/ |
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
// F revision sketch | |
// ----------------------------------------------------- PLEASE USE SETUP ASSISTANT AVAILABLE IN SUB FOLDER !!!! ------------------------------------------- | |
// ----------------------------------------------------- PLEASE USE SETUP ASSISTANT AVAILABLE IN SUB FOLDER !!!! ------------------------------------------- | |
// ----------------------------------------------------- PLEASE USE SETUP ASSISTANT AVAILABLE IN SUB FOLDER !!!! ------------------------------------------- | |
// ----------------------------------------------------- PLEASE USE SETUP ASSISTANT AVAILABLE IN SUB FOLDER !!!! ------------------------------------------- | |
// ----------------------------------------------------- PLEASE USE SETUP ASSISTANT AVAILABLE IN SUB FOLDER !!!! ------------------------------------------- | |
// ----------------------------------------------------- PLEASE USE SETUP ASSISTANT AVAILABLE IN SUB FOLDER !!!! ------------------------------------------- | |
// ----------------------------------------------------- PLEA |
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
[HEADER] | |
INPUT_METHOD=WHEEL | |
[X360] | |
STEER_THUMB=LEFT | |
STEER_GAMMA=1 | |
STEER_FILTER=0.22 | |
SPEED_SENSITIVITY=0.73 | |
STEER_DEADZONE=0.0 |
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 os | |
import sys | |
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "dll")) | |
import ac | |
import acsys | |
import serial | |
import time | |
#ser = serial.Serial(3, 9600) |
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
[HEADER] | |
INPUT_METHOD=X360 | |
[X360] | |
STEER_THUMB=LEFT | |
STEER_GAMMA=2.0 | |
STEER_FILTER=0.7 | |
SPEED_SENSITIVITY=0.1 | |
STEER_DEADZONE=0.0 |
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
using UnityEngine; | |
using System.Collections; | |
public class DynamicDOF : MonoBehaviour { | |
public Transform Origin; | |
public Transform target; | |
public DepthOfField34 DOF34; | |
void Update () { |
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
Show hidden characters
{ "cmd": ["open", "-a", "Google Chrome", "$file"] } |
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
/// <summary> | |
/// Simple horizontal style compass for 3D world | |
/// Attach this to your Player. 0 degrees is North. | |
/// Adjust if your orientation is different by changing the letters. | |
/// Use/modify anyway you like. | |
/// </summary> | |
using UnityEngine; | |
using System.Collections; |