Skip to content

SIMPLIFY3D DOES NOT START

This is a quick fix for those times when Simplify3D does not start. Even if you reinstall the application, it refuses to start.

Here is how you fix it

Open

C:/Users/%username%/AppData/Local/Simplify3D/S3D-Software

Delete the file named “savedState.factory”

Now Simplify3D will start

AUTOMATICALLY REFRESH A WEBPAGE

  • Articles

Here is the code, that you will want to add to the header of your website. It will automatically refresh the page for you at a predetermined time interval. This code works with static pages, and each CMS like drupal, wordpress, and others

<meta http-equiv="refresh" content="60">

SCRAPE HISTORICAL FINRA SHORT DATA

To quickly get all the data from this page and all the sub pages:

You will need to run the following on a UBUNTU box

Open a terminal

mkdir finra-historical && mkdir all-years && mkdir downloads && cd finra-historical/downloads

wget -r -np -c -H https://www.finra.org/filing-reporting/trf/trf-regulation-sho-2020

after the scrape completes type

mv regsho.finra.org ../allyears

cd ../

rm -R downloads

This will move only the downloads you want, over to the directory called all-years, and it will delete all the data that is extra

SCRAPE DAILY SHORT DATA FROM FINRA

Here is a quick how-to on getting the daily short data. From this I look to see if the short volume has increased or decreased on a particular stock by leveraging a Power BI Dashboard that I had created. This guide is to show the simple command I run to initially scrape all the data

From a Linux box

Open a terminal

Type:
mkdir FINRA
cd FINRA
wget -r -np http://regsho.finra.org/regsho-Index.html

After it downloads the data I run
rm *.html

To remove the additional files that are not relevant, and then I move the data to where I need it

PARROT OS – UNZIP FILES ALONG WITH ZIPPED FILES IN SUBFOLDERS

This is a quick how-to on unzipping files using Parrot Security OS

Open a terminal
Navigate to the directory where the zipped files are
Type
unzip -d filename.zip

If you have a Zipped file that contains sub folders with additional zipped files you can unzip everything by typing
for z in *.zip; do unzip “$z”; done

You’re welcome

RASPBERRY PI 4 – OS VERSION

Quick, simple trick to see the Version of the Operating system that you are using

Open a terminal
from a terminal, type:
cat /etc/os-release

It will return something like this
NAME=”Ubuntu”
VERSION=”21.04 (Hirsute Hippo)”
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME=”Ubuntu 21.04″
VERSION_ID=”21.04″
HOME_URL=”https://www.ubuntu.com/”
SUPPORT_URL=”https://help.ubuntu.com/”
BUG_REPORT_URL=”https://bugs.launchpad.net/ubuntu/”
PRIVACY_POLICY_URL=”https://www.ubuntu.com/legal/terms-and-policies/privacy-policy”
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute

As you can see, my version is Ubuntu 21.04

EXPORT TELEGRAM CHAT HISTORY FOR DATA ANALYTICS

From time to time you come across very valuable telegram channels with great information in them. You can run analytics on the chats, to identify trends and make decisions based on the data. To export the data perform the following:

Download and install the Telegram Desktop App
Login using your phone number and the code that Telegram sends you in the Phone App
Click on the Telegram Channel that you want to export
Click on the three dots at the top right of the chat window
Select Export Chat History
Place a check mark in all of the boxes, set the size limit to 2000MB and then click export
This will give you all the data.
If you want chats only, make sure you do not place checkmarks in all the extra fields
Click Export
Click Allow from your phone (yes you need to use both the desktop app and your phone app)
After 24 hours or so the Data will be available for you to download

WINDOWS 10 CONVERT IMAGES TO PDF

To convert scanned images, documents, or anything else for that matter, on a Windows 10 computer, you dont need any paid versions of software. You can do it directly from your computer

Here’s how

Open the folder that contains the documents
Click on the first document
Hold the Shift Key and click on the last document
This will select all of the ones you want
Right click on the highlighted documents
Select Print
And instead of printing to a Printer, hit the dropdown menu and select Print to PDF
Click Print
Give the document a name, and you now have a PDF from it!

ERROR: Can’t start miner, cuda exception in [check_if_cuda_really_exists, 248], invalid argument

I just rebooted my miner, had not run any updates, had not run anything, just rebooted my miner, tried turning t-rex back on, and received the following error: ERROR: Can’t start miner, cuda exception in [check_if_cuda_really_exists, 248], invalid argument

To fix this I had to perform the following
Login to the miner
Type:
sudo bash
apt-get update
apt-get upgrade
y
ubuntu-drivers devices
Check to see if the 450 driver is available:

vendor : NVIDIA Corporation
model : GP102 [GeForce GTX 1080 Ti]
driver : nvidia-driver-390 – distro non-free
driver : nvidia-driver-460-server – distro non-free
driver : nvidia-driver-450-server – distro non-free
driver : nvidia-driver-460 – distro non-free recommended
driver : nvidia-driver-418-server – distro non-free
driver : nvidia-driver-450 – distro non-free
driver : xserver-xorg-video-nouveau – distro free builtin

Now run the following command
apt purge nvidia-driver-460-server
y
apt install nvidia-driver-450-server
y
reboot

Once your miner comes back online, you can now run t-rex fine.

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):
https://amzn.to/2JqvXC8

Motherboard (QTY 1): 
https://amzn.to/2JqGJZ7

CPU (QTY 1): 
https://amzn.to/3qevp2X

Memory (QTY 1): 
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):  
https://amzn.to/3lic3X5

Risers (QTY 6):  
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

Power Switch (QTY 1):  
https://amzn.to/3ljmNVk