HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent
- Dword
DisableWindowsConsumerFeatures
set to1
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
// NOTE: For the sake of practice, STL/stdlib helpers are not used, just std::string for memory management. | |
#include <string> | |
using std::string; | |
// Convert arbitrary base to base 10 | |
// - Input must be valid number in the given base | |
// - Base must be between 2 and 36 | |
// - If input or base are invalid, returns 0 | |
long ConvertTo10(const string& input, int base) |
Here are changes you can make that can greatly improve the responsiveness of Wacom Tablets on Windows 10.
NOTE: This guide was written for Photoshop CC (21.2.1) but most changes should apply to all versions of Photoshop.
These are changes in Photoshop itself. To be sure, restart Photoshop after applying these.
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 System; | |
using System.Collections.Generic; | |
public struct EventHandlerProxy<T> | |
{ | |
private struct HandlerProxy | |
{ | |
public Action<T> proxy; | |
public int count; | |
} |
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 System.IO; | |
using System.Collections.Generic; | |
public static class FileStreamReadLineExtension | |
{ | |
public static string ReadLine(this FileStream fs) | |
{ | |
int curChar; | |
// EOF - return null | |
if ((curChar = fs.ReadByte()) == -1) |
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 UnityEngine; | |
using UnityEditor; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Reflection; | |
public class EditorCoroutineRunner | |
{ | |
[MenuItem("Window/Lotte's Coroutine Runner: Demo")] |
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
solution "SDL2_Test" | |
configurations { "debug", "release" } | |
location("make/" .. os.get() .. "/") | |
targetdir("bin/" .. os.get() .. "/%{cfg.buildcfg}/") | |
objdir("obj/" .. os.get() .. "/%{cfg.buildcfg}/") | |
project "sdl2_test" | |
kind "WindowedApp" | |
language "C" | |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Events; | |
using UnityEngine.EventSystems; | |
using UnityEngine.UI; | |
namespace Testing | |
{ | |
/// <summary> |
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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEditor; | |
using System.Reflection; | |
public static class EditorExtensionMethods | |
{ | |
// Public reimplmentation of extention methods and helpers that are marked internal in UnityEditor.dll |