Skip to content

Instantly share code, notes, and snippets.

View rngadam's full-sized avatar
💭
coderbunker.ca

Ricky Ng-Adam rngadam

💭
coderbunker.ca
View GitHub Profile

How to setup an Aries development environment

Goals

  • For the purpose of developing Aries digital identity agent
  • At least one green test suite as a starting point
  • Facilated cloud development on faster server machines with better network
  • Shared development resources (prebuilt containers)

version

aries-agent-test-harness $ git rev-parse HEAD 93e39a53d314e7567f6505356a0ce61750a52509

error:

13.94 Collecting prompt_toolkit~=2.0.9
13.95   Downloading prompt_toolkit-2.0.9-py3-none-any.whl (337 kB)
13.96      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 337.8/337.8 kB 36.0 MB/s eta 0:00:00
[
{
"boxes": [
{
"box": {
"topX": 323,
"topY": 267,
"bottomX": 439,
"bottomY": 371
},
@rngadam ➜ /workspaces/github-workflows (main) $ pip install yamllint
Collecting yamllint
Downloading yamllint-1.33.0-py3-none-any.whl.metadata (4.2 kB)
Collecting pathspec>=0.5.3 (from yamllint)
Downloading pathspec-0.11.2-py3-none-any.whl.metadata (19 kB)
Requirement already satisfied: pyyaml in /home/codespace/.local/lib/python3.10/site-packages (from yamllint) (6.0.1)
Downloading yamllint-1.33.0-py3-none-any.whl (65 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.4/65.4 kB 2.2 MB/s eta 0:00:00
Downloading pathspec-0.11.2-py3-none-any.whl (29 kB)
Installing collected packages: pathspec, yamllint
@rngadam
rngadam / gist:32668d9221e8c173ffce552060e862a3
Created June 13, 2023 12:12
Output from select name, setting, short_desc from pg_settings order by name
|name |setting |short_desc |
|-------------------------------------|--------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
|DateStyle |ISO, MDY |Sets the display format for date and time values. |
|IntervalStyle |postgres |Sets the display format for interval values. |
|TimeZone |America/Toronto
@rngadam
rngadam / gist:2d2eb24c84a40bb17cce2d24f660cabb
Created November 3, 2021 09:35
attempt at creating graph
# Taken from:
# https://hbfs.wordpress.com/2014/09/30/a-quick-primer-on-graphviz/
digraph g {
layout=fdp # Specify used layout engine
bgcolor="#ffffff00"
overlap=scale
start=2
@rngadam
rngadam / gist:3c2c7fcd81cc05abb7d52797d8e5e4cd
Created April 21, 2021 09:00
Fils RSS Québécois et francophone
Sources pour des fils RSS québécois, francophone et d'intérêt public:
* http://www.assnat.qc.ca/fr/fils-rss
* https://www.lesaffaires.com/page/rss
* https://www.quebec.ca/nouvelles
* http://culturenumerique.mcc.gouv.qc.ca/fils-rss/
D'intérêt régionaux:
@rngadam
rngadam / main.yml
Created March 19, 2021 14:04
Example of importing public keys and adding to a generic login user on a machine from ansible
---
# tasks file for ansible-dravedev-developers-ssh
- name: Set up multiple authorized keys
become: yes
become_user: "{{generic_user}}"
tags:
- public_keys
authorized_key:
user: "{{generic_user}}"
state: present