Convert pdf to png easily

I need to quickly convert odfs to image for both online processing and one off processing. Luckily imagemagick had me covered for both. First install imagemagick: sudo apt-get install imagemagick Then use the convert function to do the work: convert example.pdf example.png This will append ## to the file …

October CMS How to replace component templates from plugins

How can you replace component templates from plugins? IE I want to replace the posts default template in the blog plugin with my own markup. Post List from the blog plugin -- Edit -- Use the override of a template instead. -- Old way -- Turns out …

October CMS set preview post length

October CMS is a brilliant new developer focused CMS. It reminds me of working on XenForo in it's ease of creating add-ons. A very nice system. After configuring the blog I needed to limit the post except size for post that didn't have an except. This meant shrinking the normal …

How to format hdfs in AWS Elastic Map Reduce

It's insanely simple. Connect to your master node within AWS Elastic Map Reduce. Then you'll want to connect to the hadoop cluster and reset the NameNode file handlers. hadoop namenode -format That's it. That's how you format the hdfs file system.

How to use load data from s3 in to elastic map reduce

How to load data from s3 in to Amazon Elastic Map Reduce is fairly easy. The trick is to use s3n or s3 at the data source. A = LOAD 's3n://AWSKEY:[email protected]/file-name\*' as (col1:chararray, col12:chararray, col3:chararray, \[...\]);

How to watch nbc extra live on linux

How to watch nbc extra live on linux is simple. It just requires adding a flash plugin. apt-get install adobe-flash This can also be installed via the software manager. Just search for "flash".

How to do decrypt a pgp message

After sending my public pgp key and getting an encoded message back. I need to decrypt a pgp message. I made a pgp file by opening a text editor and saving it as "mypgpfile.pgp" gpg -o output.txt mypgpfile.pgp The breakdown: gpg - the command to encode/decode pgp …

How to create a PGP key on linux

First you'll want to create your key. gpg --gen-key Then ascii armor it for sharing. gpg --armor --export [email protected] You can view your keys by using the list command. gpg --list-keys

How to check number of mysql connections on linux

I needed to check how many mysql connections my application currently had. Not from the mysql side but from the application linux server. To do so I checked how many connections where on the mysql port (3306). netstat -antp | grep :3306 | wc -l

Asus boot usb

I needed to reinstall Lint Mint on my Asus Laptop. I couldn't figure out how to boot to usb. Turns out it's a tricky procedure. Have your USB drive plugged in Turn the Zenbook on Enter UEFI by pounding on the esc key Arrow to the right to the "Boot …