This document explains a question that comes up when reading
POST /-/v1/login's implementation (packages/server/src/index.ts): why
does finishing a login require the CLI to poll a doneUrl, instead of the
CLI doing a standard OAuth PKCE exchange directly against the identity
provider? Short answer: npm invented its own, non-standard login protocol
for npm login/npm publish rather than adopting either of the two
already-standardized patterns the rest of the industry uses for CLI OAuth,
This file contains hidden or 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
| diff --git a/libavcodec/Makefile b/libavcodec/Makefile | |
| index b33d7bcd0f..ae37a9aa17 100644 | |
| --- a/libavcodec/Makefile | |
| +++ b/libavcodec/Makefile | |
| @@ -350,6 +350,7 @@ OBJS-$(CONFIG_DSD_MSBF_PLANAR_DECODER) += dsddec.o dsd.o | |
| OBJS-$(CONFIG_DSICINAUDIO_DECODER) += dsicinaudio.o | |
| OBJS-$(CONFIG_DSICINVIDEO_DECODER) += dsicinvideo.o | |
| OBJS-$(CONFIG_DSS_SP_DECODER) += dss_sp.o | |
| +OBJS-$(CONFIG_DS2_DECODER) += ds2.o | |
| OBJS-$(CONFIG_DST_DECODER) += dstdec.o dsd.o |
This file contains hidden or 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
| --- | |
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: etcd-backup | |
| namespace: kube-system | |
| spec: | |
| accessModes: | |
| - ReadWriteOnce | |
| volumeMode: Filesystem |
This file contains hidden or 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
| # Patrick Domack | |
| # Base taken from Orion Anderson https://misterorion.com/lambda-update-ami/ | |
| # https://github.com/ranman/awesome-sns/blob/master/Events.md#windows-ami-update | |
| # https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/aws-windows-ami.html#subscribe-notifications | |
| import boto3, os, json | |
| from datetime import datetime, timezone, timedelta | |
| def lambda_handler(event, context): |
This file contains hidden or 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
| #!/bin/bash | |
| # | |
| # Author: Ryan Kernan | |
| # Date: September 23, 2011 | |
| # Version: 1.0 | |
| # Credits: Mike La Spina for the original concept and script http://blog.laspina.ca/ | |
| # | |
| # Function: Provides snapshot and send process which replicates ZFS file systems from a source to target server. | |
| # Maintains a runing snapshot archive for X days (X being the value of keep_snaps). | |
| # |
This file contains hidden or 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
| #0 boot (not used) | |
| #1 tx (not used) | |
| #2 led status (not used) | |
| #3 rx (not used) | |
| #4 status neopixel | |
| #5 dallas | |
| #16 thermostat O | |
| #17 thermostat Y | |
| #18 (not used) | |
| #19 outdoor W |
This file contains hidden or 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
| substitutions: | |
| # Change the disp_name to something you want | |
| disp_name: Energy_Monitor | |
| name: panelmonitor | |
| tele: "${name}" | |
| availability: "${name}/LWT" | |
| heartbeat: 900s | |
| # Interval of how often the power is updated | |
| update_time: 10s | |
| # Current Transformers: |
This file contains hidden or 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
| class "randommac" { | |
| match substring (hardware, 1, 1); | |
| ignore booting; | |
| } | |
| subclass "randommac" 02; | |
| subclass "randommac" 12; | |
| subclass "randommac" 22; | |
| subclass "randommac" 32; | |
| subclass "randommac" 42; | |
| subclass "randommac" 52; |
This file contains hidden or 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
| # https://www.home-assistant.io/integrations/mqtt_room | |
| substitutions: | |
| display_name: "Tracker01" | |
| name: tracker01 | |
| heartbeat: "900s" | |
| defaulttxrssi: "-72" | |
| maxdistance: "5.0" | |
| room: "garage" | |
| channel: "room_presence" | |
| tele: "presense_nodes/${name}/tele" |
This file contains hidden or 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
| PB5 uart2_tx (top uart2_tx next to 3.3v) | |
| PB4 uart2_rx (bottom uart2_tx next to ground) | |
| PB3 Trig_INT INT2? | |
| PB2 DIMM_Drive PWM0_CH3? TM3? | |
| PB1 TEMP_OK ADC0_CH1? | |
| PB0 Fan Led white PWM0_CH5? or PWM1_CH5? | |
| PA11 | |
| PA10 | |
| PA9 | |
| PA8 |
NewerOlder