Instructions for running Debian sid with systemd on WSL2
- Make sure you're running Windows 10 Build 19041+ (run
ver
) - Enable the Windows Subsystem for Linux (reboot if needed):
Instructions for running Debian sid with systemd on WSL2
ver
)In Kubernetes, controllers are control loops that watch the state of your cluster, then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state
Kubernetes provides the following controllers:
Tips for running a single-node Kubernetes cluster on WSL2 with Podman
Edit /etc/containers/containers.conf
:
cgroup_manager
to cgroupfs
events_logger
to file
tar xf photon-*.ova
minikube ssh
)GatewayPorts
option is set to yes
in /etc/ssh/sshd_config
(and restart the SSH server if necessary)ssh -i
Fardjad Davari
Published on GitHub Gist
const fs = require("fs"); | |
const EventEmitter = require("events").EventEmitter; | |
const read = (fileHandle, bufferSize, position, emitter) => { | |
const buffer = Buffer.alloc(bufferSize); | |
fs.read( | |
fileHandle, | |
buffer, | |
0, |
#!/bin/bash | |
git_files=$(git ls-files) | |
for git_file in $git_files; do | |
encoding=$(file --mime-encoding "$git_file") | |
type=$(echo "$encoding" | awk -F ': ' '{ print $2 }') | |
if [ "$type" == "binary" ]; then | |
echo $git_file | |
fi |
using UnityEngine; | |
public class Unity3DObjectDragHandler : MonoBehaviour | |
{ | |
public Camera camera; | |
public void Start() | |
{ | |
} |