LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

TheOuterLinux Mμse - MuseScore vs MIDI2BAM

Posted 06-22-2020 at 06:22 PM by TheOuterLinux
Updated 06-26-2020 at 03:12 PM by TheOuterLinux (Add links)

Cross posted from: https://theouterlinux.gitlab.io/Publ...s/MIDI2BAM.txt
RSS for website version: https://theouterlinux.gitlab.io/Publ...ticleFeed.atom

There is a FOSS RPG game-making project called "OHRRPGCE" that I like to play around with sometimes. It is cross-platform and they even have a DOS version, which is why I made this list that may or may not be help for to someone out there.

Grab the hasta-la-qb+ version...
LQ Newbie
Posted in Uncategorized
Views 2531 Comments 0 TheOuterLinux is offline
Old

Create Images from PDF and recreate PDF from Images...

Posted 04-19-2016 at 07:06 AM by Michael Uplawski
Updated 09-12-2017 at 12:33 PM by Michael Uplawski (a different title for the second script; wording improved)

You might think WTF. But that would be a waste of spontaneity.
Even if the thought has never hit you, this procedure has been useful many times.

Background

My own reasons to convert PDF-files to images, then back to PDF have been
  • PDFs containing unnecessarily huge images
  • PDFs with OpenType fonts which were not correctly embedded
  • PDF content that I did not want to see copied (not easily, at least)
  • PDFs which were originally made from images, that I wanted
...
Attached Images
File Type: png pdf_tiff_sc.png (20.8 KB, 13 views)
Senior Member
Views 229 Comments 1 Michael Uplawski is offline
Old

Bash conversion of Opera sessions to "netscape standard" bookmarks

Posted 06-11-2014 at 03:34 AM by the dsc (linux-related notes)

You run it on the session folder (.win files, usually on ~/.opera/sessions/), and it will generate a single html file with all the bookmarks (taken from the last visited URL for any given tab in that session, hence the file/variable "lasturl" -- the session files record some "history", but this isn't being exported/converted here), and coded "subfolders" for each session file, with the filenames as titles. Every time it runs it rewrites this generated html file....
Member
Posted in Uncategorized
Views 1416 Comments 0 the dsc is offline
Old
Rating: 2 votes, 4.50 average.

Convert Metric <-> Imperial

Posted 01-03-2014 at 04:14 AM by druuna
Updated 01-31-2014 at 03:24 AM by druuna

Converting from metric to imperial and vice versa using bc.

Here are a few examples in the form of functions:

# -------------------------------------------------------------------------- #
# - Imperial to metric
# -------------------------------------------------------------------------- #

  • pounds to kilograms
PHP Code:
# Function : lbToKg
# Syntax   : lbToKg <pounds>
#
# Convert pounds to kilogram
function lbToKg() { 
...
LQ Veteran
Posted in General
Views 3546 Comments 0 druuna is offline
Old

Convert numeral systems (dec <-> bin <-> hex <-> oct)

Posted 12-10-2013 at 03:41 AM by druuna
Updated 01-31-2014 at 03:24 AM by druuna

Converting from one numeral system to another can be done using the bc command.

Here are a few examples in the form of functions:

# -------------------------------------------------------------------------- #
# - Decimal to ....
# -------------------------------------------------------------------------- #
  • Binary
PHP Code:
# Convert decimal to binary
function decToBin() {
  echo 
"obase=2;$1" bc

Code:
$ decToBin 19
10011
...
LQ Veteran
Posted in General
Views 3777 Comments 0 druuna is offline

  



All times are GMT -5. The time now is 04:15 AM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration