This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:2b4d0035aff0f7dace5b29d7337ddb574a8834db]
| # Function to check if a Windows feature is enabled | |
| Function IsFeatureEnabled($featureName) { | |
| $feature = Get-WindowsOptionalFeature -Online -FeatureName $featureName | |
| return $feature.State -eq "Enabled" | |
| } | |
| # Initialize variables to track if a restart is needed | |
| $restartNeeded = $false | |
| # Check and enable WSL feature if not already enabled |
| # Set environment variable | |
| variables: | |
| CANVAS_COURSE_CODE: 0 | |
| # Update this value to the correct course code | |
| default: | |
| tags: | |
| - docker-executor | |
| image: "python:3.9" | |
| before_script: |
This is an OpenPGP proof that connects my OpenPGP key to this Github account. For details check out https://keyoxide.org/guides/openpgp-proofs
[Verifying my OpenPGP key: openpgp4fpr:2b4d0035aff0f7dace5b29d7337ddb574a8834db]
| ################# | |
| # Lists and stuff | |
| ################# | |
| def remap_values(values, from_domain, to_domain, include_clipped=False): | |
| # TODO: Debug (reverse values compared to remap values in gh) | |
| from_min, from_max = from_domain | |
| to_min, to_max = to_domain | |
| from_range = from_max - from_min |
| def cgpoint_to_rgpoint(pt): # type: (cg.Point) -> rg.Point3d | |
| """Convenience function to convert a compas.geometry.Point object to the | |
| corresponding Rhino.Geometry object | |
| Parameters | |
| ---------- | |
| compas.geometry.Point | |
| Point object to convert | |
| Returns |
| # Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com> | |
| _name=alex | |
| pkgname=alexjs | |
| pkgver=8.0.0 | |
| pkgrel=1 | |
| pkgdesc="Catch insensitive, inconsiderate writing" | |
| arch=('any') | |
| url="https://alexjs.com" | |
| license=('MIT') | |
| depends=('nodejs') |
You need a VIM version that has been with Python 2.7 or later (+python or +python3). You can check this from within VIM using :python3 import sys; print(sys.version) (use :python for Python 2).
| #! /bin/env sh | |
| # run with sudo | |
| SDLETTER=$(echo $1 | tr '[:upper:]' '[:lower:]') | |
| GCODE=$2 | |
| SDPATH="/mnt/$SDLETTER/" | |
| GCODEPATH="$PWD/$GCODE" |
| for n in range (1, 13): print("2019-{:02d}-28".format(n)) |
| SystemID SNES | |
| 000010 w h 0 WRAM Can do things | |
| 00001A b u 0 WRAM Frame count | |
| 000020 w h 0 WRAM Y coord | |
| 000022 w h 0 WRAM X coord | |
| 000024 w h 0 WRAM Z coord | |
| 00002A b h 0 WRAM Y subpixel | |
| 00002B b h 0 WRAM X subpixel | |
| 000030 b s 0 WRAM Y speed | |
| 000031 b s 0 WRAM X speed |