The little things give you away... A collection of various small helper stuff
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

6 行
276 B

  1. #!/bin/bash
  2. # Like base64 but for the URL-safe alphabet A-Za-z0-9-_ (instead of A-Za-z0-9+/).
  3. # This works by replacing occurrences of - with + and vice-versa, and likewise with _ and /.
  4. # Does not support passing the filename by argument.
  5. tr -- '\-_+/' '+/\-_' | base64 "$@"