Autoplay / Autorun CD/DVD on Mac OS X or Windows

To accomplish you will need the following:
  • Access to a Windows machine
  • Access to a Mac
  • Arainia’s Gizmo Central
  • A basic understanding of how the Mac terminal works
  • Depending on what version you have on your Mac you may need the OS X Developer Tools (Xcode)
Steps:
Part I
In Windows:
1. Prepare Windows data in a folder.
2. Create autorun.inf, place in root folder.
// NOTE: This file MUST be created on a Windows machine or else it will not work!
// The reasoning behind this is the End Of Line (EOL) is different on each system.
autorun.inf contents look like:
open=[exepath\]exefile [param1 [param2] …]  // executes selected file
icon=iconfilename[,index] // Icon displayed, can be from file or
// simply be an icon (.ico) file
label=LabelText  // Name of drive displayed in windows.
shell // Shell execute a command
**********Windows 8 or later**************
UseAutoPlay=1   // Autorun on use 1 to turn it off use 0

Sample autorun.inf file:
[autorun]
open=htmlfile.html // This will open the file “htmlfile.html” in the current directory
icon=myicon.ico // This icon will be displayed as the icon of the CD/DVD
label=MyDrive // This will result in the name of the CD/DVD to be “MyDrive”
UseAutoPlay=1 // Enables autorun on Windows 8

Part II
On the Mac:
1.  Put the Windows and Mac files in the same folder
  • Put autorun.inf in the root (highest level folder of your project)
2.  Set the windows how you want them to open on when the CD/DVD is inserted.
3.  Adding a customized background to the Mac window
  • Make a folder with the main folder and have it open separately from the main window. For simplicity name it “background”
  • Put the image you want to act as the background in it.
  • Press Command + J while focused on the window
  • Drag the image into the Picture box close the background folder
4.  Open the terminal and enter the following
chflags hidden “/path/to/background folder”
// this hides the folder without having to rename it
5.  Make files invisible
Use SetFile to accomplish this, it’s a part of the Mac Developer Tools
To find SetFile from the terminal use the following command (without the quotes):
“which SetFile”
This gives you the path to SetFile
To make files invisible
SetFile -a V /path/to/file/or/folder/you_want_to_hide
6.  Create the ISO from your main folder:
hdiutil makehybrid /source/folder/name -o outputFileName.iso
7.  Mount the ISO in read-write mode:
hdiutil attach -readwrite outputFileName.iso
8.  Place the windows where you want them to be.
9.  Make the current windows setup open when the CD/DVD is inserted:
sudo bless -folder “/Volume/discName” -openfolder “/Volume/discName”
10. Unmount the image. umount /dev/”disk”
  • disk is defined in the mount command

MacBook-Pro:bin user$ mount

/dev/disk0s2 on / (hfs, local, journaled) devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s2 on /Volumes/Command Line Tools (Lion) (hfs, local, nodev, nosuid, read- only, noowners, quarantine, mounted by user)
MacBook-Pro:bin user$ umount /dev/disk3s2
MacBook-Pro:bin user$
11. Mount the image and test it in both Windows and OSX. Modify as needed.
Quoted from: blog.seangolash.net
Advertisements

INFOGRAPHIC: The Ultimate Complete Final Social Media Sizing Cheat Sheet

In June of this year, we published an infographic listing all of the sizing information for images on Facebook, Twitter, Google+, and Pinterest. It was a wildly successful piece of content, totally blowing our expectations out of the water. Unfortunately, while its popularity has flourished, nearly every social network instituted changes to their image sizes, rendering most of the information on the infographic out of date.

We knew we needed to update the information on the cheat sheet, but we weren’t comfortable with simply adjusting one or two figures on the blog post and leaving it as-is. We’d also received a lot of feedback, both on the design and information it contained. We decided to redesign the entire sheet and incorporate a few more social networks.

We also decided to permanently redirect the old sheet here, so that shared tweets, pins, likes, and so on, would lead to the correct sizing dimensions. Additionally, as sizing changes are implemented across social networks, we’ll actively update this sheet – meaning that if you use the embed code at the bottom to share this sheet on your own site, the image will automatically update with changes as they are rolled out. No more out-of-date information.

So, without further ado, here it is – the ultimate, complete, final social media sizing cheat sheet. As before, you can find a simple text list of the pixel dimensions at the bottom. Save this sucker on your hard drive and never Google ‘Facebook cover photo size’ again.

The Ultimate Complete Final Social Media Sizing Cheat Sheet by LunaMetrics

Also, for Instagram:

What Size Does Instagram Save Photos As?

Instagram overrides your image settings but only for the upload versions of the image. Instagram uploads a small file about 8.5″ square at 72dpi but then saves the largest version possible for your device. However, if you import a photo to Instagram instead of using a photo taken with the phone the max resolution to be saved is 612×612.

Quoted from:

photography.about.com

www.lunametrics.com

POSTED ON NOVEMBER 12, 2012 BY DAN WILKERSON

The Bible and Holy Qur’an on Pork

(From The Book: The Truth About Pork)
by Brother Abdul Muhammad

In both Bible and Holy Qur-an Allah (God) condemns the touching & eating of swine flesh. If we agree that Allah (God) is the Best Knower, Foreknower & the All-knowing One, then surely He knows best what foods to eat and not to eat. We must ask the question, “Why does Allah (God) forbid the eating and touching of swine flesh in any form?” First let us look at what Allah (God) says about the eating of swine flesh in both Bible & Holy Qur-an:

