udatapp_development=# begin;
BEGIN
udatapp_development=# lock table users in access exclusive mode;
LOCK TABLE
udatapp_development=#
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
| # frozen_string_literal: true | |
| # Load DSL and set up stages | |
| require 'capistrano/setup' | |
| # Include default deployment tasks | |
| require 'capistrano/deploy' | |
| require 'capistrano/rvm' | |
| require 'capistrano/bundler' | |
| require 'capistrano/rails' |
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
| # /etc/monit/conf-enabled/qna.monit.rc | |
| ### Nginx ### | |
| check process nginx with pidfile /run/nginx.pid | |
| start program = "/usr/sbin/service nginx start" | |
| stop program = "/usr/sbin/service nginx stop" | |
| if cpu > 60% for 2 cycles then alert | |
| if cpu > 80% for 5 cycles then restart | |
| if memory usage > 80% for 5 cycles then restart | |
| if failed host 65.108.50.164 port 80 protocol http |
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
| # .github/workflows/elixir.yml | |
| --- | |
| name: build | |
| on: [push, pull_request] | |
| jobs: | |
| all_jobs: | |
| runs-on: ubuntu-latest |
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
| # .github/workflows/elixir.yml | |
| --- | |
| name: build | |
| on: [push, pull_request] | |
| jobs: | |
| dependencies: | |
| runs-on: ubuntu-latest |
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
| # EagerLoad.configure.enabled = true | |
| # | |
| # EagerLoad.configure_for_environments do |env| | |
| # env.development = false | |
| # env.staging = true | |
| # env.production = true | |
| # end | |
| # | |
| # EagerLoad.enabled? |
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
| # frozen_string_literal: true | |
| require 'docx' | |
| module Docx | |
| # docs | |
| class Differences | |
| class << self | |
| # @param file_paths [Array<String>] ARGV with absolute files pathes | |
| # @return [Array<Hash>] |
OlderNewer