Skip to main content

Home/ Web Development, Design & Programming/ Group items tagged Files

Rss Feed Group items tagged

Herb Tucker

Linux Knowledge Base and Tutorial - 0 views

  • The UMASK value masks out the bits. The permissions that each position in the UMASK masks out are the same as the file permissions themselves. So, the left-most position masks out the owner permission, the middle position the group, and the right most masks out all others. If we have UMASK=007, the permissions for owner and group are not touched. However, for others, we have the value 7, which is obtained by setting all bits. Because this is a mask, all bits are unset. (The way I remember this is that the bits are inverted. Where it is set in the UMASK, it will be unset in the permissions, and vice versa.)
  • The problem many people have is that the umask command does not force permissions, but rather limits them
  • Therefore, setting the UMASK=007 does not force creation of executable programs, unless the program creating the file does itself).
  • ...6 more annotations...
  • - - regular file c - character device b - block device d - directory p - named pipe l - symbolic link
  • Lets look at a more complicated example. Assume we have UMASK=047. If our program creates a file with permissions 777, then our UMASK does nothing to the first digit, but masks out the 4 from the second digit, giving us 3. Then, because the last digit of the UMASK is 7, this masks out everything, so the permissions here are 0. As a result, the permissions for the file are 730. However, if the program creates the file with permissions 666, the resulting permissions are 620. The easy way to figure out the effects of the UMASK are to subtract the UMASK from the default permissions that the program sets. (Note that all negative values become 0.)
  • You can change it anytime using the umask command. The syntax is simply umask <new_umask>
  • Here the <new_umask> can either be the numeric value (e.g., 007) or symbolic. For example, to set the umask to 047 using the symbolic notation, we have umask u=,g=r,o=rwx
  • Where "new_owner" is the name of the user account we want to sent the owner of the file to, and "filename" is the file we want to change. In addition, you can use chown to change not only the owner, but the group of the file as well. This has the general syntax: chown new_owner.new:group filename
  • Another useful trick is the ability to set the owner and group to the same ones as another file. This is done with the --reference= option, which sets to the name of the file you are referencing. If you want to change just the group, you can use the chgrp command, which has the same basic syntax as chown. Not that both chgrp and chmod can also take the --reference= option. Further, all three of these commands take the -R option, which recursively changes the permissions, owner or group.
Luciano Ferrer

[Tips] Importing data with CSV files - PrestaShop Forums - 3 views

  •  
    "[Tips] Importing data with CSV files Hi there, I imported data from csv files and wanted to share some notes that complement the instructions under http://www.prestasho...g_Product_Data/ I used PrestaShop 1.3.2. - Before importing the csv file in the production environment, test it in a test environment, as it is very easy to make mistakes. - The csv file may not have column headings, as they are taken as another row. - I used Excel to manage the csv files, and had to convert them to utf-8 because of the special characters. It may be done opening the file with a text editor and saving it as utf-8."
palashmohane

Data recovery - 0 views

image

data recovery

started by palashmohane on 10 Jul 22 no follow-up yet
Arch Aznable

Getting A File's Information In Ruby Using File::Stat | Blogfreakz - Web Design and Web... - 0 views

  •  
    An example scenario would be like this: a program has to iterate over the files in a directory and determine the files sizes and the total size. Plus, it must work recursively, totaling the file sizes of all the files in all subdirectories of the current directory. To be able to achieve this task, we use the find library included with Ruby.
Redesign Unit

How to Set Up and Optimize a Sitemap - 0 views

  •  
    A sitemap index file is simply a group of individual sitemaps, using an XML format similar to a regular sitemap file. You can provide multiple Sitemap files, but each Sitemap file that you provide must have no more than 50,000 URLs and must be no larger than 10MB. If you want to list more than 50,000 URLs, you must create multiple Sitemap files.
  •  
    Nice info.
Jennifer Ray

