Skip to content

Instantly share code, notes, and snippets.

View dev-math's full-sized avatar

Matheus Rocha dev-math

  • São Paulo, Brasil.
  • 03:52 (UTC -03:00)
View GitHub Profile
@SharkPlush
SharkPlush / Linux Laptop Optimizations.md
Last active February 3, 2026 22:01
Linux Laptop Optimizations

I have a website now that includes a more dumbed down but straight forward version of this guide that isnt basied towards Arch Linux but considers most distros. https://linuxguidance.net/improve-battery-and-optimize-your-linux-laptop/

Everything I do in this guide is mostly taken from the Arch Wiki, and is for Arch Linux, obviously this can probably be applied to other Linux distributions especially Arch based ones, this guide is for people who want a laptop with similar effciency they had on Windows or MacOS. I hate the excuse of having to compromise on Linux to have good battery or thermals on laptops.

Please think of this guide as more of a starting point, if you're serious about fully optimizing your laptop research your laptop and the hardware inside of it as that can get you even further down the rabbit hole.

This guide assumes you have a relatively modern laptop with at least an SSD from the factory, if you don't, don't worry you can still probably follow this guide perfectly, if you have a 32-b

@dev-math
dev-math / install.sh
Created December 20, 2021 14:02
Arch Linux Install Guide (txt)
# Set the console keyboard layout. For example:
loadkeys br-abnt2
# Available layouts can be listed with:
ls /usr/share/kbd/keymaps/**/*.map.gz
# Connect to the internet
# Ensure your network interface is listed and enabled, for example with ip-link:
ip link
# For wireless and WWAN, make sure the card is not blocked with rfkill.
@NearHuscarl
NearHuscarl / rofi-emoji.sh
Last active June 14, 2024 16:40 — forked from tadly/rofi-emoji.sh
Rofi emoji picker
#!/usr/bin/env bash
# Source: https://gist.github.com/Tadly/0741821d3694deaec1ee454a95c591fa
#
# Use rofi to pick emoji because that's what this
# century is about apparently...
#
# Requirements:
# rofi, xsel, xdotool, curl, xmllint
#
# Usage:
@alexandre-mbm
alexandre-mbm / touchegg.md
Last active January 12, 2021 04:38
Estudos iniciais para tentar funcionar o Touchegg no Arch Linux

Veja também:

1ª referência fala de Mac e ensina

Pelo que vi em um [vídeo] de referência, não trata-se apenas de instalar o pacote do AUR e esperar que tudo funcione. Ou será necessário aperfeiçoar os arquivos de configuração daquele pacote.

O arquivo a criar é um /etc/X11/xinit/xinitrc.d/touchegg.sh:

@PurpleBooth
PurpleBooth / README-Template.md
Last active March 22, 2026 14:54
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@rxaviers
rxaviers / gist:7360908
Last active March 22, 2026 22:04
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@spudbean
spudbean / gist:1558257
Last active March 18, 2026 18:49
Look of disapproval and other emoticons
ಠ_ಠ
( ͡° ͜ʖ ͡°)
¯\_(ツ)_/¯
(╯°□°)╯︵ ┻━┻
http://www.fileformat.info/convert/text/upside-down.htm
WRTTN http://wrttn.me/30dbfd/
Unicode Emoticons
@endolith
endolith / Has weird right-to-left characters.txt
Last active March 19, 2026 15:27
Unicode kaomoji smileys emoticons emoji
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