I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| description "Description goes here" | |
| author "Your Name" | |
| start on (local-filesystems and net-device-up) | |
| stop on runlevel [!2345] | |
| respawn | |
| exec /path/to/compiled/binary -flag value -flag2 value2 |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| // 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
| const axios = require('axios'); // promised based requests - like fetch() | |
| function getCoffee() { | |
| return new Promise(resolve => { | |
| setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
| }); | |
| } |
sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-nvidia.repo
sudo dnf install cuda-devel cuda-cudnn-devel
sudo dnf install nvidia-settings kernel-devel dkms-nvidia vulkan nvidia-driver-libs nvidia-driver-cudapip install tensorflow-gpu| // the main app file | |
| import express from "express"; | |
| import loadDb from "./loadDb"; // dummy middleware to load db (sets request.db) | |
| import authenticate from "./authentication"; // middleware for doing authentication | |
| import permit from "./permission"; // middleware for checking if user's role is permitted to make request | |
| const app = express(), | |
| api = express.Router(); | |
| // first middleware will setup db connection |
| import {action1, action2} from "myActions"; | |
| import {bindActionCreators} from "redux"; | |
| const mapDispatchToProps(dispatch) => { | |
| return { | |
| manuallyBoundAction : (...args) => dispatch(action1(...args)), | |
| autoBoundAction : bindActionCreators(action2, dispatch), | |
| multipleActionsTogether : bindActionCreators({action1, action2}, dispatch) | |
| } | |
| }; |
| // Based on Glacier's example: http://docs.aws.amazon.com/AWSJavaScriptSDK/guide/examples.html#Amazon_Glacier__Multi-part_Upload | |
| var fs = require('fs'); | |
| var AWS = require('aws-sdk'); | |
| AWS.config.loadFromPath('./aws-config.json'); | |
| var s3 = new AWS.S3(); | |
| // File | |
| var fileName = '5.pdf'; | |
| var filePath = './' + fileName; | |
| var fileKey = fileName; |
| package main | |
| import ( | |
| "log" | |
| "net/http" | |
| "github.com/aws/aws-sdk-go/aws" | |
| "github.com/aws/aws-sdk-go/aws/session" | |
| "github.com/aws/aws-sdk-go/service/dynamodb" | |
| ) |
| #! /bin/sh | |
| # Minikube update script file | |
| # For Macs use /latest/minikube-darwin-arm64 | |
| minikube delete && \ | |
| sudo rm -rf /usr/local/bin/minikube && \ | |
| sudo curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && \ | |
| sudo chmod +x minikube && \ | |
| sudo cp minikube /usr/local/bin/ && \ |
rebase vs merge).rebase vs merge)reset vs checkout vs revert)git rev-parse)pull vs fetch)stash vs branch)reset vs checkout vs revert)