Skip to content

Instantly share code, notes, and snippets.

View muhammetozeski's full-sized avatar

Muhammet Mustafa Özeski muhammetozeski

View GitHub Profile
//use this function and see the results
//i made this for learning purpose
void PrintSystemInfo()
{
Debug.Log("Device Model: " + SystemInfo.deviceModel);
Debug.Log("Device Name: " + SystemInfo.deviceName);
Debug.Log("Device Type: " + SystemInfo.deviceType);
Debug.Log("Graphics Device Name: " + SystemInfo.graphicsDeviceName);
Debug.Log("Graphics Device Vendor: " + SystemInfo.graphicsDeviceVendor);
Debug.Log("Graphics Device ID: " + SystemInfo.graphicsDeviceID);
@muhammetozeski
muhammetozeski / click.ahk
Last active March 25, 2024 13:24
Simple click script for autohotkey
;if caps lock open and if you press numpad3 and 2 at the same time, you click continually
#if GetKeyState("Capslock", "T")
Numpad3::
while GetKeyState("Numpad3", "P")
{
while GetKeyState("Numpad2", "P")
{
Send, {Click}
using System.Reflection;
/// <summary>
/// This class is for calling a function from a class with string inputs. Example usage:
///<code>
///Console.WriteLine("You can call these functions:");
///string[] functions = CallFunctions.GetMethodsAsStrings(typeof(TestClass));
///for (int i = 0; i &lt; functions.Length; i++) Console.WriteLine(functions[i]);
///Console.WriteLine("Write command:");
///string input = Console.ReadLine();
//delete this later. this is for test purpose
Console.WriteLine("deneme");