Skip to content

Instantly share code, notes, and snippets.

View castrojo's full-sized avatar
🦖
Bluefin forever!

Jorge O. Castro castrojo

🦖
Bluefin forever!
View GitHub Profile
#!/usr/bin/env python3
import argparse
import requests
ignore_list = {
'flathubbot'
}
def main():
❯ FLEEK_DEBUG=1 fleek apply -a
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/midcobra/debug.go:49: Debug mode enabled.
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/root.go:30: initializing fleek controller
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:89: config found
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:94: config status: Exists
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:96: config isn't none
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:99: validating config
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:125: flake location: /var/home/jorge/.config/home-manager
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:133: flake struct created
[DEBUG] 2023/04/03 15:15:03 /home/runner/work/fleek/fleek/internal/fleekcli/fleek.go:
+ '[' '!' -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