wxiaoguang

Results 41 issues of wxiaoguang

Some AMQP brokers can set `max-length` for a queue, and set `expiration/TTL` for a message. Overflowed/expired messages will be deleted. In some cases, users only need limited/recent messages. Is this...

question

**Disclaimer**: Since this PR doesn't seem to be merged easily (https://github.com/go-gitea/gitea/issues/13606#issuecomment-947320267), and much more work need to do. I just keep this PR for my personal usage, and update it...

kind/feature
lgtm/need 2
status/wip

**Describe the bug** Related issue: * https://github.com/go-gitea/gitea/pull/19003 * The related code (only a few lines): https://github.com/go-gitea/gitea/pull/19003/files In some cases, we need to set `minHeight` and `maxHeight` at the same time....

Bug

``` test_ctr32(): if (memcmp(out1, out2, sizeof(out1)) != 0) { error_print(); return -1; // it always returns -1 now } return 0; ``` ``` test_sm4(): if (!test_ctr32(0)) { // (!-1) is...

I have changed the mapping of "Home"/"End" to "BeginningOfLine"/"EndOfLine" ``` ~$ cat ~/Library/KeyBindings/DefaultKeyBinding.dict { /* Remap Home / End keys to be correct */ "\UF729" = "moveToBeginningOfLine:"; /* Home */...

Type: Upstream-problem
Importance: Low

### Version 1.66.4 ### Describe the bug The struct field default value can not be overwritten if the ini value is a zero-value. ### To reproduce ```go func TestIni(t *testing.T)...

bug

可以改成这样: ```go type sm4CipherGo struct { subkeys [32]uint32 } func (c *sm4CipherGo) Encrypt(dst, src []byte) { var block1 [4]uint32 var block2 [16]byte sm4cryptBlock(c.subkeys[:], block1[:], block2[:], dst, src, false) } func...

Only en-US has complete translations. When use other language as default, the en-US should still be used as fallback. Close #21199 ### Screenshot ![image](https://user-images.githubusercontent.com/2114189/190882906-b7a83958-0ea2-46c4-9084-42c4f9a239aa.png)

kind/enhancement
lgtm/need 2

Some docker users are affected by this bug (not only one) when they try to add public keys. ``` Can not verify your SSH key: SSHKeyGenParsePublicKey: fail to parse public...

kind/bug
theme/docker