To move the Postgres DB, get a shell into the PostgreSQL container running on your instance. Use psql
to make a backup of the DB. This can be done while the postgres server is running.
docker ps | grep postgres # Use this to find the container ID
#!/bin/bash | |
cd /root | |
rm -rf /var/www/html/okd4/* | |
rm -rf /root/install_dir/* | |
cp /root/install-config.yaml install_dir | |
openshift-install create manifests --dir=install_dir/ | |
openshift-install create ignition-configs --dir=install_dir/ | |
sudo cp -R install_dir/* /var/www/html/okd4/ | |
sudo chown -R apache: /var/www/html/ | |
sudo chmod -R 755 /var/www/html/ |
To move the Postgres DB, get a shell into the PostgreSQL container running on your instance. Use psql
to make a backup of the DB. This can be done while the postgres server is running.
docker ps | grep postgres # Use this to find the container ID
First, install the proper packages. You'll need to enable multilib
if you haven't already.
pacman -S wine lib32-gnutls
Then, download the MDK
bb=[1,-2,2,-1]; %filter coefficients | |
ww=linspace(-1,1,250); % frequency grid (normalized) | |
HH = freqz(bb,1,ww*pi); % frequency response | |
% Show results in one figure | |
subplot(211); % select top subfigure | |
plot(ww,abs(HH)); % generate plot | |
ylabel('Magnitude') % y axis label | |
xlabel('Freq [\times \pi]') % x axis label | |
grid % this adds a grid |
#!/bin/bash | |
# Put this script in a directory _somewhere._ I'm using `/home/wilnil/Documents/4-2-RIT/CMPE 480/matlab_dingus/` | |
# To run this, cd into your `matlab_dingus` directory, and then `./run_matlab.sh` | |
# Oh, you'll also need podman installed. | |
MATLAB_DINGUS="$PWD" # Wherever you store your matlab files | |
xauth_path=/tmp/matthew-xauth # Where on the host you want to copy your xauth |
/* | |
* File Name: lucidgloves-firmware.ino | |
* LucidGloves Firmware Version 4 | |
* Author: Lucas_VRTech - LucidVR | |
* lucidvrtech.com | |
*/ | |
#include "ConfigUtils.h" | |
#include "AdvancedConfig.h" |
/* | |
* File Name: lucidgloves-firmware.ino | |
* LucidGloves Firmware Version 4 | |
* Author: Lucas_VRTech - LucidVR | |
* lucidvrtech.com | |
*/ | |
#include "ConfigUtils.h" | |
#include "AdvancedConfig.h" |
import argparse | |
from botocore import os | |
from dotenv import load_dotenv | |
import slack_sdk | |
from slack_sdk.errors import SlackApiError | |
def delete_messages(token, channel_id, start_ts, end_ts, inclusive=False): | |
client = slack_sdk.WebClient(token=token) |