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
| openapi: '3.1.0' | |
| info: | |
| title: Example API | |
| version: '1.0.0' | |
| license: | |
| name: MIT | |
| servers: | |
| - url: https://api.example.com/v1 |
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
| YOUR_SECRET=<value> |
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
| (with-eval-after-load 'lsp-mode | |
| (lsp-register-client | |
| (make-lsp-client :new-connection (lsp-stdio-connection '("bundle" "exec" "rubocop" "--lsp")) | |
| :activation-fn (lsp-activate-on "ruby") | |
| :add-on? t | |
| :server-id 'rubocop-ls))) |
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
| name: Test | |
| on: push | |
| jobs: | |
| ruby-versions: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| versions: ${{ steps.versions.outputs.value }} | |
| steps: |
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
| const postcss = require("postcss"); | |
| const src = "a { background: linear-gradient(to right, #fff, #ddd) }"; | |
| postcss.parse(src).walkDecls((decl) => { | |
| console.log(decl.raws.value.raw); | |
| }); |
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
| { | |
| "problemMatcher": [ | |
| { | |
| "owner": "steep", | |
| "pattern": [ | |
| { | |
| "regexp": "^(.+):(\\d+):(\\d+): \\[(.+)\\] (.+)$", | |
| "file": 1, | |
| "line": 2, | |
| "column": 3, |
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
| brew install openssl | |
| brew install mysql | |
| bundle config set --local build.mysql2 "--with-opt-dir=$(brew --prefix openssl)" "--with-ldflags=-L$(brew --prefix zstd)/lib" | |
| bundle install |
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
| #!/usr/bin/env bash | |
| set -eu -o pipefail | |
| if [[ $# -ne 1 ]]; then | |
| echo "Usage: $0 <repo_url>" | |
| exit 1 | |
| fi | |
| url="$1" | |
| files="$(git ls-files | grep package.json)" |
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
| { | |
| "problemMatcher": [ | |
| { | |
| "owner": "actionlint", | |
| "severity": "warning", | |
| "pattern": [ | |
| { | |
| "regexp": "^([^:]+):(\\d+):(\\d+): (.+) \\[(\\S+)\\]$", | |
| "file": 1, | |
| "line": 2, |
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
| name: Bump git | |
| on: | |
| schedule: | |
| - cron: "0 0 * * 1-5" | |
| workflow_dispatch: | |
| env: | |
| target_file: Dockerfile |
NewerOlder