-
Obtain the OpenSSL FIPS module 2.0 source from the OpenSSL source download page
wget https://www.openssl.org/source/openssl-fips-2.0.13.tar.gz tar -zxvf openssl-fips-2.0.13.tar.gz cd openssl-fips-2.0.13.tar.gz
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
; Written: Fall 2003 | |
; Location: Mississippi State University | |
; For: ECE 4532, CPE Design I | |
; Instructor: Dr. Joe Picone | |
; | |
; Description: Converts analog signals from fiber | |
; optic dataglove into digital signals and | |
; communicates the digital information to a PC | |
; over a RS232 (serial port) link. The code | |
; assumes a 14.7456MHz clock. |
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 -i --rm -v \ | |
`pwd`:/img \ | |
v4tech/imagemagick \ | |
convert \ | |
/img/your-current-emoji-filename.gif \ | |
-white-threshold 95% \ | |
-transparent white \ | |
/img/your-new-emoji.gif |
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 exec <database image> pg_dump -s -U <database username> <database name> | \ | |
# Strip out the namespace because graphviz doesn't know what to do with it | |
sed 's/ public\./ /g' | \ | |
# Turn that thing into a DOTfile! | |
docker run -i --rm mgwalker/sql_graphviz:1.0 > docs/database-diagram.dot | |
docker exec <database image> pg_dump -s -U <database username> <database name> | \ | |
# Strip out the namespace because sql_graphviz doesn't know what to do with it | |
sed 's/ public\./ /g' | \ | |
# Turn that thing into a DOTfile |
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 ubuntu | |
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ | |
alien \ | |
git \ | |
libdbi-perl \ | |
wget \ | |
&& rm -rf /var/lib/apt/lists/* | |
RUN wget https://download.oracle.com/otn_software/linux/instantclient/211000/oracle-instantclient-basic-21.1.0.0.0-1.x86_64.rpm |
To hide all of the browser chrome in Firefox, you will need to use the browser console, which is similar to the web console but applies to the whole browser. By default, the browser console is readonly. To enable interpretted commands, you'll need to edit the browser config:
- navigate to
about:config
- find
devtools.chrome.enabled
- set it to true
If you're a Mastodon moderator looking to quickly suspend a bunch of other instances from federation, here's some code that'll let you do it as a batch. It requires interating with your browser's Javascript console.
- Open your web browser to your Mastodon instance and log in
- Open your browser's Javascript console.
- Safari: command-option-c
- Firefox: command-option-k
- Chrome: command-option-j
- Copy
block.js
below, edit lines 5 and 27 to point to your own instance (replace[your-instance-domain]
), and then paste that into the console and press enter. (There should be an input box at the bottom of the console window.)- You can also edit line 22 if you want to add an internal-only message about why the domains are being blocked. If you don't want a message, change line 22 to just
""
.
- You can also edit line 22 if you want to add an internal-only message about why the domains are being blocked. If you don't want a message, change line 22 to just
- Turn your list of domains to block into a JSON array
This assumes you have GitHub CLI and jq installed. To get a list of admins on a repo, you can run this:
gh api --paginate repos/{{ OWNER }}/{{ REPO }}/collaborators | jq '[ .[] | select(.permissions.admin == true) | .login ]'