Quick PSD to WordPress Integration Trick : Using WordPress "Featured Image" To Create H... - 0 views

  •  
    Did you know that responsive web design is at boom when it comes to WordPress driven sites. It is a combination of a fluid layout, media queries and high quality graphics implemented together to create a website that fits easily on a particular screen size of Smartphones, iPads or Tablet computers. And we all know that huge image files are majorly responsible for slowing down the loading speed of your web page which results in poor search engine ranking. Taking all this into account, you need to reduce file sizes so that a website can run smoothly on all platforms including mobile devices. Many developers have a hard time to develop highly responsive websites that fits easily on a particular screen size of Smartphones, iPads or Tablet computers. The biggest challenge is how to reduce the size of file to deliver different-sized image files to different devices. Read this post to know everything on how to use WordPress "Featured Image" to create highly Responsive Images
Anton S.

Online .htaccess Editor - 1 views

  •  
    "In several web servers (most commonly Apache) .htaccess is the default name of directory-level configuration files. It provides the ability to customize configuration for requests to the particular directory. However, creating a .htaccess files can be tedious. Now you can create .htaccess files easily online with .htaccess Editor. Simply fill in the form provided, you can then copy and paste the texts from the textarea box to your .htaccess files quickly."
  •  
    You can dating in here. This is a best site dating www.sugarhoneys4u.com www.killdo.de.gg
Herb Tucker

Unix Stat Command: How To Identify File Attributes - 0 views

  • Question: How do I find out all the available file attributes. i.e I would like to know more about a file or directory than what the ls -l command displays
  • Answer: Everything in Unix is treated as files. This includes devices, directories and sockets — all of these are files. Stat command displays file or filesystem status as explained in this article.
  • You can use the same command to display the information about a directory as shown below.
  • ...1 more annotation...
  • You can also use stat command to display the file system information as shown below
Luciano Ferrer

Font2Web - Your Online Font Converter Converting .ttf and .otf to .woff, .eot and.svg - 1 views

  •  
    "This little tool converts any .ttf (TrueType Font) or .otf (OpenType Font) file to .ttf, .otf, .eot, .woff and .svg files. It also creates a CSS file and a demo HTML file to show you how to use it on your website - using CSS @font-face."
manahil007

Ram Cleaner New Speed Booster: Best Junk cleaner - Apps on Google Play - 0 views

  •  
    Ram Cleaner New Speed Booster: Best Junk cleaner is your handy doctor for your smartphones. This ram cleaner for android will solve all your memory, junk files and speed problems. Auto ram cleaner speed booster automatically clear ram when mobile apps on in your android phones. This Ram Cleaner New Speed Booster: Best Junk cleaner cannot use only as 64gb storage space cleaner 64 gb ram expander but you can use it as every mobile ram and junk files and catch phone memory cleaner.Ram Cleaner New Speed Booster: Best Junk cleaner is an auto memory cleaner. It means that if you have opened a lot of different apps, games or files in your mobile, and you forget to close. So if your mobile have this 1 tap ram cleaner. Then don't worry. This doctor ram cleaner speed booster 2018 will take care of your mobile. This one touch ram cleaner or auto ram cleaner 2018 will close all those apps and files which have occupy a lot of memory and is un used. After using this cleaner and booster for android you Will surely share this disk cleaner as world best android mobile ram cleaner software to your friends. So Download this best junk ram and cache cleaner for android and enjoy your boar mobile using.
Adan Shaw

File Conversion Services | In Design Conversion Company - 0 views

  • Keeping up with technology is becoming essential for businesses. We need to ensure smooth conversion of crucial data from one format to another. We can be of help with our file conversion service. We will establish the correct production processes as per your requirement to achieve accuracy and consistent results. We specialize in the conversion of Quark documents to Adobe InDesign. We also do conversions from electronic or hard copy format to the desired format, including SGML/XML/HTML and DTDs.
  •  
    We ensure smooth conversion of crucial data from one format to another and establish the correct production processes as per your requirement to achieve accuracy and consistent results. file conversion services, conversion to electronic format, convert media files online
