start new:
tmux
start new with session name:
tmux new -s myname
| // Implementation of a UDP proxy | |
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "log" | |
| "net" | |
| "os" |
| !Current Configuration: | |
| !System Description "Powerconnect 6248, 3.2.0.7, VxWorks 6.5" | |
| !System Software Version 3.2.0.7 | |
| !Cut-through mode is configured as disabled | |
| ! | |
| configure | |
| vlan database | |
| vlan 10,20,30,40 | |
| vlan routing 10 1 | |
| vlan routing 20 2 |
| !Current Configuration: | |
| !System Description "PowerConnect 6248, 3.3.7.2, VxWorks 6.5" | |
| !System Software Version 3.3.7.2 | |
| !Cut-through mode is configured as disabled | |
| ! | |
| configure | |
| vlan database | |
| vlan 100,200 | |
| vlan routing 100 1 | |
| vlan routing 200 2 |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "strconv" | |
| "github.com/miekg/dns" | |
| ) |
| # -*- coding: utf-8 -*- | |
| from flask import Flask | |
| from flask import Response | |
| from flask import stream_with_context | |
| import requests | |
| app = Flask(__name__) |
| import copy | |
| import os | |
| import airflow | |
| from airflow import DAG | |
| from datetime import datetime, timedelta | |
| from airflow.providers.google.cloud.transfers.gcs_to_local import GCSToLocalFilesystemOperator | |
| from airflow.contrib.operators.sftp_operator import SFTPOperator | |
| from airflow.operators.python_operator import PythonOperator | |
| from airflow.operators import bash_operator |
| from apache_beam.options.pipeline_options import PipelineOptions | |
| from google.cloud import pubsub_v1 | |
| from google.cloud import bigquery | |
| import apache_beam as beam | |
| import logging | |
| import argparse | |
| import sys | |
| import re | |
| import time | |
| import json |
| #!/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-zA-Z0-9' | fold -w 32 | head -n 1 |