Mostly Forgotten https://smajnr.net Just another WordPress site Fri, 29 Nov 2019 05:15:48 +0000 en-US hourly 1 https://wordpress.org/?v=5.3.1 Windows and Office Keyboard Shortcuts https://smajnr.net/2019/11/windows-and-office-keyboard-shortcuts.html Fri, 29 Nov 2019 04:00:59 +0000 https://smajnr.net/?p=607 Here’s a list of pages that have keyboard shortcuts in Windows and Office applications:

]]>
am i doing this right? https://smajnr.net/2019/11/am-i-doing-this-right.html Mon, 25 Nov 2019 01:36:32 +0000 https://smajnr.net/?p=596 A plate with sections for food types, two hot dogs on the side for protein and grains. On the other half, three hot peppers. The side with hot peppers is labelled "Vegetables and Fruits". ]]> Install Request Tracker on Fedora Workstation 31 https://smajnr.net/2019/11/install-request-tracker-on-fedora-workstation-31.html Sat, 23 Nov 2019 21:19:04 +0000 https://smajnr.net/?p=592 Requirements

You’ll need the following:

  • Perl
  • Make
  • Curl
  • SQLite
  • esmtp or ssmtp (or a Sendmail alternative)
  • Many additional Perl modules

Installing Requirements

Use the following commands to install all the requirements for Request Tracker version 4.4.4.

# Base requirements
sudo dnf install curl esmtp make perl sqlite

# Installing the Perl modules in several batches
sudo dnf install \
    "perl(Term::ReadKey)" \
    "perl(Getopt::Long)" \
    "perl(Text::ParseWords)" \
    "perl(Term::ReadLine)" \
    "perl(Digest::SHA)" \
    "perl(Pod::Select)" \
    "perl(Digest::MD5)" \
    "perl(Storable)" \
    "perl(Text::Template)" \
    "perl(Time::HiRes)" \
    "perl(Sys::Syslog)" \
    "perl(Digest::base)" \
    "perl(URI::QueryParam)" \
    "perl(File::Glob)" \
    "perl(File::Spec)" \
    "perl(Scalar::Util)" \
    "perl(Encode)" \
    "perl(File::Temp)" \
    "perl(Errno)" \
    "perl(URI)" \
    "perl(Locale::Maketext)" \
    "perl(File::Which)" \
    "perl(Pod::Usage)" \
    "perl(Getopt::Long)" \
    "perl(Mozilla::CA)" \
    "perl(File::Which)"

sudo dnf install \
    "perl(Apache::Session)" \
    "perl(Business::Hours)" \
    "perl(CGI::Cookie)" \
    "perl(CGI::Emulate::PSGI)" \
    "perl(CGI::PSGI)" \
    "perl(CGI)" \
    "perl(Class::Accessor::Fast)" \
    "perl(Clone)" \
    "perl(Convert::Color)" \
    "perl(Crypt::Eksblowfish)" \
    "perl(Crypt::X509)" \
    "perl(CSS::Minifier::XS)" \
    "perl(CSS::Squish)" \
    "perl(Data::GUID)" \
    "perl(Data::ICal)" \
    "perl(Data::Page::Pageset)" \
    "perl(Date::Extract)" \
    "perl(Date::Manip)" \
    "perl(DateTime::Format::Natural)" \
    "perl(DateTime::Locale)" \
    "perl(DateTime)" \
    "perl(DBD::SQLite)" \
    "perl(DBI)" \
    "perl(DBIx::SearchBuilder)" \
    "perl(Devel::GlobalDestruction)" \
    "perl(Devel::StackTrace)" \
    "perl(Email::Address::List)" \
    "perl(Email::Address)" \
    "perl(File::ShareDir)" 

sudo dnf install \
    "perl(GD::Graph)" \
    "perl(GD::Text)" \
    "perl(GD)" \
    "perl(GnuPG::Interface)" \
    "perl(GraphViz)" \
    "perl(HTML::Entities)" \
    "perl(HTML::FormatText::WithLinks::AndTables)" \
    "perl(HTML::FormatText::WithLinks)" \
    "perl(HTML::Mason::PSGIHandler)" \
    "perl(HTML::Mason)" \
    "perl(HTML::Quoted)" \
    "perl(HTML::RewriteAttributes)" \
    "perl(HTML::Scrubber)" \
    "perl(HTTP::Message)" \
    "perl(IPC::Run)" \
    "perl(IPC::Run3)" \
    "perl(JavaScript::Minifier::XS)" \
    "perl(JSON)" \
    "perl(List::MoreUtils)" \
    "perl(Locale::Maketext::Fuzzy)" \
    "perl(Locale::Maketext::Lexicon)" \
    "perl(Log::Dispatch)" \
    "perl(LWP::Protocol::https)" \
    "perl(LWP::Simple)" \
    "perl(LWP::UserAgent)" \
    "perl(Mail::Header)" \
    "perl(Mail::Mailer)" \
    "perl(MIME::Entity)" \
    "perl(MIME::Types)" \
    "perl(Module::Refresh)" \
    "perl(Module::Versions::Report)" 

