Call this with something like the following
./my_openconnect \
--authenticate \
--external-browser $(which firefox-nightly) \
-u USERNAME \
--protocol=anyconnect \
--authgroup=AUTH_GROUP \
URLCall this with something like the following
./my_openconnect \
--authenticate \
--external-browser $(which firefox-nightly) \
-u USERNAME \
--protocol=anyconnect \
--authgroup=AUTH_GROUP \
URL| #!/bin/bash | |
| FILE=~/.counter | |
| TITLE="Simple Counter" | |
| if [ ! -f "$FILE" ]; | |
| then | |
| echo 0 > $FILE | |
| fi |
| # | |
| # Created by iwishiwasaneagle on 11/01/23. | |
| # | |
| cmake_minimum_required(VERSION 3.23) | |
| project(rtep) | |
| set(CMAKE_CXX_STANDARD 23) | |
| add_executable(rtep main.cpp main.h) |
| import dataclasses | |
| @dataclasses.dataclass | |
| class DCCoord: | |
| x: float | |
| y: float | |
| z: float | |
| heading: float |
| #!/usr/bin/env python3 | |
| """ | |
| Very simple HTTP server in python for logging requests | |
| Usage:: | |
| ./server.py [<port>] | |
| """ | |
| from http.server import BaseHTTPRequestHandler, HTTPServer | |
| import logging | |
| class S(BaseHTTPRequestHandler): |
| # Show all errors, warnings, and undefined messages in log file after compilation with location in log file for further analysis | |
| grep -iHEn "error|warning|undefined" *.log | |
| # Find all the duplicated labels in a directory | |
| grep -ERh "\\\\label\{\w*:\w*\}" --include="*.tex" | tr -d " " | sort | uniq -c | awk '$1>1 {print $0}' | |
| # Validate references.bib using https://github.com/Pezmc/BibLatex-Check | |
| curl https://raw.githubusercontent.com/Pezmc/BibLatex-Check/master/biblatex_check.py 2>/dev/null | python - -b $(find ./ -maxdepth 1 -name "*.bib" | head -n1) -a $(find ./ -maxdepth 1 -name "*.aux" | head -n1) | |
| # Find all the unused labels |
| {"lastUpload":"2021-12-01T09:35:08.389Z","extensionVersion":"v3.4.3"} |