Leviticus 11:7-8
“And the swine, though he divided the hoof, and be clovenfooted, yet he cheweth not the cud; he is unclean to you.
“Of their flesh shall ye not eat, and their carcass shall ye not touch; they are unclean to you.”

Deuteronomy 14:8
“And the swine, because it divideth the hoof, yet cheweth not the cud, it is unclean unto you: ye shall not eat of their flesh, nor touch their dead carcass

Here Allah (God) clearly states that the flesh of swine is forbidden to eat and touch. Bible Scholars agree with the Most Honorable Elijah Muhammad, that the King’s meat spoken of in Daniel Ch. 1:8 is referring to swine flesh. In that story Daniel and the three Hebrew boys, followed the instruction of the Best Knower, the Foreknower and the All-knowing One, Allah (God). In the end they were healthier by not eating the King’s meat and drinking his drink. Some of us make the mistake of thinking that the advent of Jesus suspends the Law Allah (God) gave to Moses. Let’s examine Jesus’ words concerning the Law Allah (God) gave to Moses.

Matthew 5:17-19
“Think not that I (Jesus) am come to destroy the law, or the prophets: I am not come to destroy, But to fulfill.
“For verily I say unto you, Till heaven and earth pass, one jot or one tittle shall in no wise pass from the law , till all is fulfilled.
“Whosoever therefore shall break one of these least commandments, and shall teach men so, he shall be called least in the kingdom of heaven: but whosoever shall do and teach them, the same shall be called great in the kingdom of heaven.”

Jesus says he came to fulfill the law Allah (God) gave to Moses. Fulfill means to put into effect, to measure up to. Therefore, Jesus came in the world to put Moses law into effect and make it the reality by which all of us live. This would include Allah’s (God’s) prohibition against swine. Jesus clearly states that he has not come to destroy the law and that the law will not be changed until heaven and earth pass away. Heaven an earth are still present, therefore law is still in place and should be followed. The Most Honorable Elijah Muhammad made and interesting point in reference to this topic. He said to say that the All-wise Allah (God) changed His mind is to say that He is not a Foreknower. Allah (God) is the Foreknower and as the creator of man and pigs is the Best Knower of nature of both of them. Even though pigs are fed grains and corn in some places, this does not negate the FACT that they are filthy and poisonous by nature. If one were to feed a poisonous snake a better diet, it would not change the nature of the snake, being poisonous. If one were to grow a poisonous plant in a different type of soil, it would not prevent the plant from doing by nature what it is created to do. The same principle stands true for the swine. People often make the mistake of thinking that the Most Honorable Elijah Muhammad did not know they food would be filled with all types of hormones and chemicals. To say this is to say that he, as the Messenger of God, was not a foreknower like his Teacher. We would be foolish to say that How to Eat to Live is somehow outdated and Dr. So and So has better guidance than the Messenger of the Best Knower, the Foreknower and the All-Knowing One.

Allah (God) continues his condemnation of the swine as follows:

Isaiah 65:2-4
I have spread out my hands all the day unto a rebellious people, which walketh in a way that was not good, after their own thoughts;
A people that provoketh me to anger continually to my face; that sacrificeth in gardens, and burneth incense upon alters of brick;
Which remain among the graves, and lodge in the monuments, eating swine’s flesh, and the broth of abominable things is in their vessels.”

Isaiah 66:17
“They that sanctify themselves, and purify themselves in the gardens behind one tree in the midst, eating swine’s flesh, and the abomination, and the mouse, shall be consumed together, saith the Lord.”

The word abomination mean abhorrence; disgust, that which is hated, a cause of abhorrence, disgust or hatred. The Most Honorable Elijah Muhammad said that the one tree the people hide behind were the people who used the word of God to justify the consumption of prohibited swine flesh. The Bible condemns those that engage in that type of activity as follows:

Ezekiel 22:26
Her priest have violated my law, and have profaned mine holy things: they have put no difference between the holy and the profane, neither have they shewed difference between the unclean and the clean and have hid their eyes form my sabbaths, and I am profaned among them.

This perfectly describes how those who are charged with the responsibility of using the word of Allah (God), to raise His standard, have used His word to justify their own evil and the evils of he people under their charge. No wonder Jesus says in Matthew 5:19, “Whosoever therefore shall break one of these least commandments, and shall teach men so, he shall be called least in the kingdom of heaven…”
The Holy Qur’an, the book of scripture for over one billion Muslims on earth, also condemns the consumption of swine.

Holy Qur-an 2:173
“He has thus forbidden you only what dies of itself, and blood, and the flesh of swine, and that over which any other (name) than (that of) Allah has been invoked…”

Holy Qur-an 5:3
“Forbidden to you is that which dies of itself, and blood, and the flesh of swine, and that over which any other name than that of Allah has been invoked…”

Holy Qur-an 6:146
“Say, I find not in that which is revealed to me aught forbidden for an eater to eat thereof, except that it be what dies of itself, or blood poured forth, or flesh of swine – for that surely is unclean – or what is a transgression, other than (the name of) Allah having been invoked on it…”

Holy Qur-an 16:115
“He has forbidden you only what dies of itself and blood and the flesh of swine and that over which any other name than that of Allah has been invoked;…”

Excerpted from the book, The Truth About Pork – By Minister Abdul Muhammad