This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: example | |
| namespace: default | |
| data: | |
| APPLICATION_HOST: example.com | |
| LANG: en_US.UTF-8 | |
| PIDFILE: /tmp/server.pid | |
| PORT: "3000" |
| [Unit] | |
| Description=Sidekiq workers | |
| # start as many workers as you want here | |
| Wants[email protected] | |
| Wants[email protected] | |
| # ... | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/bin/true |
| frontend front_http_plain | |
| mode http | |
| default_backend bck_http_plain | |
| acl too_fast fe_sess_rate ge 10 | |
| acl bursts_inclined path_beg -i /client1 | |
| tcp-request inspect-delay 1000ms | |
| tcp-request content accept unless bursts_inclined too_fast |
| # Schedule script for using Whenever toghether with rbenv | |
| # | |
| # Whenever: https://github.com/javan/whenever | |
| # rbenv: https://github.com/sstephenson/rbenv | |
| set :env_path, '"$HOME/.rbenv/shims":"$HOME/.rbenv/bin"' | |
| # doesn't need modifications | |
| # job_type :command, ":task :output" |
| # This does not appear to recognize the :target => "_blank" when the page is rendered | |
| simple_format(auto_link(@task.description, :html => { :target => "_blank" })) | |
| # However, this works fine | |
| auto_link(simple_format(@task.description), :html => { :target => "_blank" }) |
| # /etc/security/limits.conf | |
| * soft nofile 999999 | |
| * hard nofile 999999 | |
| root soft nofile 999999 | |
| root hard nofile 999999 | |
| =========================================================== | |
| # /etc/sysctl.conf | |
| # sysctl for maximum tuning |