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
ColorColumn used for the columns set with 'colorcolumn' | |
*hl-Conceal* | |
Conceal placeholder characters substituted for concealed | |
text (see 'conceallevel') | |
*hl-Cursor* | |
Cursor the character under the cursor | |
*hl-CursorIM* | |
CursorIM like Cursor, but used when in IME mode |CursorIM| | |
*hl-CursorColumn* | |
CursorColumn the screen column that the cursor is in when 'cursorcolumn' is |
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
ColorColumn used for the columns set with 'colorcolumn' | |
*hl-Conceal* | |
Conceal placeholder characters substituted for concealed | |
text (see 'conceallevel') | |
*hl-Cursor* | |
Cursor the character under the cursor | |
*hl-CursorIM* | |
CursorIM like Cursor, but used when in IME mode |CursorIM| | |
*hl-CursorColumn* | |
CursorColumn the screen column that the cursor is in when 'cursorcolumn' is |
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 | |
set -e | |
echo "This tool will create a new sudo user." | |
echo "================================================" | |
echo "" | |
echo "Choose username:" | |
read NEWUSER | |
echo "Choose password:" |
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 | |
apt-get update && apt-get upgrade -y | |
apt-get install -y vim git ruby ruby-dev nodejs build-essential \ | |
git libssl-dev libpam0g-dev zlib1g-dev \ | |
dh-autoreconf | |
git clone https://github.com/shellinabox/shellinabox.git | |
cd shellinabox | |
autoreconf -i |
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 | |
apt-get update && apt-get upgrade -y | |
apt-get install git-core build-essential \ | |
pkg-config libtool libevent-dev \ | |
libncurses-dev zlib1g-dev \ | |
automake libssh-dev cmake \ | |
ruby | |
# clone repo, change WORKDIR |
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 BoxController : MonoBehaviour { | |
public float speed = 10.0F; | |
public float rotationSpeed = 100.0F; | |
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
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class Timer : MonoBehaviour { | |
public Text timerLabel; | |
private float time; |
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 CameraHandler : MonoBehaviour { | |
// Represents the main camera | |
GameObject mainCamera; | |
// Update is called once per frame | |
void Update () { | |
if (Input.GetKeyDown(KeyCode.Space)) |
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 ExampleClass : MonoBehaviour { | |
public float smooth = 2.0F; | |
public float tiltAngle = 30.0F; | |
void Update() { | |
float tiltAroundZ = Input.GetAxis("Horizontal") * tiltAngle; | |
float tiltAroundX = Input.GetAxis("Vertical") * tiltAngle; | |
Quaternion target = Quaternion.Euler(tiltAroundX, 0, tiltAroundZ); |
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 ExampleClass : MonoBehaviour { | |
public Rigidbody rb; | |
void Start() { | |
rb = GetComponent<Rigidbody>(); | |
} | |
void OpenParachute() { | |
rb.drag = 20; |