Skip to content

Instantly share code, notes, and snippets.

View jackyli-work's full-sized avatar
🎯
Wandering

Jacky Li jackyli-work

🎯
Wandering
View GitHub Profile
@jackyli-work
jackyli-work / vscode.dev.md
Last active September 26, 2025 07:57
public info

to make the python script running in vscode.dev, you need to initiate a jupyter server and leave it running there.

accroding to this article the best way to begin would be miniconda installation and get the kernel things from there.

so comes the steps herein below:

winget install miniconda3 --accept-package-agreements --source winget

to start a jupyter server you'll need to install nb_conda_kernels under conda, which would lead to a bunch of errors if you didn't do the prerequsites.

using System;
using System.Collections.Generic;
namespace JFun.Gameplay.MessageSystem
{
public static class HashMessageManager
{
private static Dictionary<int, Delegate> _eventHashTable = new Dictionary<int, Delegate>();
//Hash handlers that should never be removed, regardless of calling Cleanup
using UnityEngine;
public class GyroParallaxHelper : MonoBehaviour
{
[Header("Layer of Group Object")]
public RectTransform LayerObject;
[Header("Layer of Inner Image Object")]
public RectTransform LayerImage;
[Header("Layer of Background Object")]
public RectTransform LayerBackground;
using System.Collections.Generic;
using JFun.Framework;
using JFun.Gameplay.MessageSystem;
using UnityEngine;
namespace JFun.Gameplay.CreateWorld.UI
{
public class EscapeButtonController
{
private List<UIInputEventHelper> _escapeButtonList = new List<UIInputEventHelper>();
using System;
using System.Collections.Generic;
using System.Linq;
using Assets.SimpleAndroidNotifications;
using JFun.Foundation.Loggers;
using JFun.Framework;
using UnityEngine;
namespace JFun.Gameplay.CreateWorld
{
@jackyli-work
jackyli-work / CWCustomInputField.cs
Created February 29, 2020 07:16
Native Input Utility
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.EventSystems;
namespace JFun.Gameplay.CreateWorld.UI
{
public class CWCustomInputField : InputField, ICancelHandler
{
// Action others can subsribe
// argument 2 : true: enter key, false: cancel key
@jackyli-work
jackyli-work / EnumDescriptionAttribute.cs
Created February 29, 2020 07:04
Selectable Enumeration
using System;
using System.ComponentModel;
using UnityEngine;
using System.Reflection;
namespace JFun.Gameplay.CreateWorld
{
[AttributeUsage(AttributeTargets.Field)]
public class EnumDescriptionAttribute : PropertyAttribute
{