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 System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class MouseLook : MonoBehaviour | |
| { | |
| public float mouseSensitivity = 100.0f; | |
| public float clampAngle = 80.0f; | |
| private float rotY = 0.0f; // rotation around the up/y axis |
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 System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class CameraMovement : MonoBehaviour | |
| { | |
| public Transform vrCamera; | |
| public float speed = 3.0f; | |
| public bool moveForward; | |
| private CharacterController cc; |
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 System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class PlanePilot : MonoBehaviour | |
| { | |
| public float speed = 10.0f; | |
| // Use this for initialization | |
| void Start() |
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
| <h1>Web Audio API</h1> | |
| <h2>Tone generator & BPM</h2> | |
| <input id="bpm" class="bpm" type="number" value="120"> | |
| <div class="play" id="play">Play</div> | |
| <div class="stop" id="stop">Stop</div> | |
| <p>Tones generated but also bound to keys:</p> | |
| <p>a</p> |
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
| .wrapper | |
| .stars | |
| .pluto-container | |
| .pluto | |
| .heart | |
| .heart-left | |
| .heart-middle | |
| .heart-right | |
| .face | |
| .mouth |
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
| const machine = { | |
| green: { TIMER: 'yellow' }, | |
| yellow: { TIMER: 'red' }, | |
| red: { TIMER: 'green' } | |
| }; | |
| const initialState = 'green'; | |
| function transition(currentState, action) { | |
| return machine[currentState][action]; | |
| } |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width"> | |
| <title>JS Bin</title> | |
| </head> | |
| <body> | |
| <script id="jsbin-javascript"> |
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
| sudo # used for root access once logged in | |
| # package list of software repos installed | |
| cat /etc/apt/sources.list | |
| # update the list of installed software | |
| sudo apt-get update | |
| # upgrade installed programs |
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
| <form method="post"> | |
| <input type="hidden" id="wpf_nonce_field" name="wpf_nonce_field" value="1cfd4c0539" /> | |
| <input type="hidden" name="_wp_http_referer" value="/wp-trunk/contact/" /> | |
| Enter your name: <input type="text" name="text" /><br /> | |
| <input type="submit" name="submit" value="Save Options" /> | |
| </form> | |
| <?php |
NewerOlder