Vernon Fowler

Best Practices for Speeding Up Your Web Site - 1 views

  • Arranging the images in the sprite horizontally as opposed to vertically usually results in a smaller file size. Combining similar colors in a sprite helps you keep the color count low, ideally under 256 colors so to fit in a PNG8. "Be mobile-friendly" and don't leave big gaps between the images in a sprite. This doesn't affect the file size as much but requires less memory for the user agent to decompress the image into a pixel map. 100x100 image is 10 thousand pixels, where 1000x1000 is 1 million pixels
  • Minification is the practice of removing unnecessary characters from code to reduce its size thereby improving load times. When code is minified all comments are removed, as well as unneeded white space characters (space, newline, and tab). In the case of JavaScript, this improves response time performance because the size of the downloaded file is reduced.
  • Many web sites fall in the middle of these metrics. For these sites, the best solution generally is to deploy the JavaScript and CSS as external files. The only exception where inlining is preferable is with home pages, such as Yahoo!'s front page and My Yahoo!. Home pages that have few (perhaps only one) page view per session may find that inlining JavaScript and CSS results in faster end-user response times. For front pages that are typically the first of many page views, there are techniques that leverage the reduction of HTTP requests that inlining provides, as well as the caching benefits achieved through using external files. One such technique is to inline JavaScript and CSS in the front page, but dynamically download the external files after the page has finished loading. Subsequent pages would reference the external files that should already be in the browser's cache.
  • ...1 more annotation...
  • CSS Sprites are the preferred method for reducing the number of image requests. Combine your background images into a single image and use the CSS background-image and background-position properties to display the desired image segment.
Siraj Mahmood

How to Upload Large Files in WordPress - KnowledgeIDea - 0 views

  •  
    Do you know? upload large files in WordPress is not hardcore problem like before. Previously, In WordPress uploading large files was complicated or nearly impossible task. Probably you will be familia
Saif Shuvo

Professional Web Design & Development Curriculum - 0 views

Lesson: 01 (Dreamweaver Basics & HTML) Introducing Dreamweaver, Elements, Attributes, Table, List, Forms, Formatting, Styles, Image, Hyperlinks. Head, Meta, Scripts, Layout, Fonts, URL- encode ...

webdesign web development

started by Saif Shuvo on 07 Jan 17 no follow-up yet
Anton S.

CSS Prism by Ryan Berg - 1 views

  •  
    "So today I'm launching CSS Prism, a CSS color spectrum inspector. Input the path to any .css file, and it'll output an easy to scan display of all hex colors from the file. Unwanted colors can be edited via a Photoshop-like color picker (using the jQuery color picker) and the resulting .css file can be downloaded for your convenience."
suraj vibhute

15 Free professional looking website templates PSD files - 0 views

  •  
    PSD files are always so helpful for any designer. Many designers give away their work for free on internet which we can use for our personal as well as commercial use. PSD files of websites are great way to use already created web-designs, and learning from it.
magecompinc

How To Create A Unit Test File In Magento 2 - 0 views

  •  
    Basically, Unit Test File in Magento 2 is used to reduce the number of bugs/errors occurred during production. In this article, I will illustrate How to Create A Unit Test File in Magento 2.
lizablogs

Robots.TXT - What Is It And Why Should You Care? - BloggingTub - 0 views

  •  
    Robots.txt is a very important file for modern websites. Developers place it inside the root folder (the same place where the index file is). The reason behind it is that the file tells the search engine robots what pages to crawl and what pages to not crawl.
wordpresshacked

I will remove malware from wordpress site with professional malware removal services - 0 views

There are several steps you can take to try to recover a hacked WordPress website. Here are a few: Remove any malware or malicious code from your website files. This can be done manually or by usi...

wordpress hacked recover protect from future cyber attack DESIGN web development website css webdesign programming webdev Company Tools

started by wordpresshacked on 26 Jan 23 no follow-up yet
1 - 20 of 509 Next › Last »
Showing 20 items per page