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:
var parser = document.createElement('a'); | |
parser.href = "http://example.com:3000/pathname/?search=test#hash"; | |
parser.protocol; // => "http:" | |
parser.hostname; // => "example.com" | |
parser.port; // => "3000" | |
parser.pathname; // => "/pathname/" | |
parser.search; // => "?search=test" | |
parser.hash; // => "#hash" | |
parser.host; // => "example.com:3000" |
# Pass the env-vars to MYCOMMAND | |
eval $(egrep -v '^#' .env | xargs) MYCOMMAND | |
# … or ... | |
# Export the vars in .env into your shell: | |
export $(egrep -v '^#' .env | xargs) |
rules: | |
- id: com.sideci.js.localstorage | |
pattern: | |
token: localStorage | |
glob: | |
- "**/*.js" | |
- "**/*.jsx" | |
- "**/*.ts" | |
- "**/*.tsx" | |
message: | |
(require 'lsp-mode) | |
(lsp-register-client | |
(make-lsp-client :new-connection (lsp-stdio-connection '("bundle" "exec" "steep" "langserver")) | |
:major-modes '(ruby-mode enh-ruby-mode) | |
:priority -2 | |
:server-id 'steep-ls)) | |
(add-hook 'ruby-mode-hook #'lsp) |
name: Release | |
on: | |
push: | |
tags: ["**"] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: |
# See also: | |
# - https://github.com/actions/runner/issues/774 | |
# - https://help.github.com/en/actions/reference/events-that-trigger-workflows#push-event-push | |
# - https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request | |
# - https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions | |
name: "[skip ci]" on Actions | |
on: [push, pull_request] |
# https://github.com/secretlint/secretlint | |
name: secretlint | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['**'] | |
jobs: |
# https://help.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-error-message | |
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#using-a-specific-shell | |
name: Steep | |
on: pull_request | |
jobs: | |
check: | |
runs-on: ubuntu-latest |