Skip to content

Instantly share code, notes, and snippets.

View debxp's full-sized avatar
🙂
I may be slow to respond.

debxp debxp

🙂
I may be slow to respond.
View GitHub Profile
@debxp
debxp / lamppcc.txt
Last active November 10, 2019 11:43
Roteiro de instalação LAMPP + Composer + Cockpit
# Apache
sudo apt install apache2 apache2-utils
sudo a2enmod rewrite
sudo systemctl restart apache2.service
# Pasta public_html do usuário padrão...
mkdir -p "$HOME/public_html"
sudo ln -s "$HOME/public_html" "/var/www/html/$USER"
# MariaDB
@debxp
debxp / f2m.sh
Created December 7, 2019 18:30
LIVE CODING - Script: FuzzyFM
#!/usr/bin/env bash
# -----------------------------------------------------------
# Script : f2m.sh
# Description : Suckless file manager for CLI and GE
# Author : Blau Araujo <[email protected]>
# Version : 0.01 (dev)
# Date : Dec 07, 2019
# License : GNU/GPL v3.0
# -----------------------------------------------------------
@debxp
debxp / i3blocks-module-volume
Created December 14, 2019 12:53
Minhas modificações no módulo original
#!/bin/bash
# Copyright (C) 2014 Julien Bonjean <[email protected]>
# Copyright (C) 2014 Alexander Keller <[email protected]>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
@debxp
debxp / etapas-e-comandos.md
Created December 19, 2019 19:17
Vídeo - Alternando compositor do Xfce com script em shell

Etapas

  1. Criar o lançador normalmente
  2. Localizar o lançador criado
  3. Criar o script para controlar o lançador
  4. Apontar o lançador para executar o script

Alternar compositor do Xfce

@debxp
debxp / xfce-add-launcher.sh
Created January 11, 2020 19:59
A script to add launchers to Xfce panel
#!/usr/bin/env bash
# NOTE: Xfce panel position scheme -------------------------------------------
# (6)--(11)---(9)--(11)--(2)
# | |
# (5) (1)
# | |
# (7) (0) (3)
# | |