Unable to extract bz2 reddit monthly comments file Mac - macos

Am not able to extract monthly redit comment files downloaded in bz2 format on my computer.
For example, When i extract RC_2005-12.bz2 using The Unarchiver, there is a RC_2005-12 file extracted without any extension. I am not able to open that RC_2005-12 file .
Am using Mac with Sierra. Am downloading files from here http://files.pushshift.io/reddit/comments/
Any help appreciated. Thanks

I just downloaded the RC_2005-12.bz2 file from http://files.pushshift.io/reddit/comments/, and then in my Download folder in Finder, double-click it.
It extracted using the macOS default Archive Utility.
The extracted file, RC_2005-12, is a plan text document and when doubling-clicking it, it open in TextEdit.
If that doesn't work for you, I'd try downloading the file again.

Related

public folder on redmine doesn't recognize binary files

I have put a binary file (.apk) on redmine/public folder but when I try to download that file I only get the text version of that file as text.
How to change that behavior to direct download?
You need to navigate to the httputils.rb file (it's wherever webrick is installed) and add this line to the list of MIME types:
application/vnd.android.package-archive apk
If that seems like a lot of trouble and you're not trying to do anything fancy with this download (e.g. download it directly from an android phone and install it), you can always wrap it in a .zip and call it a day. Zip files will download automatically.

How to make Asset.car file with Xcode?

Is there any command or tool to make the Asset.car file ?
I've found actool but even when i run with no error, it doesn't give me the output file.
Please help. Many thanks.
For more information, what i need is the way to extract the ipa file, change some asset files and zip it back to the ipa file. But for the new versions of Xcode, the asset files is built to Asset.car file so i cannot only copy the assets to the extracted file

Firefox Extensions and XPI installer not working

Hello Im attempting to build a Firefox extension but have run into an issue creating the XPI file,
This tutorial says that the XPI is simply a zip folder renamed, Ive taken a previously installed extension (pinterest) renamed to .zip and it will extract - I can see the plugin files no problem.
If I try and zip then rename my extension to .xpi the plugin will not install - Ive tested this with the pinterest plugin mentioned above and if I rename to zip, extract then rezip and rename back to zpi - the same code will not install. I think there is an issue with the zipping method im using (Windows 7 > Sendto > Compressed .zip)
Just to be clear - I'm not sure my plugin works properly yet, still getting a grip on the files required and naming conventions - however a working package will not work with the same zip process.
Can anyone help with this?
Was zipping from the parent location /folder/contents
Instead of from the contents location
Wokring now.

Creating a installer which will run a specific batch file

I need a help from you. Here is my total scenario:
I have created a batch file which will install some digital certificate. Now I need to make a one click installer(.exe) which will extract all the files (my provided digital certificates and bat file in the .exe file) to the temp folder and run the bat file to install them. After finishing, it delete the extracted files from temp folder. I made the bat file and it is working well but can't make the one click installer.
Can anyone suggest me how to create that one click installer (.exe)?
Windows comes with an integrated installer creator. IExpress.
I prefer 7z for mine. See link in MikeG's comment for additional details.
https://superuser.com/questions/42788/is-it-possible-to-execute-a-file-after-extraction-from-a-7-zip-self-extracting-a

Set directory path to files for installation on Mac

I have some files which need to be placed in a specific directory on a mac system automatically by clicking on the dmg file.
How can I do this?
Thanks
You can't. A dmg file is a disk image, it just contains files. You should create an installer package.

Resources