-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b778b09
Showing
20 changed files
with
3,001 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
indent_style = space | ||
indent_size = 4 | ||
charset = utf-8 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.idea | ||
/vendor | ||
.phpunit.result.cache |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [v0.1.0] - 2019-06-11 | ||
|
||
### Added | ||
|
||
- `watch` command | ||
- `help` command | ||
- `list` command | ||
|
||
|
||
[Unreleased]: https://github.com/PabloKowalczyk/nvfc/compare/v0.1.0...HEAD | ||
[v0.1.0]: https://github.com/PabloKowalczyk/nvfc/releases/tag/v0.1.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## NVFC - NVidiaFanController | ||
|
||
Written in PHP, fan speed controller for Nvidia graphic cards. | ||
|
||
### Requirements | ||
|
||
- PHP 7.2+ | ||
- Linux OS | ||
- `nvidia-setting` binary, from Nvidia Linux drivers | ||
|
||
### Installation | ||
|
||
```bash | ||
composer global require pablok/nvfc | ||
``` | ||
|
||
### Example usage | ||
|
||
```bash | ||
nvfc watch --start-fan=25 --start-temp=30 --end-temp=90 --end-fan=100 --interval=5 | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
use Symfony\Component\Console\Application; | ||
|
||
require \dirname(__DIR__) . '/vendor/autoload.php'; | ||
|
||
$application = new Application(); | ||
$application->add(new \NvFanController\UserInterface\WatchCommand()); | ||
$application->run(); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"require": { | ||
"php": "^7.2", | ||
"symfony/process": "^4.2", | ||
"symfony/console": "^4.2", | ||
"react/event-loop": "^1.1", | ||
"react/child-process": "^0.6.1", | ||
"react/stream": "^1.1" | ||
}, | ||
"require-dev": { | ||
"roave/security-advisories": "dev-master", | ||
"symfony/var-dumper": "^4.2", | ||
"phpunit/phpunit": "^8.2" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"NvFanController\\": "src" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"NvFanController\\Tests\\": "tests" | ||
} | ||
}, | ||
"bin": [ | ||
"bin/nvfc" | ||
] | ||
} |
Oops, something went wrong.