Skip to content

Instantly share code, notes, and snippets.

View reneweiser's full-sized avatar
🐢
"The only way to go fast is to go well."

René Weiser reneweiser

🐢
"The only way to go fast is to go well."
View GitHub Profile
@reneweiser
reneweiser / Dockerfile
Created November 4, 2024 13:25
Laravel production environment
FROM serversideup/php:8.3-fpm-nginx
# Switch to root so we can do root things
USER root
# Install the intl extension with root permissions
RUN install-php-extensions intl
# Install Composer
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
using UnityEngine;
public class BasicFpMover : MonoBehaviour
{
private CharacterController _characterController;
private Vector3 _moveDirection;
[SerializeField] private float _speed = 6f;
private void Awake()
using UnityEngine;
public class BasicFpCamera : MonoBehaviour
{
[SerializeField] private Camera _camera;
[SerializeField] private Transform _body;
[SerializeField] private float _pitchMin = -60f;
[SerializeField] private float _pitchMax = 60f;
[SerializeField] private float _sensitivity = 2f;
# A BoxStarter script for use with http://boxstarter.org/WebLauncher
# Updates a Windows machine and installs a range of developer tools
# Show more info for files in Explorer
Set-WindowsExplorerOptions -EnableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar
# Enable remote desktop
Enable-RemoteDesktop
# Small taskbar