Install Package Control for easy package management.
- Open the console with
Ctrl+`
- Paste in the following:
# Go parameters | |
GOCMD=go | |
GOBUILD=$(GOCMD) build | |
GOCLEAN=$(GOCMD) clean | |
GOTEST=$(GOCMD) test | |
GOGET=$(GOCMD) get | |
GOMODE=$(GOCMD) mod | |
BINARY_NAME=mybinary | |
BINARY_UNIX=$(BINARY_NAME)_unix | |
BINARY_MACOS=$(BINARY_NAME)_darwin |
Install Package Control for easy package management.
Ctrl+`
Install Package Control for easy package management.
Ctrl+`
import socket | |
hostname, sld, tld, port = 'www', 'integralist', 'co.uk', 80 | |
target = '{}.{}.{}'.format(hostname, sld, tld) | |
# create an ipv4 (AF_INET) socket object using the tcp protocol (SOCK_STREAM) | |
client = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
# connect the client | |
# client.connect((target, port)) |
You’ll have to open up the evernote application on either Mac or Windows (they don’t have a linux client), right click on the notebook you want to export, and select “Export.” Select the option to export to html (either one page or several pages, depending on your preference. I went with one html page for each note).
To remove a submodule you need to:
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
#include <stdio.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <netinet/in.h> | |
#include <sys/socket.h> | |
#include <errno.h> | |
#include <stdlib.h> | |
#include <arpa/inet.h> | |
int main(int argc,char **argv) |
/* | |
* udpserver.c - A simple UDP echo server | |
* usage: udpserver <port> | |
*/ | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <netdb.h> |