Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧
Estudando...

Bryan A. S. bryanasdev000

🐧
Estudando...
View GitHub Profile
@bryanasdev000
bryanasdev000 / default.nix
Created Jun 11, 2021
Trying to build Linkerd...
View default.nix
{ lib, fetchFromGitHub, buildGoModule }:
buildGoModule rec {
pname = "linkerd";
version = "2.10.2";
src = fetchFromGitHub {
owner = "linkerd";
repo = "linkerd2";
rev = "stable-${version}";
@bryanasdev000
bryanasdev000 / nvidia.nix
Created May 28, 2021
Snippet with NVIDIA Prime on NixOS
View nvidia.nix
# Services (X)
services = {
tlp = {
enable = true;
settings = {
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_MAX_PERF_ON_AC = 100;
CPU_MAX_PERF_ON_BAT = 90;
@bryanasdev000
bryanasdev000 / shell-config.nix
Created May 17, 2021
Snippet for zsh config on NixOS
View shell-config.nix
zsh = {
enable = true;
autosuggestions.enable = true;
enableCompletion = true;
syntaxHighlighting.enable = true;
interactiveShellInit = ''
eval "$(direnv hook zsh)";
@bryanasdev000
bryanasdev000 / initial-doc-locale-kubernetes.html
Created Feb 19, 2021
Initial report of diff between EN and PT locales of Kubernetes documentation
View initial-doc-locale-kubernetes.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>diff</title>
<meta name="Generator" content="Vim/8.2">
<meta name="plugin-version" content="vim8.1_v2">
<meta name="settings" content="whole_filler,use_css,no_foldcolumn,prevent_copy=,use_input_for_pc=fallback">
<meta name="colorscheme" content="none">
<style>
@bryanasdev000
bryanasdev000 / docker-compose.yml
Created Jun 29, 2020
AWX Cluster with docker-compose
View docker-compose.yml
version: '2'
services:
web:
image: ansible/awx:13.0.0
container_name: awx_web
depends_on:
- redis
ports:
- "80:8052"