sudo dnf install \
    "perl(Net::CIDR)" \
    "perl(Net::IP)" \
    "perl(PerlIO::eol)" \
    "perl(Plack::Handler::Starlet)" \
    "perl(Plack)" \
    "perl(Regexp::Common::net::CIDR)" \
    "perl(Regexp::Common)" \
    "perl(Regexp::IPv6)" \
    "perl(Role::Basic)" \
    "perl(Scope::Upper)" \
    "perl(String::ShellQuote)" \
    "perl(Symbol::Global::Name)" \
    "perl(Text::Password::Pronounceable)" \
    "perl(Text::Quoted)" \
    "perl(Text::WikiFormat)" \
    "perl(Text::Wrapper)" \
    "perl(Time::ParseDate)" \
    "perl(Tree::Simple)" \
    "perl(UNIVERSAL::require)" \
    "perl(XML::RSS)"

Download and Unpack Request Tracker

mkdir ~/rt-install
cd ~/rt-install
curl -C - -O "https://download.bestpractical.com/pub/rt/release/rt-4.4.4.tar.gz"
tar xzf ./rt-4.4.4.tar.gz
cd rt-4.4.4

Configure Request Tracker

We’re going to install to $HOME/rt4 with SQLite and use the built-in server.

./configure --prefix=$HOME/rt4 \
    --enable-graphviz \
    --enable-gd \
    --enable-gpg \
    --enable-smime \
    --with-web-handler=standalone \
    --with-db-type=SQLite \
    --with-my-user-group \
    --with-attachment-store=disk

Verify Dependencies are Installed

You’ll want to ensure that everything is ready for install:

make testdeps
# You should see a line at then end stating that
# all dependencies are available.

Install Request Tracker

make install

Configure Installation

Run the built-in server and then browse to http://localhost:8080 to finish the installation. For database setup, you can keep the defaults.

# Run the built-in server
$HOME/rt4/sbin/rt-server --port 8080

Finished

You may need to restart the server once you’ve finished the configuration depending on the options specified.

Alternative Install Method

dnf install rt
]]>
Host Change https://smajnr.net/2019/11/host-change.html Fri, 22 Nov 2019 04:36:01 +0000 https://smajnr.net/?p=586 Once again, I’ve migrated to a new host. Hopefully nothing is missing. Maybe some image links are broken. Perhaps I’ll be inclined to post something more often now…

]]>
Excel tricks that will impress your boss https://smajnr.net/2019/09/excel-tricks-that-will-impress-your-boss.html Sun, 15 Sep 2019 23:12:17 +0000 http://smajnr.net/?p=574 ]]> YouTube Pop-Out Bookmarlet https://smajnr.net/2018/06/youtube-pop-out-bookmarlet.html Sat, 23 Jun 2018 15:47:31 +0000 http://smajnr.net/?p=560 Often times I’ll have a YouTube video playing while I use my computer. I’ve made a bookmarklet to open the embed version of a video which removes a lot of the wasted space on the page so that I can keep the window in the top right corner of my screen. You can use it by dragging the link below to your Bookmark Toolbar. When you click the bookmark, it will pause the current video and open a new window at the same timestamp in the video.
See this snippet on the JavaScript required.
Edit: Updated to auto play video.

]]>
Galileo Thermometer – Temperature Rising Time Lapse https://smajnr.net/2017/07/galileo-thermometer-temperature-rising-time-lapse.html Sun, 23 Jul 2017 15:41:33 +0000 http://smajnr.net/?p=547 ]]> Extracting Music from Heroes of Might and Magic 1 (82M Files) https://smajnr.net/2015/09/extracting-music-from-heroes-of-might-and-magic-1-82m-files.html Sat, 19 Sep 2015 18:25:04 +0000 http://smajnr.net/?p=528 I have Might and Magic 1 from the Might and Magic Humble Bundle. After installation there’s a homm1.gog file which is actually and ISO containing the original music in 82M format.
With info from the Reverse Engineering Wiki page on the 82M file extension I’ve come up with the following command to convert these music files using ffmpeg:

for %f in (*.82M) do ffmpeg -f s8 -ar 22050 -ac 1 -i %f -acodec pcm_u8 -ar 22050 -ac 1 %~nf.wav

This will convert each 82M file to the appropriate WAV format. If you have 82M files from Heroes of Might and Magic 2, you should be able to change the option s8 to u8.

]]>
New Job https://smajnr.net/2014/12/new-job-2.html Thu, 11 Dec 2014 14:19:58 +0000 http://smajnr.net/?p=525 New job, very busy, so tired.

]]>
Why did my computer wake up? https://smajnr.net/2014/03/why-did-my-computer-wake-up.html Tue, 25 Mar 2014 14:38:44 +0000 http://smajnr.net/?p=516 Nice tip from the folks at Lifehacker.com:

How to find out what woke up your computer

]]>