Note: I configured this thinkfan setup for my old Thinkpad w520 on Ubuntu 17.10.
Install lm-sensors
and thinkfan
.
sudo apt-get install lm-sensors thinkfan
Add the `replication` section to the mongod.conf file: | |
``` | |
$cat /usr/local/etc/mongod.conf | |
systemLog: | |
destination: file | |
path: /usr/local/var/log/mongodb/mongo.log | |
logAppend: true | |
storage: | |
engine: mmapv1 |
# Stop all containers | |
docker stop `docker ps -qa` | |
# Remove all containers | |
docker rm `docker ps -qa` | |
# Remove all images | |
docker rmi -f `docker images -qa ` | |
# Remove all volumes |
Dockerfile | |
.git | |
.git* |
#!/bin/bash | |
#credit https://stackoverflow.com/questions/24815952/git-pull-from-another-repository | |
#initialize repository | |
mkdir dendro-install-uporto | |
cd dendro-install-uporto | |
git init | |
git remote add origin https://github.com/feup-infolab/dendro-install-uporto.git | |
echo "# dendro-install-uporto" >> README.md | |
git add . |
Custom recipe to get OS X 10.9 Mavericks running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a semi-annual fresh install.
The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.
sudo vim /etc/systemd/system/[email protected]
Requires=systemd-modules-load.service
After=systemd-modules-load.service
[Install]
[Unit]
After finding a lot of other posts on the topic that didn't work out for me this one did the trick so I'm reposting for my own sense of self preservation.
Copy the Virtualbox autostart plist template file to your system's LaunchDaemons folder.
sudo cp \
/Applications/VirtualBox.app/Contents/MacOS/org.virtualbox.vboxautostart.plist \
#credits https://stackoverflow.com/questions/26193654/node-js-catch-enomem-error-thrown-after-spawn | |
sudo fallocate -l 4G /swapfile #Create a 4 gigabyte swapfile | |
sudo chmod 600 /swapfile #Secure the swapfile by restricting access to root | |
sudo mkswap /swapfile #Mark the file as a swap space | |
sudo swapon /swapfile #Enable the swap | |
echo "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab #Persist swapfile over reboots (thanks for the tip, bman!) |