Use 1Password's SSH agent to sign Git commits inside VS Code devcontainers across macOS, Linux, and Windows.
- Read the full guide: 1password-ssh-devcontainer-guide.md
- Configure your host to use 1Password's SSH agent
Use 1Password's SSH agent to sign Git commits inside VS Code devcontainers across macOS, Linux, and Windows.
| #! /usr/bin/env ruby | |
| require 'httparty' | |
| require 'json' | |
| require 'pry' | |
| class PerplexityClient | |
| include HTTParty | |
| base_uri 'https://api.perplexity.ai' | |
| API_KEY = "YOULL_HAVE_TO_GET_ONE_OF_YOUR_OWN" |
Making use of the observation that Pi is the area of a circle with diameter equal to one, a brute force calculation of Pi would be to:
Troubleshooting "no sound" issue.
fwupdmgr get-devices output.)Config: /etc/modprobe.d/alsa-base.conf
Credit to @GregMolnar.
This has only been tested with Ruby 3.1.2. YMMV.
rackup app.ru| file_name = 'errors.sql' | |
| error_number = 50_001 | |
| lines = IO.readlines(file_name) | |
| lines.each_with_index do |line, index| | |
| next unless line[/99999/] | |
| lines[index] = line.gsub('99999', error_number.to_s) | |
| error_number += 1 | |
| end |
| require 'octokit' # (See: https://github.com/octokit/octokit.rb) | |
| # (See: https://github.com/settings/tokens OR https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) | |
| personal_access_token = 'ghp_1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' | |
| client = Octokit::Client.new(access_token: personal_access_token) | |
| client.auto_paginate = true | |
| repo_name = 'foo/bar' | |
| releases = client.releases(repo_name) |
In this demo we will: