- 以组为单位,5个人为一组。
- 第一个人说“我叫XXX,我喜欢打篮球”,第二个人必须说,“我是站在喜欢打篮球的XXX旁边的喜欢吃醋的YYY”,第三个人 就必须说前面两个人的特性和名字,到最后一个人结束。
- 一次一个组,说对几个这个组就多少分,其他组监督这个组是否说错了。
This is a bash script to act as a Cloudflare DDNS client, useful replacement for ddclient.
- Put the
cfupdater
files to/usr/local/bin
- If you are using IPv4 for A record, append
-v4
tocfupdater
in the following systemd service unit. - If you are using IPv6 for AAAA record, append
-v6
tocfupdater
in the following systemd service unit. - If you prefer a dual-stack record, append
-dualstack
tocfupdater
in the following systemd service unit.
chmod +x /usr/local/bin/cfupdater
- Create a systemd service unit at
/etc/systemd/system/
, thecfupdate.service
is shown as an example.
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
import ( | |
"testing" | |
) | |
const S = "abcdddeeeeaabbbcd" | |
func largeGroupPositions(S string) (res [][]int) { | |
tmpSlice := make([]int, 2) | |
var ( | |
tmpRune rune |
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
package main | |
func merge(nums1 []int, m int, nums2 []int, n int) { | |
if n == 0 { | |
return | |
} | |
if m == 0 { | |
copy(nums1, nums2) | |
return |
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
# Maintainer: Sherlock Holo <sherlockya(at)gmail.com> | |
pkgname=system-storage-manager | |
_pkgver=1.2 | |
pkgver=v$_pkgver | |
pkgrel=1 | |
pkgdesc='A single tool to manage your storage' | |
arch=('i686' 'x86_64') | |
url='https://github.com/system-storage-manager/ssm' | |
license=('GPL2') |
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
package ca | |
const rootCA = `# ACCVRAIZ1 | |
-----BEGIN CERTIFICATE----- | |
MIIH0zCCBbugAwIBAgIIXsO3pkN/pOAwDQYJKoZIhvcNAQEFBQAwQjESMBAGA1UE | |
AwwJQUNDVlJBSVoxMRAwDgYDVQQLDAdQS0lBQ0NWMQ0wCwYDVQQKDARBQ0NWMQsw | |
CQYDVQQGEwJFUzAeFw0xMTA1MDUwOTM3MzdaFw0zMDEyMzEwOTM3MzdaMEIxEjAQ | |
BgNVBAMMCUFDQ1ZSQUlaMTEQMA4GA1UECwwHUEtJQUNDVjENMAsGA1UECgwEQUND | |
VjELMAkGA1UEBhMCRVMwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCb | |
qau/YUqXry+XZpp0X9DZlv3P4uRm7x8fRzPCRKPfmt4ftVTdFXxpNRFvu8gMjmoY |