This file contains 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
{ config, pkgs, ... }: | |
{ | |
# Enable sound and Bluetooth headset support | |
sound.enable = true; | |
hardware.pulseaudio.enable = true; | |
hardware.pulseaudio.extraModules = [ pkgs.pulseaudio-modules-bt ]; | |
hardware.pulseaudio.package = pkgs.pulseaudioFull; | |
hardware.bluetooth.enable = true; |
This file contains 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
{ config, pkgs, ... }: | |
{ | |
boot.initrd.availableKernelModules = [ | |
"xhci_pci" | |
"ehci_pci" | |
"ahci" | |
"usbhid" | |
"usb_storage" |
This file contains 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
diff --git a/daemon/gamemode-config.c b/daemon/gamemode-config.c | |
index 6b8f5d9..c1fe921 100644 | |
--- a/daemon/gamemode-config.c | |
+++ b/daemon/gamemode-config.c | |
@@ -346,7 +346,7 @@ static void load_config_files(GameModeConfig *self) | |
bool protected; | |
}; | |
struct ConfigLocation locations[CONFIG_NUM_LOCATIONS] = { | |
- { "/usr/share/gamemode", true }, /* shipped default config */ | |
+ { "@gamemode@/share/gamemode", true }, /* shipped default config */ |
This file contains 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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
provision = <<PROVISION | |
echo 'Provisioned!' | |
PROVISION | |
Vagrant.configure("2") do |config| | |
config.vm.box = "precise64" | |
config.vm.box_url = "http://files.vagrantup.com/precise64.box" |
This file contains 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
#!/usr/bin/env python3 | |
""" | |
This is a sample workflow for obtaining data from the Fitbit API in Python. It's pretty scrappy right now as I've hacked it together from http://requests-oauthlib.readthedocs.org/en/latest/oauth1_workflow.html. This example exists for supporting a student project that our company is supporting. | |
Hopefully it's pretty clear how it works. I've tried to leave comments where applicable. | |
Requires requests, requests_oauthlib | |
""" | |
# coding: utf-8 |