see: https://github.com/benpye/wsl-ssh-pageant
mkdir workspace
cd workspace
git clone [email protected]:benpye/wsl-ssh-pageant.git
cd wsl-ssh-pageant
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:wsl-ssh-pageant.exe Program.cs| extends Node | |
| var debug: bool = OS.has_feature("debug") | |
| @onready var panel: Panel = Panel.new() | |
| @onready var canvas_layer: CanvasLayer = CanvasLayer.new() | |
| @onready var rich_text_label: RichTextLabel = RichTextLabel.new() | |
| # @onready var theme: Theme = load("res://SurvivalScape.theme") # Your custom theme file | |
| func _ready() -> void: |
see: https://github.com/benpye/wsl-ssh-pageant
mkdir workspace
cd workspace
git clone [email protected]:benpye/wsl-ssh-pageant.git
cd wsl-ssh-pageant
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:wsl-ssh-pageant.exe Program.cs| from util import hook | |
| import requests, re | |
| @hook.command | |
| def printerfact(inp, say=None): | |
| r = requests.get('https://catfacts-api.appspot.com/api/facts?number=1') | |
| fact = r.json()['facts'][0] | |
| regex = re.compile(re.escape("cat"), re.IGNORECASE) | |
| return regex.sub("printer", fact) |
| <?php | |
| function helloworld_multistep_example_form($form, &$form_state) | |
| { | |
| // We add 2 keys to form_state ("step" and "state") to keep track | |
| // of state in a multistep form. | |
| $step = isset($form_state['step'])? ($form_state['step']) : (1); | |
| $form['heading'] = array( | |
| '#type' => 'markup', |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |