Skip to content

Instantly share code, notes, and snippets.

View chazdky's full-sized avatar

Chaz Davis chazdky

View GitHub Profile
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?
@oop106
oop106 / intsec_10_20
Created December 6, 2011 22:08 — forked from schuay/intsec_10_20
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?
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 20, 2025 21:04
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@dideler
dideler / 0-startup-overview.md
Last active March 14, 2025 15:00
Startup Engineering notes
@HockeyInJune
HockeyInJune / Security Education.md
Last active April 12, 2020 14:52
Security Education

Accredited Universities

Full Online Courses

anonymous
anonymous / v.sh
Created November 25, 2015 00:41
#!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)
@fisadev
fisadev / work
Created December 3, 2015 14:57
A python script to launch my tmux things at once
#!/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 *
@B-Galati
B-Galati / tmux.sh
Last active September 8, 2022 13:00
tmux script example
#!/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