$ scp source_file_path destination_file_path
Single file
###SSH into a remote machine###
ssh user@mydomain.com
#or by ip address
ssh user@192.168.1.1
exit: exit
###Install Something###
#If it's a new server, update apt-get first thing
<html> | |
<head> | |
<title>API Example</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> | |
<script type="text/javascript"> | |
var accessToken = "e858a1d1dec34a619b336676743d15e5"; | |
var baseUrl = "https://api.api.ai/v1/"; | |
var synth; |
python -c 'from uuid import uuid4; print uuid4().get_hex()' |
# Automatically switch to node version that set in .nvmrc | |
# if we change directory to that folder | |
cd() { | |
builtin cd "$@" | |
if [ -e ./.nvmrc ];then | |
{ | |
nvm use | |
} &> /dev/null | |
fi | |
} |
#!/bin/bash | |
# Install the Build and Test Dependencies | |
apt-get update | |
apt-get install -y curl build-essential tcl | |
# Download and Extract the Source Code | |
cd /tmp | |
curl -O http://download.redis.io/redis-stable.tar.gz | |
tar xzvf redis-stable.tar.gz |
At the top of the file there should be a short introduction and/ or overview that explains what the project is. This description should match descriptions added for package managers (Gemspec, package.json, etc.)
Show what the library does as concisely as possible, developers should be able to figure out how your project solves their problem by looking at the code example. Make sure the API you are showing off is obvious, and that your code is short and concise.
$ find /home/username -name "*.log"
more: https://www.linode.com/docs/tools-reference/tools/find-files-in-linux-using-the-command-line
require('crypto').randomBytes(48, function(err, buffer) { var token = buffer.toString('hex'); console.log(token); }); |