start new:
tmux
start new with session name:
tmux new -s myname
| 10.1 explain the differences among the terms security class, security level, security clearance, and security classification. | |
| Context: BLP model, access control concept | |
| security class - assigned to each subject and object, in the simplest form: | |
| security level - form a strict hierarchy and are referred to as security levels (top secret -> secret -> ...) | |
| security clearance - a subject is said to have a security clearance of a given level | |
| security classification - an object is said to have a security classification of a given level | |
| 10.2 what are the three rules specified by the BLP model? |
| 10.1 explain the differences among the terms security class, security level, security clearance, and security classification. | |
| Context: BLP model, access control concept | |
| security class - assigned to each subject and object, in the simplest form: | |
| security level - form a strict hierarchy and are referred to as security levels (top secret -> secret -> ...) | |
| security clearance - a subject is said to have a security clearance of a given level | |
| security classification - an object is said to have a security classification of a given level | |
| 10.2 what are the three rules specified by the BLP model? |
Note: I'm currently taking a break from this course to focus on my studies so I can finally graduate
Accredited Universities
Full Online Courses
| #!env bash | |
| if [ -n "$TMUX" ]; then | |
| # we are in a tmux session... | |
| for i in `tmux list-panes -a |cut -f 7 -d " "` | |
| do | |
| # loop through panes in active tmux session and find first active vim pane | |
| cmd="$(tmux display -p -t $i '#{pane_current_command}')" #look at this pane's running command | |
| cmd="$(basename "$cmd" | tr A-Z a-z)" #normalize basename and lowercase paranoid | |
| if [ "${cmd%m}" = "vi" ]; then | |
| # We have found a pane with vim running lets send it to the pane with :e (change for split/buffer/tab) |
| #!/usr/bin/env python | |
| # coding: utf-8 | |
| from os import system | |
| PROJECT_PATH = 'path_to_your_project' | |
| ACTIVATE_VENV = '. path_to_your_virtualenv/bin/activate' | |
| def tmux(command): |
| ## How to hide API keys from github ## | |
| 1. If you have already pushed commits with sensitive data, follow this guide to remove the sensitive info while | |
| retaining your commits: https://help.github.com/articles/remove-sensitive-data/ | |
| 2. In the terminal, create a config.js file and open it up: | |
| touch config.js | |
| atom config.js |
| #!/usr/bin/env python | |
| import sys | |
| import os | |
| import shlex | |
| import pprint | |
| import re | |
| from subprocess import * | |
| #!/bin/bash | |
| tmux has-session -t dev | |
| if [ $? != 0 ] | |
| then | |
| tmux new-session -s dev -n "TEST" -d | |
| tmux split-window -h -t dev:0 | |
| tmux split-window -v -t dev:0.1 | |
| tmux send-keys -t dev:0.0 'cd ~/foo/bar' C-m | |
| tmux send-keys -t dev:0.1 'autossh -M 0 -o "ServerAliveInterval 60" -o "ServerAliveCountMax 3" test@test -t "cd ~/bar;bash"' C-m |