Digital Masters Magazine

Home of Digital Masters

  • Design
  • Photo
  • Video
  • Web
  • Code
  • UX
  • Mobile
Home Archives for Digital Masters
Using Sprites in @media Queries for High-Density Displays

February 2, 2015 By Digital Masters Leave a Comment

Using Sprites in @media Queries for High-Density Displays

One way of speeding up a website is to minimize the number of http requests by combining several small files of the same type. You can do this with scripts, stylesheets, and-by combining images into sprites-with icons and other pictures. So far so good. But using sprites and @media queries gets tricky when addressing devices with a high density display (such as Retina in iOS).

Important update as of 2016-01: HTTP/2 makes sprites obsolete. You should no longer be using this technique! (This article is only of historical value.) [Read more…]

Filed Under: Code, Mobile

Deactivating an Email Account: Prevent Postbox from Fetching New Emails

November 5, 2014 By Digital Masters Leave a Comment

Deactivating an Email Account: Prevent Postbox from Fetching New Emails

If you no longer actively use an email account but want to retain it alongside your other email accounts, Postbox will keep attempting to connect to the server even if you deactivate downloading mail in the preferences. Unfortunately, in the current Postbox 3.0.11 there is no easy way to fix this.

This used to work, but this is no longer the case:
Step 1. Open the Options dialog and click on Advanced > Config Editor. Confirm.

Step 2. Filter for
server:server

Step 3. Make sure the list is sorted by the column Preference Name. Look in the column Value for the name of the email account you want deactivated in Postbox. The corresponding entry in the column Preference Name should look like this:
mail.server.serverXX.name
XX are digits that identify all server settings for this account. Make a note of this identifier.

Step 4. In the column Preference Name, look for the parameter:
mail.server.serverXX.defer_get_new_mail
and set it to
false
Postbox will still try to connect to the server, even though it clearly should not.

What you can do is recreate the folder structure in another functioning mail account of yours, then use Postbox’ Copy command to clone the messages from the non-functioning email account to the directory on your working mail account (for example in its Archive). Next, you need to remove the account that you can no longer access, from the user interface of Postbox so that it stop bugging you for login credentials.

In order to have an account disappear form the user interface, you can remove its identifier from the value of the preference setting:
mail.accountmanager.accounts

This way, you should be able to retain your mail in Postbox and not be bothered with password requests, in other words: eat your cake and have it, too.

Filed Under: Desktop, Miscellaneous Tagged With: email, Postbox

How to Install mcrypt on CentOS 6.x

November 17, 2013 By Digital Masters Leave a Comment

How to Install mcrypt on CentOS 6.x

mcrypt is an amazingly useful php extension you may not be able to live without for long. Here is how to set it up on CentOS 6.x.

Step 1. Make yourself comfortable in a temp directory somewhere on your system:

cd /tmp/

For the following steps, you need to be root, so will either have to prefix commands with sudo, or switch to root; for example on AWS, this is done using:

sudo su

Step 2. Get yourself the rpms to set up repositories:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

and install:

rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

Step 3. Run an update based on the newly set up repositories (just in case):

yum update

Step 4. Install the php-mcrypt module:

yum install php-mcrypt*

Step 5. The mcrypt module needs to be enabled in its own mcrypt.ini file (in the modules directory of your php installation):

extension=mcrypt.so 

as well as inside of your php.ini file (php must be compiled with support for this module):

extension=mcrypt.so

If, at this point, you are wondering where the .ini files are hiding, you can command your php server to disclose their location using:

php-fpm -i

Step 6. Once you ensured that the module will be loaded, restart your server:

service nginx restart; service php-fpm restart

Done.

Filed Under: Webmasters' Insights Tagged With: Linux, PHP

  • « Previous Page
  • 1
  • …
  • 11
  • 12
  • 13
  • 14
  • 15
  • …
  • 20
  • Next Page »

Treat yourself to the best of our content

Courtesy of our friends at substackapi.com

Manhattan beauty

Is this your cup of AI?

Speed is everything: shiny car engine rendering

How to force an older PC to upgrade Windows 10 to Windows 11 when it refuses to go along for the ride

Photo by Warren Wong on Unsplash

The tech revolt. Say goodbye to your favorite search engine that’s been wasting your precious clicks on silly captchas

Change language settings in Adobe Photoshop 2020

How to change the language of Adobe Photoshop

Apple MacBook Pro (16-Inch, 16GB RAM, 1TB Storage) - Space Gray

The new 16-inch MacBook Pro: Faster, slightly heavier but still ultra-light and #WorthTheWait

Change language settings in Adobe Photoshop 2020

If you want to run any of your apps of the Adobe Creative Cloud in another language, you have come to the right place. (There is no need to purchase another license; this is just a setting of your current install.)

Apple MacBook Pro (16-Inch, 16GB RAM, 1TB Storage) - Space Gray

Apple’s new 16-inch MacBook Pro sports even cooler looks than its predecessor. It is also truly different.

What’s up

ActionScript Adobe Adobe CC All-in-One WP Migration Angular 2 Apache Apple assistive technology Belarc Advisor bootable Windows 10 Upgrade DVD crawl disabilities DNG Download tool now Dreamweaver Event Viewer Google GPU HTML iOS iPhone JavaScript Microsoft Windows 10 OpenSSH OS X PayPal performance photos Photoshop PHP product key RAW RSS SEO speed SSD Tim Cook TypeScript upgrade deadline Wall Street Windows Windows 10 Windows 10 Fall Creator's Update Windows 10 free upgrade WordPress

Categories

  • Home
  • Subscribe
  • Advertise
  • Privacy Policy
  • Legal
  • Contact Us

Copyright © 2024 ·Streamline Pro Theme · Genesis Framework by StudioPress · WordPress · Log in