Skip to content

Instantly share code, notes, and snippets.

View MichalTaratuta's full-sized avatar

Michal Taratuta MichalTaratuta

View GitHub Profile
@MichalTaratuta
MichalTaratuta / gpufan.bash
Created February 1, 2021 09:35 — forked from MihailJP/gpufan.bash
Script to control the fan speed automatically (works only for NVIDIA graphic cards)
#!/bin/bash
# Script to control the fan speed automatically
setFanSpeed() {
eval "nvidia-settings -a GPUFanControlState=1 -a [fan:0]/GPUCurrentFanSpeed=$1 > /dev/null"
}
cleanup() {
eval "nvidia-settings -a GPUFanControlState=0"
@MichalTaratuta
MichalTaratuta / boto3_hands_on.md
Created November 1, 2018 20:42 — forked from iMilnb/boto3_hands_on.md
Programmatically manipulate AWS resources with boto3 - a quick hands on

boto3 quick hands-on

This documentation aims at being a quick-straight-to-the-point-hands-on AWS resources manipulation with [boto3][0].

First of all, you'll need to install [boto3][0]. Installing it along with [awscli][1] is probably a good idea as

  • [awscli][1] is boto-based
  • [awscli][1] usage is really close to boto's