Skip to content

Instantly share code, notes, and snippets.

View HoshinoArika's full-sized avatar

HoshinoArika HoshinoArika

View GitHub Profile
@dvddarias
dvddarias / Arrows2DMovement.cs
Last active May 5, 2024 05:32
Unity editor script to precisely move, rotate and scale GameObjects on a 2D scene, using the arrow keys.
/*
Unity editor script to precisely move, rotate and scale GameObjects on 2D scenes, using the arrow keys.
Notes:
- To use it just include it on an "Assets/Editor" folder on your project.
- The action depends on the selected tool and the size of the movement depends on the Scene view zoom.
- The more "zoomed in" is the scene view the smaller is the movement step.
- It will work when the current Scene tab is in 2D mode and there is at least one gameObject selected,
otherwise the scene camera will move as usual :)
@TheDonDope
TheDonDope / escape.from.tarkov.keybindings.md
Last active January 20, 2023 19:00
Escape from Tarkov Keybindings

Escape from Tarkov Controls Cheat Sheet

BEGINNER'S GUIDE - ALL CONTROLS + TIPS (Escape from Tarkov)

Controls

  • Hold Shift when zoomed in with Mouse Right Click to hold breath and steady aim
  • Press B to switch between firing modes 🔥 (You will always start a raid in single fire mode)
    • The animation when switching to 🔥 🔥 🔥 fire is an ⬆️ flick
  • The animation when switching to 🔥 fire is an ⬇️ flick
@tomkail
tomkail / ExtendedScriptableObjectDrawer.cs
Last active October 19, 2024 04:37
Displays the fields of a ScriptableObject in the inspector
// Developed by Tom Kail at Inkle
// Released under the MIT Licence as held at https://opensource.org/licenses/MIT
// Must be placed within a folder named "Editor"
using System;
using System.Collections.Generic;
using System.IO;
using UnityEditor;
using UnityEngine;
@ytzong
ytzong / mac.sh
Last active September 24, 2018 17:47
一些常用的 Mac 脚本
# App Store 开启 Degub 菜单
defaults write com.apple.appstore ShowDebugMenu -bool true
# 开启充电提示音
# defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app &
# 关闭
# defaults write com.apple.PowerChime ChimeOnAllHardware -bool false;killall PowerChime
# 修复 sabma 速度慢的问题
printf '[default]\nsigning_required=no\n' | sudo tee /etc/nsmb.conf >/dev/null