Доклад про Chatops в Github: https://speakerdeck.com/jnewland/chatops-at-github
Бот Lita: https://github.com/litaio/lita
Наше расширение для Lita: https://github.com/Shopify/lita-external
Бот Hubot:
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Start daemon at boot time | |
| # Description: Enable service provided by daemon. | |
| ### END INIT INFO |
| <?php | |
| define("true ", false); | |
| function doIt() { | |
| define(" false", true); | |
| define("maybe", rand() & 1); | |
| } | |
| function ($stupid="clever") { | |
| if (assert_value($stupid)) { |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
Доклад про Chatops в Github: https://speakerdeck.com/jnewland/chatops-at-github
Бот Lita: https://github.com/litaio/lita
Наше расширение для Lita: https://github.com/Shopify/lita-external
Бот Hubot:
| # 1) Create your private key (any password will do, we remove it below) | |
| $ cd ~/.ssh | |
| $ openssl genrsa -des3 -out server.orig.key 2048 | |
| # 2) Remove the password | |
| $ openssl rsa -in server.orig.key -out server.key |
| # delete local tag '12345' | |
| git tag -d 12345 | |
| # delete remote tag '12345' (eg, GitHub version too) | |
| git push origin :refs/tags/12345 | |
| # alternative approach | |
| git push --delete origin tagName | |
| git tag -d tagName |
| class Application < Rails::Application | |
| # Initialize configuration defaults for originally generated Rails version. | |
| config.load_defaults 7.0 | |
| # ensure that `update(files: [uploaded_file])` will append, not replace | |
| config.active_storage.replace_on_assign_to_many = false | |
| end |