Skip to content

Instantly share code, notes, and snippets.

View machadofguilherme's full-sized avatar
🟢
Encerrando minha formação na Trybe

Guilherme Machado machadofguilherme

🟢
Encerrando minha formação na Trybe
View GitHub Profile
@machadofguilherme
machadofguilherme / gist:df7fea89810f30166c0a3a2079fe5a66
Created April 18, 2024 00:44
x11-libs/libdrm-2.4.120::gentoo failed (compile phase)
[ebuild N ] x11-libs/libdrm-2.4.120
Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) x11-libs/libdrm-2.4.120::gentoo
>>> Failed to emerge x11-libs/libdrm-2.4.120, Log file:
>>> '/var/tmp/portage/portage/x11-libs/libdrm-2.4.120/temp/build.log'
* Package: x11-libs/libdrm-2.4.120:0
* Repository: gentoo
* Maintainer: x11@gentoo.org
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@machadofguilherme
machadofguilherme / checklist-context.md
Created October 14, 2022 20:58 — forked from ANDREHORMAN1994/checklist-context.md
Checklist do Context API

Checklist do Context API

Vamos começar criando nossos arquivos dentro da pasta src:

  • Criar uma pasta context;
  • Dentro da pasta context vamos criar um arquivo myContext.js;

Dentro do arquivo myContext.js:

  • Importar do react o createContext;
@machadofguilherme
machadofguilherme / pantheon.md
Created September 15, 2022 03:15 — forked from worldofpeace/pantheon.md
NixOS Pantheon Docs

Pantheon Desktop

Pantheon is the desktop environment created for the elementary OS distribution. It is written from scratch in Vala, utilizing GNOME technologies with GTK 3 and Granite. All of Pantheon is working in NixOS and the applications should be available, aside from a few exceptions. To enable Pantheon, set

services.xserver.desktopManager.pantheon.enable = true;