I know it's hard to believe, but there are situations where you must use Windows as the host machine for development purposes. In an ideal world, we can use VirtualBox on a Hyper-V-enabled host without performance downgrade. But we don't live in a perfect world (unless you have money to buy VMware), so we'll have to work with what we got. If you still want to play games on your Windows host, use WSL2, and run a full GNU/Linux environment, you should give Hyper-V a shot. You can learn more about Microsoft Hyper-V from the following links:
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
from langfuse.openai import openai | |
import os | |
def init_connection(): | |
public_key = ".." | |
private_key = ".." | |
os.environ["LANGFUSE_PUBLIC_KEY"] = public_key | |
os.environ["LANGFUSE_SECRET_KEY"] = private_key | |
os.environ["LANGFUSE_HOST"] = "http://localhost:3000" # For self-hosted |
I hereby claim:
- I am hoonsubin on github.
- I am hoonkim (https://keybase.io/hoonkim) on keybase.
- I have a public key whose fingerprint is 6BEE 4916 3B8C 0374 B9ED BFA9 C262 F1E2 272D 3CB7
To claim this, I am signing this object:
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
[ | |
{ | |
"identifier": { | |
"id": "vscode.bat" | |
}, | |
"version": "1.0.0" | |
}, | |
{ | |
"identifier": { | |
"id": "vscode.clojure" |
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; | |
public class TopDown2DProjectileMotion : MonoBehaviour | |
{ | |
public Rigidbody2D throwTarget; | |
public float throwRadious = 6f; | |
public float maxThrowHeight = 3f; | |
public float gravityMultiplier = -18; |
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.Generic; | |
using System.IO; | |
using System; | |
namespace HoonKim.Editor | |
{ | |
public static class UnityPathUtil | |
{ | |
/// <summary> | |
/// Path utility that combines the original path with the relative path with all the directory change operations. |
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
pragma solidity ^0.4.22; | |
contract SimpleAuction { | |
// Parameters of the auction. Times are either | |
// absolute unix timestamps (seconds since 1970-01-01) | |
// or time periods in seconds. | |
address public beneficiary; | |
uint public auctionEnd; | |
// Current state of the auction. |
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
/** | |
* generates a Plasm public address with the given ethereum public key | |
* @param ethPubKey an compressed ECDSA public key. With or without the 0x prefix | |
*/ | |
export function generatePlmAddress(publicKey: string) { | |
// converts a given hex string into Uint8Array | |
const toByteArray = (hexString: string) => { | |
const result = []; | |
for (let i = 0; i < hexString.length; i += 2) { | |
result.push(parseInt(hexString.substr(i, 2), 16)); |