Skip to content

Instantly share code, notes, and snippets.

Avatar
🕵️‍♂️
Processing..

Drewry Pope dezren39

🕵️‍♂️
Processing..
View GitHub Profile
View gist:78c28ced4252f457b03599d62a81ce83
By submitting patches to this project you agree to allow them to be redistributed under the project's license, according to the normal forms and usages of the open-source community.
@dezren39
dezren39 / contributor-license-agreement.md
Last active April 18, 2023 23:12
Contributor License Agreement
View contributor-license-agreement.md

Thank you for your interest in contributing to developing.today LLC ("We" or "Us").

The purpose of this contributor agreement ("Agreement") is to clarify and document the rights granted by contributors to Us.

How to use this Contributor Agreement

If You are an employee and have created the Contribution as part of your employment, You need to have Your employer approve this Agreement or sign a copy of this document on behalf of the Entity. If You do not own the Copyright in the entire work of authorship, any other author of the Contribution should also sign this – in any event, please contact Us at cla@developing.today

1. Definitions

@dezren39
dezren39 / window.location.href
Created October 16, 2022 11:49 — forked from cazepeda-zz/window.location.href
Bookmarklet to append a string to the end of a URL
View window.location.href
window.location.href
====================
Bookmarklet to append a string to the end of the URL.
1. Create bookmark.
2. Edit bookmark URL(Chrome) / Location(Firefox) to include this code: javascript:window.location.href=window.location.href+'REPLACETHIS';
3. Now make use of that bookmarklet.
@dezren39
dezren39 / consul-firewalld.md
Created August 11, 2022 21:57 — forked from mbillow/consul-firewalld.md
Consul FirewallD Service Definition
View consul-firewalld.md

Consul FirewallD Service Definition

A simple service definition for Consul agents; meant to simplify the installation process of Consul.

This is based on the information provided by Hashicorp in the Consul Docs.

Installation

  1. Download the XML file:
  • Either wget {raw_url} consul.xml
@dezren39
dezren39 / README.md
Created June 24, 2022 21:54 — forked from bernardomig/README.md
Setup podman and nvidia-container-runtime
View README.md

How to setup nvidia-container-runtime and podman/runc

Podman is such a cool project! However, there is no easy way to setup the nvidia-container-runtime and podman so that we can run unprivileged container in a gpu host. This is specially interesting in environments with multiple people accessing the same host (strong isolation between containers!!!).

Steps to setup the whole system

  1. Install podman and friends (buildah and skopeo)

Ubuntu: add-apt-repository -y ppa:projectatomic/ppa && apt install podman buildah skopeo

@dezren39
dezren39 / README.md
Created June 15, 2022 18:34 — forked from eddiejaoude/README.md
Install Firefox addon/extension with no user interaction
View README.md
@dezren39
dezren39 / README.md
Created June 15, 2022 18:33 — forked from skynode/README.md
Install Firefox addon/extension with no user interaction
View README.md
View simple_decrypt.py
import base64
import hashlib
from Crypto import Random
from Crypto.Cypher import AES
import sys
if len(sys.argv) != 4:
print: ("Usage: simple_decrypt <Plaintext-KMS-DEK> <IV> <Encrypted-BAK-filename>")
sys.exit(1)
View InstallChrome.ps1
$Path = $env:TEMP
$Installer = "chrome_installer.exe"
Invoke-WebRequest "https://dl.google.com/chrome/install/latest/chrome_installer.exe" -OutFile $Path$Installer
Start-Process -FilePath $Path$Installer -Args "/silent /install" -Verb RunAs -Wait
Remove-Item $Path$Installer
@dezren39
dezren39 / README.md
Created May 14, 2022 04:59 — forked from matthewpi/README.md
NixOS on Fedora
View README.md

NixOS on Fedora

Please note that these instructions are not offically supported or condoned by Nix and are not guaranteed to always work, but from my testing everything seems to work perfectly fine.

These steps may not be required if NixOS/nix#2374 is resolved.

SELinux

These commands are required for both Fedora Workstation and Fedora Silverblue