This file contains 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
apk add mdadm | |
echo path to disk A? | |
read a | |
echo path to disk B? | |
read b | |
mdadm --create --verbose /dev/md0 --level=raid0 --raid-devices=2 $a $b | |
cp /etc/mdadm.conf /tmp/mdadm.conf | |
mdadm --detail --scan /dev/md0 >> /tmp/mdadm.conf |
This file contains 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 Microsoft.Xna.Framework; | |
using Microsoft.Xna.Framework.Graphics; | |
using System; | |
using System.Linq; | |
using Newtonsoft.Json.Linq; | |
class Sprite | |
{ | |
public Vector2 position; | |
public Texture2D texture; |
This file contains 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
shader_type canvas_item; | |
render_mode unshaded; | |
uniform float bleeding_range_x = 3.0; | |
uniform float bleeding_range_y = 2.0; | |
uniform float screen_width = 640.0; | |
uniform float screen_height = 360.0; | |
uniform float barrel_power : hint_range(1.0, 2.0) = 1.1; | |
uniform float lines_distance = 2.0; |