This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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 |