- [ ] Structuring the Chief Information Security Officer Organization
- [ ] Calculation Model of the Status and Staffing for Security Management – A Case Study
- [ ] Best Practices for Security Office Staffing in Federal Facilities
- [ ] The First 101 Days as a New CISO – A Chief Information Security Officer’s Playbook
- [ ] Complexity in a Systems Engineering Context
- [ ] Cyber Intelligence: Best Practices and Biggest Challenges
- [ ] [[https://resources.sei.cmu.edu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import google.protobuf.descriptor | |
from pyspark.sql.types import ( | |
StructType, | |
StructField, | |
StringType, | |
IntegerType, | |
LongType, | |
DoubleType, | |
FloatType, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun gla/chrome-tabs-to-org () | |
(interactive) | |
;; adopted from applescript found here: https://pastebin.com/AXDtWJKL | |
(let* ((osascript-urls (do-applescript " | |
tell application \"Google Chrome\" | |
set allUrls to {} | |
repeat with theWindow in every window | |
set urlsInWindow to {} | |
repeat with theTab in every tab of theWindow | |
set currentUrl to the theTab\'s URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
event manager applet DEFAULT_VLAN_2 | |
event syslog pattern "NATIVE_VLAN_MISMATCH:" period 180 | |
action 10 regexp "with\s([A-Za-z0-9-]*).*\s(.*E.*[0-9].*)\s\(([0-9]*)\)" "$_syslog_msg" _matchA _FarHost _FarInt _FarVlan | |
action 20 regexp "on\s(.*E.*[0-9].*)\s\(([0-9]*)\),\swith" "$_syslog_msg" _matchB _NearInt _NearVlan | |
action 30 syslog msg "Fixing Trunk on $_NearInt to match $_FarInt vlan $_FarVlan native vlan on $_FarHost" | |
action 40 cli command "enable" | |
action 50 cli command "conf t" | |
action 60 cli command "int $_NearInt" | |
action 80 if $_FarVlan eq "2" | |
action 82 cli command " description TRUNK: $_FarHost $_FarInt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from https://twitter.com/thingskatedid/status/1483847024894099458?s=20&t=7HJKiUFH7ucFOZSlCkMflQ | |
# transparent doesn't seem tow work with sixel | |
# convert -trim -bordercolor black -border 20 -transparent black -resize '80%' - - \ | |
brew install libsixel | |
alias idot='dot -Tpng \ | |
-Efontsize=18 -Efontname=sans -Ecolor=white -Efontcolor=white \ | |
-Efontsize=18 -Nfontname=sans -Ncolor=white -Nfontcolor=white \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from http://shallowsky.com/blog/linux/html-mail-in-mutt.html | |
echo -e "\e[1mbold\e[0m" | |
echo -e "\e[3mitalic\e[0m" | |
echo -e "\e[4munderline\e[0m" | |
echo -e "\e[9mstrikethrough\e[0m" | |
echo -e "\e[31mHello World\e[0m" | |
echo -e "\x1B[31mHello World\e[0m" | |
ansi() { echo -e "\e[${1}m${*:2}\e[0m"; } | |
bold() { ansi 1 "$@"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:7.3.1 | |
strings_to_delete=( | |
"pktdatEnc=" | |
"Interface statistics report" | |
"crying" | |
) | |
IFS=$'\n' # dont' break strings_to_delete on words, only newlines (default IFS=$' \t\n') | |
# TODO - wrap into one query |
(emacs-version)
GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.5.0, Carbon Version 158 AppKit 1671.4) of 2019-08-29
GET /
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/gla/.oh-my-zsh | |
# See /usr/local/texlive/2018/index.html for links to documentation. | |
# The TeX Live web site (http://tug.org/texlive/) contains any updates and | |
# corrections. TeX Live is a joint project of the TeX user groups around the | |
# world; please consider supporting it by joining the group best for you. The | |
# list of groups is available on the web at http://tug.org/usergroups.html. | |
# | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# todo, this substitution only works with zsh, and passing shell functions doesn't seem to work with parallel | |
# usage gfr https://github.com/user/fork.git | |
gfr() { git remote add ${${1%/*}##*/} $1; git fetch ${${1%/*}##*/} master:${${1%/*}##*/}; } | |
export -f gfr | |
function curl -v -H "Authorization: token ${GITHUBAPIKEY}" https://api.github.com/repos/${GITUSER}/${GITREPO}/forks | | |
jq '.[].clone_url' | | |
sed "s/\"//g" | | |
parallel -j 1 ./gfr ::: |
NewerOlder