Skip to content

Instantly share code, notes, and snippets.

View Globson's full-sized avatar

Samuel Sena Globson

  • Universidade Federal de Minas Gerais
  • Minas Gerais,Brasil
  • X @MuelSena
View GitHub Profile
@Globson
Globson / etc | systemd | system | enable-turbo-boost.service
Created November 18, 2020 18:15 — forked from queses/etc | systemd | system | enable-turbo-boost.service
Linux No TurboBoost Fix. Doesn't work with enabled SecureBoot
[Unit]
Description=Enable Turbo Boost on Intel CPUs
[Service]
ExecStart=/bin/sh -c "/usr/sbin/modprobe msr && /root/turbo-boost.sh enable"
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target
@Globson
Globson / grafo_dfs.cpp
Created October 6, 2019 22:39 — forked from marcoscastro/grafo_dfs.cpp
C++ - Busca em profundidade - DFS
// Grafos - DFS (busca em profundidade)
#include <iostream>
#include <list>
#include <algorithm> // função find
#include <stack> // pilha para usar na DFS
using namespace std;
class Grafo