This widget (and job) pulls ticket counts per priority from Redmine for a list of projects
Add faraday to your Gemfile:
| import SwiftUI | |
| import SwiftData | |
| @Model | |
| final class Container { | |
| var box: BoxInstance? | |
| var shape: ShapeInstance? | |
| init(box: BoxInstance?, shape: ShapeInstance?) { | |
| self.box = box |
| --- cert.pem.bak 2020-05-31 01:00:24.000000000 +1000 | |
| +++ cert.pem 2020-05-31 01:01:11.000000000 +1000 | |
| @@ -348,58 +348,6 @@ | |
| LnPqZih4zR0Uv6CPLy64Lo7yFIrM6bV8+2ydDKXhlg== | |
| -----END CERTIFICATE----- | |
| -### AddTrust AB | |
| - | |
| -=== /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root | |
| -Certificate: |
| (setq user-mail-address "[email protected]" | |
| user-full-name "JM Ibañez" | |
| gnus-default-charset 'utf-8 | |
| mail-user-agent 'gnus-user-agent) | |
| (add-hook 'gnus-group-mode-hook 'gnus-topic-mode) | |
| (defun jmi/gnus-mailto-list-to-regex (my-addresses) | |
| (mapconcat (lambda (addr) |
| #!/bin/bash | |
| # Manual auth hook script glue for Rackspace DNS | |
| # This depends on rackdns CLI, see | |
| # - https://github.com/morganfainberg/rackspace-dns-cli | |
| # - https://github.com/kwminnick/rackspace-dns-cli | |
| # CERTBOT_DOMAIN | |
| # CERTBOT_VALIDATION (DNS) | |
| export OS_USERNAME= # Rackspace user |
| var o = { "foo" : 1, "bar" : 2, "baz" : 3 }; | |
| for (k in o) { | |
| console.log(k, o[k]); | |
| } |
| var a = { | |
| 'key' : 'value', | |
| 'foo' : 'bar' | |
| }; | |
| var b = { | |
| 'foo' : 'bar', | |
| 'key' : 'value' | |
| }; |
| // Restify server config here | |
| var server = restify.createServer({ | |
| name: 'restify-test', | |
| version: '1.0.0', | |
| }); | |
| // ... | |
| // Connect config here | |
| var connectApp = connect() |
| function _project_list () | |
| { | |
| local cur prev | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| prev="${COMP_WORDS[COMP_CWORD-1]}" | |
| PROJECTS=$(ls -d ~/projects/*/ ~/projects/*/*/ | xargs basename) | |
| COMPREPLY=( $(compgen -W "$PROJECTS" -- ${cur}) ) | |
| return 0 |