Skip to content

Instantly share code, notes, and snippets.

View r1w1s1's full-sized avatar
:octocat:

Ricardson (r1w1s1) r1w1s1

:octocat:
View GitHub Profile

openpgp4fpr:1F0289DA953E3C65A0F8C1E94892F93AEFDCE4C8

@r1w1s1
r1w1s1 / installing-firefox-nightly.txt
Created April 8, 2024 14:51
Installing Firefox Nightly
PART ONE
Download Firefox 64-bit
cd Downloads
wget -o firefox.tar.bz2 'https://download.mozilla.org/?product=firefox-nightly-latest-ssl&os=linux64&lang=en-US'
tar xvjf firefox.tar.gz
mv firefox firefox-nightly
sudo mv firefox-nightly /opt

Slackware is a Linux distribution known for its simplicity, stability, and adherence to Unix principles. Its philosophy can be summarized by several key principles:

  1. Simplicity: Slackware aims to maintain simplicity in its design and operation. It follows the Unix philosophy of doing one thing and doing it well. This means avoiding unnecessary complexity and keeping the system as streamlined as possible.

  2. Stability: Stability is a primary focus of Slackware. The distribution prioritizes reliability and robustness, favoring proven, stable software packages over bleeding-edge releases. This ensures that the system remains dependable and suitable for production environments.

  3. Minimalism: Slackware provides users with a minimal base system upon installation. It encourages users to customize their setups according to their specific needs, rather than including a plethora of pre-installed software packages. This minimalistic approach allows for greater flexibility and encourages users to learn

@r1w1s1
r1w1s1 / airpods_slackware.md
Created March 8, 2024 17:12
How to connect Apple AirPods to Linux (Slackware 15 and current)

How to connect Apple AirPods to Linux (Slackware 15 and current)

I`m using KDE Plasma 5

Step 1.

Open your terminal.

In the root directory run the command:

@r1w1s1
r1w1s1 / new-wireguard-peer.sh
Created October 20, 2022 14:55 — forked from robinlandstrom/new-wireguard-peer.sh
Script to automatically add configration for a new peer to a wireguard server. It will then print a QR code to the console that can be used to add the config to the Android or OS X wireguard client.
#!/bin/bash
readonly INTERFACE="wg0"
# Generate peer keys
readonly PRIVATE_KEY=$(wg genkey)
readonly PUBLIC_KEY=$(echo ${PRIVATE_KEY} | wg pubkey)
readonly PRESHARED_KEY=$(wg genpsk)
# Read server key from interface
@r1w1s1
r1w1s1 / Jenkinsfile
Created June 13, 2022 14:20 — forked from merikan/Jenkinsfile
Some Jenkinsfile examples
Some Jenkinsfile examples
@r1w1s1
r1w1s1 / Praticas_SRE.md
Last active August 21, 2021 17:39
Gist das melhores práticas de SRE

Práticas SRE

Métricas e Monitoramento Planejamento e Capacidade Gestão de Mudanças Resposta a Incidentes Cultura
Dashboard Previsão Consultoria no Desenho Plantão Trabalho Manual
SLOs Baseada em Demanda Processo de Lançamento Analises Engenharia Alinhada
Ánalises Performance Automação Postmortems Blamelessness
@r1w1s1
r1w1s1 / php5.6-pgsql.Dockerfile
Created June 8, 2018 17:14 — forked from ben-albon/php5.6-pgsql.Dockerfile
Docker PHP Image with PostgreSQL Driver
FROM php:5.6-apache
RUN apt-get update && apt-get install -y libpq-dev && docker-php-ext-install pdo pdo_pgsql
COPY src/ /var/www/html
@r1w1s1
r1w1s1 / Caddyfile
Created May 31, 2018 16:05 — forked from abiosoft/Caddyfile
Caddy wordpress docker-compose
:80
root /usr/src/wordpress
gzip
fastcgi / wordpress:9000 php
rewrite {
if {path} not_match ^\/wp-admin
to {path} {path}/ /index.php?_url={uri}
}
log stdout
errors stderr