Skip to content

Instantly share code, notes, and snippets.

View castrojo's full-sized avatar

Jorge O. Castro castrojo

View GitHub Profile
+ '[' '!' -f /run/.containerenv ']'
+ grep -q rootless=0 /run/.containerenv
++ id -u
+ '[' 1000 -eq 0 ']'
+ '[' -z libreoffice ']'
+ '[' -n libreoffice ']'
+ '[' -n '' ']'
+ '[' -n libreoffice ']'
+ '[' -n '' ']'
+ '[' -n '' ']'
[Unit]
Description=Update the dconf database onboot
Documentation=https://github.com/coreos/rpm-ostree/issues/1944
[Service]
Type=oneshot
ExecStart=/usr/bin/dconf update
[Install]
WantedBy=multi-user.target
❯ rpm-ostree rebase fedora:fedora/36/x86_64/silverblue
⠓ Receiving objects; 99% (19881/19992) 10.6 MB/s 777.3 MB
Receiving objects; 99% (19881/19992) 10.6 MB/s 777.3 MB... done
Checking out tree 8e68c41... done
Enabled rpm-md repositories: fedora-cisco-openh264 updates fedora tailscale-stable updates-archive
Updating metadata for 'fedora-cisco-openh264'... done
Updating metadata for 'updates'... done
Updating metadata for 'fedora'... done
Updating metadata for 'tailscale-stable'... done
Updating metadata for 'updates-archive'... done
mkdir -p docs/source/aws/resources
c7n-sphinxext --provider aws --output-dir docs/source/aws/resources --group-by=resource_type.service
Traceback (most recent call last):
File "/var/home/jorge/.local/lib/python3.8/site-packages/c7n_sphinxext/docgen.py", line 252, in main
_main(provider, output_dir, group_by)
File "/var/home/jorge/.local/lib/python3.8/site-packages/c7n_sphinxext/docgen.py", line 295, in _main
env = init(provider)
File "/var/home/jorge/.local/lib/python3.8/site-packages/c7n_sphinxext/docgen.py", line 222, in init
load_resources()
File "/var/home/jorge/.local/lib/python3.8/site-packages/c7n/resources/__init__.py", line 20, in load_resources
### Case Studies
Cloud Custodian is used by thousands of organizations to enforce a fleet of policies that control cloud costs, avoid potential breaches, and meet regulatory requirements across an ever-increasing number of cloud services and providers.
Here are a few case studies:
- HBO Max uses Cloud Custodian ([Video](https://www.youtube.com/watch?v=fomDROZ2T-o))to speed their security development and automate and enforce hundreds of security rules and policies across multiple cloud accounts and regions.
- JPMC uses Cloud Custodian ([Video](https://www.youtube.com/watch?v=ITwqLY3YfCk)) as standard governance as a code tool for their cloud environments across various technology groups.
- Zapier uses Cloud Custodian ([Video](https://www.youtube.com/watch?v=NB5GnHmgsa0)) to track, alert, and take actions on security misconfiguration.
- Code42 uses Cloud Custodian to [automate enforcement](https://www.code42.com/blog/tips-from-the-trenches-cloud-custodian-automating-aws-security-cost-and-compliance/) of
[jorge@hamilton ~]$ distrobox-create --name ubuntu-20 --image ubuntu:20.04 -v
+ '[' -n '' ']'
+ '[' -z '' ']'
+ '[' -z ubuntu:20.04 ']'
+ container_manager=podman
+ command -v podman
+ '[' 1 -ne 0 ']'
+ container_manager='podman --log-level debug'
+ '[' -z /var/home/jorge/.local/bin/distrobox-init ']'
+ podman --log-level debug inspect --type container ubuntu-20
Using will's measurement of the 20.08 fdo runtime.
wjt@camille:~$ du -sh /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/20.08
674M /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/20.08
For me:
677M /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/20.08
Default fedora btrfs compression:
etrace --repeat=10 exec --use-snap-run --no-trace todoist --cmd-stderr=/dev/null
2021/07/19 12:09:13 xdotool.go:84:
12:09:21.993 › SNAP env is defined, updater is disabled
Total startup time: 27.187609716s
2021/07/19 12:09:40 xdotool.go:84:
12:09:41.502 › SNAP env is defined, updater is disabled
Total startup time: 2.608612281s
2021/07/19 12:09:43 xdotool.go:84:
12:09:43.993 › SNAP env is defined, updater is disabled
Total startup time: 2.471389079s
pip install c7n
Collecting c7n
Downloading c7n-0.9.11-py3-none-any.whl (485 kB)
|████████████████████████████████| 485 kB 5.3 MB/s
Collecting typing-extensions==3.7.4.3
Downloading typing_extensions-3.7.4.3-py3-none-any.whl (22 kB)
Collecting jsonschema==3.2.0
Downloading jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 3.8 MB/s
Collecting jmespath==0.10.0; python_version >= "2.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0"
# Kubeflow Twitter Guidelines
This repository is part of the automation, to tweet from the [kubeflow](https://twitter.com/kubeflow) twitter account. If you are looking at posting a tweet from the Kubeflow account, please follow the [instructions](#posting-a-new-tweet) below.
## Content Guidelines
We encourage participation and submissions from the community with the Kubeflow twitter account, however there are some guidelines to ensure that the account is managed in a manner appropriate for the project:
- Tweets should not be vendor pitches
- Submissions must contain content that applies broadly to the Kubeflow Community, for example a submission should focus on upstream Kubeflow as opposed to vendor-specific configurations.