Tested on Windows 10 & Ubuntu 16.
- Check that sshd on Ubuntu is properly configured
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" > | |
<head> | |
<title>Translator example</title> | |
<script src="http://code.jquery.com/jquery-latest.js"></script> | |
<script src="rx.js" type="text/javascript"></script> | |
<script type="text/javascript" | |
src="http://api.microsofttranslator.com/V1/Ajax.svc/Embed?appId=appId"> | |
</script> | |
<script type="text/javascript"> |
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-z0-9' | fold -w 32 | head -n 1 |
#Spider Websites with Wget – 20 Practical Examples | |
Wget is extremely powerful, but like with most other command line programs, the plethora of options it supports can be intimidating to new users. Thus what we have here are a collection of wget commands that you can use to accomplish common tasks from downloading single files to mirroring entire websites. It will help if you can read through the wget manual but for the busy souls, these commands are ready to execute. | |
1. Download a single file from the Internet | |
wget http://example.com/file.iso | |
2. Download a file but save it locally under a different name | |
wget ‐‐output-document=filename.html example.com |
#!/data/data/com.termux/files/usr/bin/bash | |
# | |
# This is a termux-url-opener script to do diffrent tasks on my Android phone | |
# | |
# | |
# | |
# How to use this script | |
############################# | |
# | |
# Install git |
import logging | |
import paramiko | |
class SSH: | |
def __init__(self): | |
pass | |
def get_ssh_connection(self, ssh_machine, ssh_username, ssh_password): | |
"""Establishes a ssh connection to execute command. | |
:param ssh_machine: IP of the machine to which SSH connection to be established. |
CFILES = driver.c | |
obj-m := mkt.o | |
mkt-objs := $(CFILES:.c=.o) | |
ccflags-y += -std=gnu99 -Wall -Wno-declaration-after-statement | |
all: | |
make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules | |
clean: |
, | |
. | |
the | |
and | |
to | |
of | |
a | |
in | |
" | |
: |