Skip to content

Instantly share code, notes, and snippets.

View chinery's full-sized avatar
🐶

Andrew Chinery chinery

🐶
View GitHub Profile
@chinery
chinery / RemoveTimings.vba
Created March 15, 2018 10:46
My version of Powerpoint (Mac 16.11) doesn't seem to have the option to clear all timings. Screenshots tell me this is in the 'record slide show' menu, but mine is just a button, not a menu. Anyway, this VBA does the job.
' My version of Powerpoint (Mac 16.11) doesn't seem to have the option to clear all timings so...
Sub RemoveTimings()
For Each sld In ActivePresentation.Slides
With sld.SlideShowTransition
.AdvanceOnTime = msoFalse
.AdvanceTime = 0
End With
Next sld
End Sub
@chinery
chinery / default_scaling_test.go
Created December 12, 2024 08:07
Test default scaling
//go:build e2e
// +build e2e
package default_scaling_strategy_test
import (
"encoding/base64"
"fmt"
"testing"
@chinery
chinery / eager_tests.md
Created December 12, 2024 10:39
Eager tests results

Output from eager tests 1 and 2 from kedacore/keda#6416 (comment)

=== RUN   TestScalingStrategy
    helper.go:247: deleting namespace eager-scaling-strategy-test-rmq
    helper.go:301: waiting for namespace eager-scaling-strategy-test-rmq deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-rmq deletion
    helper.go:301: waiting for namespace eager-scaling-strategy-test-rmq deletion
    helper.go:234: Creating namespace - eager-scaling-strategy-test-rmq
    helper.go:541: Applying template: rmqDeploymentTemplate