A newbie friendly guide to configuring Vim in NixOS
Create the following file struture in /etc/nixos
/etc/nixos
|-- apps
|-- vim
|-- default.nix
|-- vimPlugins.nix
This tutorial describes how to install TLS to a mail server consisting of Postfix and/or Dovecot by using Let's Encrypt certificates with automatic renewing and firewall management.
The system used for this tutorial was:
$ lsb_release -idrc
Distributor ID: Ubuntu
const DeepstreamServer = require('deepstream.io'); | |
const MongoDBStorageConnector = require('deepstream.io-storage-mongodb'); | |
const C = DeepstreamServer.constants; | |
/* | |
The server can take | |
1) a configuration file path | |
2) null to explicitly use defaults to be overriden by server.set() | |
3) left empty to load the base configuration from the config file located within the conf directory. | |
4) pass some options, missing options will be merged with the base configuration | |
*/ |
#!/bin/sh | |
# Prepare to build the FTDI module the NVIDIA Jetson TX2 | |
if [ $(id -u) != 0 ]; then | |
echo "This script requires root permissions" | |
echo "$ sudo "$0"" | |
exit | |
fi | |
# Go to the kernel sources | |
cd /usr/src/linux-headers-$(uname -r) | |
# Get the kernel configuration file |
Building Tensorflow from source on Ubuntu 16.04LTS for maximum performance:
TensorFlow is now distributed under an Apache v2 open source license on GitHub.
On Ubuntu 16.04LTS+:
Step 1. Install NVIDIA CUDA:
To use TensorFlow with NVIDIA GPUs, the first step is to install the CUDA Toolkit as shown:
########################################## | |
# To run: | |
# curl -sSL https://gist.githubusercontent.com/sirkkalap/e87cd580a47b180a7d32/raw/d9c9ebae4f5cf64eed4676e8aedac265b5a51bfa/Install-Docker-on-Linux-Mint.sh | bash -x | |
########################################## | |
# Check that HTTPS transport is available to APT | |
if [ ! -e /usr/lib/apt/methods/https ]; then | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https | |
fi |
// CONFIGURE THESE VALUES FIRST | |
// ---------------------------- | |
// Your secure auth token, found at https://www.twilio.com/user/account | |
var TWILIO_AUTH_TOKEN = 'wwwxxxyyyzzz'; | |
// An administrator's phone number | |
var ADMIN_PHONE = '+16518675309'; | |
// Your server's public IP address |