Skip to content

Instantly share code, notes, and snippets.

View FurkanTheHuman's full-sized avatar
⚛️

Furkan Aksoy FurkanTheHuman

⚛️
View GitHub Profile
use bevy::diagnostic::{FrameTimeDiagnosticsPlugin, LogDiagnosticsPlugin};
use bevy::sprite::collide_aabb::collide;
use bevy::{
core::FixedTimestep,
math::{const_vec2, const_vec3},
prelude::*,
sprite::MaterialMesh2dBundle,
transform::components::Transform,
@FurkanTheHuman
FurkanTheHuman / change_ration.sh
Created September 1, 2019 11:07
A helper Bash script to check how much of the rust book translation is complete
#!/bin/bash
# Takes git project and a commit and compares the number of changed files starting from commit value
# This is initially configured for translation of Rust Book to Turkish
# for something else change commit_value and target_file variables
# NOTE: ONLY WORKS ON BASH NOT SH
#
# Example Usage: ./change_ratio.sh -g ./file_path/ -t target_file/ -c commit_hash
#