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
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) |
/* | |
* 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" |
#!/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 |
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 |
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
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
==> Docker <== | |
-- Logs begin at Wed 2020-11-04 14:31:59 UTC, end at Wed 2020-11-04 15:17:03 UTC. -- | |
Nov 04 14:47:28 minikube dockerd[381]: time="2020-11-04T14:47:28.454381299Z" level=warning msg="Error getting v2 registry: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" | |
Nov 04 14:47:28 minikube dockerd[381]: time="2020-11-04T14:47:28.454566995Z" level=info msg="Attempting next endpoint for pull after error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" | |
Nov 04 14:47:28 minikube dockerd[381]: time="2020-11-04T14:47:28.454782697Z" level=error msg="Handler for POST /v1.40/images/create returned error: Get https://registry-1.docker.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" | |
Nov 04 14:47:33 minikube dockerd[381]: time="2020-11-04T14:47:33.456085078Z" leve |
[wnilges@thingsboard-minikube root]$ minikube start --addons=ingress --alsologtostderr -v=5 | |
I1104 09:31:34.310921 285307 out.go:192] Setting JSON to false | |
I1104 09:31:34.313813 285307 start.go:103] hostinfo: {"hostname":"thingsboard-minikube","uptime":69441,"bootTime":1604430853,"procs":232,"os":"linux","platform":"fedora","platformFamily":"fedora","platformVersion":"32","kernelVersion":"5.6.6-300.fc32.x86_64","virtualizationSystem":"kvm","virtualizationRole":"guest","hostid":"d22c7683-b11f-45dd-be6f-c4c007e4e92c"} | |
I1104 09:31:34.314490 285307 start.go:113] virtualization: kvm guest | |
I1104 09:31:34.314887 285307 out.go:110] 😄 minikube v1.14.2 on Fedora 32 (kvm/amd64) | |
😄 minikube v1.14.2 on Fedora 32 (kvm/amd64) | |
I1104 09:31:34.315134 285307 driver.go:288] Setting default libvirt URI to qemu:///system | |
I1104 09:31:34.315189 285307 global.go:102] Querying for installed drivers using PATH=/home/wnilges/.minikube/bin:/home/wnilges/.local/bin:/home/wnilges/bin:/root/.local/bin:/root/bin:/usr/local/sbin:/usr/l |
#!/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/ |