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
| # Makefile for Advent of Code (or similar daily programming puzzles). | |
| # Kimmo Kulovesi, https://github.com/arkku | |
| # | |
| # This allows you to type `make 3` to compile and run all of your | |
| # solutions for the puzzles of day 3 against both the simple test | |
| # case and the real input. It will time each run, and it will show | |
| # the correct answer under each run (from the file `answers.txt`, | |
| # which you must fill in). | |
| # | |
| # NOTE: This does _not_ fetch anything from the Advent of Code servers |
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
| # Makefile to add the Intel ice driver (E810) as a DKMS module to Debian | |
| # | |
| # Check out the repository https://github.com/intel/ethernet-linux-ice | |
| # into a directory. Put this Makefile into the root of that directory. | |
| # Run `make` as root, which should add the module to DKMS and build it. | |
| # Use `make install` to install, or just `dkms install ice/2.4.5` directly. | |
| # `make clean` to restore the initial state. | |
| # | |
| # When the driver is updated, `git pull` and then just `make` again. It | |
| # should automatically update the version number, as long as the format |
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
| # mongodump --port 27117 --db ace --out "/srv/mongodb-backup-$(date +%Y%m%d)" | |
| # mongo --port 27117 | |
| use ace | |
| # Find network by name | |
| db.networkconf.find({name: "Default"}) | |
| # Some of these settings can't be set in the UI without a UniFi gateway, | |
| # but manually setting the `"purpose": "corporate"` makes the subnet | |
| # visible (for reference). |
OlderNewer