This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
This script detects apps with not yet updated versions of Electron.
Repo: https://github.com/tkafka/detect-electron-apps-on-mac
See:
| # This middleware dynamically switch a job queue based on its class name. | |
| module TroubleshootMemoryMiddleware | |
| module Client | |
| class CustomQueueName | |
| QUARANTINE_QUEUE = "quarantine" | |
| def call(worker_class, job, queue, redis_pool) | |
| # Jobs enqueued without ActiveJob are not wrapped. | |
| job_class_name = if job["wrapped"].present? |
| require 'kramdown/parser/kramdown' | |
| require 'kramdown-parser-gfm' | |
| # Based on the API doc comment: https://github.com/gettalong/kramdown/blob/master/lib/kramdown/parser/kramdown.rb | |
| class Kramdown::Parser::GFMWikiLink < Kramdown::Parser::GFM | |
| def initialize(source, options) | |
| super | |
| # Override existing Table parser to use our own start Regex which adds a check for wikilinks | |
| @@parsers.delete(:table) #Data(:table, TABLE_START, nil, "parse_table") |
| #!/bin/bash | |
| ### | |
| ### my-script — does one thing well | |
| ### | |
| ### Usage: | |
| ### my-script <input> <output> | |
| ### | |
| ### Options: | |
| ### <input> Input file to read. | |
| ### <output> Output file to write. Use '-' for stdout. |
| # Put this function to your .bashrc file. | |
| # Usage: mv oldfilename | |
| # If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
| # Original mv is called when it's called with more than one argument. | |
| # It's useful when you want to change just a few letters in a long name. | |
| # | |
| # Also see: | |
| # - imv from renameutils | |
| # - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste) |
| packages: | |
| yum: | |
| zlib: [] | |
| fontconfig: [] | |
| freetype: [] | |
| libX11: [] | |
| libXext: [] | |
| libXrender: [] | |
| xorg-x11-fonts-75dpi: [] | |
| xorg-x11-fonts-Type1: [] |
| default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
| default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
| default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |