• Safari’s and Chrome's default styles for HTML5 search input


    thumb The new HTML5 form input types save me tons of work on form validation, and they’ll assist your users in filling them (by providing more in-browser features, alternate keyboard layouts and more). It works great, but unfortunately, the Safari and Chrome browsers uses their own default stylsheet for this inputs, and so you can’t style (add a CSS properties) the search input yourself. I didn’t need this in-browser style for my search input, because I want to add my own CSS properties to searc input, so after some searching, I discovered the below solution.

    Read more →
  • Jekyll post not showing up


    thumb Some time ago I was faced with such a problem. I have tried to add a new post to my Jekyll website, but I could not see it on the generated pages when I run jekyll serve. So what are the some common reasons for a Jekyll post to not be generated?

    Read more →
  • How to generate an Envato Marketplace API key


    thumb In this tutorial I show you how to generate an Envato Marketplace API key. This API can be used for various things, like:

    Read more →
  • Add Google Analytics to a Jekyll website


    thumb Google Analytics allows you to get information about your websites visitors such as the devices or OS they were using and their location. Such information can be very useful for deciding how best to deliver content. Below, I’ll explain how to set up a Google Analytics on Github website that is built using Jekyll.

    Read more →
  • Add Googe AdSense to a Jekyll website


    thumb Google AdSense is a free, simple way to earn money by placing third-party advertisements on a website. My Github hosted Jekyll website is being used primarily as a blog as you can see, so I wanted to host an advertisement at the end of each blog post, just above the comments section.

    Read more →
  • WP Plugin: "Syntax Highlighter for WP Editor"


    thumb An easy to use WordPress plugin that replaces the default Theme and Plugin Source Code Editor with an enhanced editor by a CodeMirror library.

    Read more →
  • WP Plugin: "Simple Scroll to Top Button"


    thumb An easy to use WordPress plugin that gives you the ability to add a “Scroll to Top” button to your website in a simple and elegant way.

    Read more →
  • WP Plugin: "Best Preloader"


    thumb An easy to use WordPress plugin that gives you the ability to add the preloader (animated loading screen indicator) to your website in a simple and elegant way.

    Read more →
  • WP Plugin: "Header and Footer Scripts Inserter"


    thumb An easy to use and lightweight WordPress plugin that gives you the ability to easily insert custom scripts (HTML with JavaScript, CSS and else) in the head or/and footer section of your website.

    Read more →
  • Disabling right-clicking by using JavaScript


    thumb It makes sense to do everything you can to protect your copyrighted content. While there is no way to completely stop people from stealing your images, you can make it harder. Disabling right-clicking is one method you can use to deter casual theft.

    Read more →
  • Creating pop-up windows by using HTML and JavaScript


    thumb Pop-ups windows are some of the most common UI elements that we can find in websites. Sometimes it’s useful to add a pop-up to your pages. You can use it, for example, to create a contact forms (sign-up boxes), photo galleries, or for areas of your website that you might need a link containing “more information”.

    Read more →
  • Custom 404 page for website hosted on GitHub


    thumb Recently I migrated my personal website to Adobe Muse and hosted it on GitHub Pages. Here it is: arthurgareginyan.com. Everything looks good. I tried to preserve my existing URLs. But the process wasn’t perfect. So I created a custom 404 page.

    Read more →
  • Contact form for static website


    thumb I have recently put together an Adobe Muse website hosted in GitHub Pages here: www.arthurgareginyan.com. GitHub Pages accepts static HTML and can’t execute languages like PHP or use a database. I love static websites. They are simple and fast. But they don’t have a back-end to create things such as contact form. So firstly I was just giving my email address on the website, which turned out to be bad idea. Then I googled and stumbled upon Formspree, and I fell in love.

    Read more →
  • Configuring a GoDaddy domain name with GitHub pages


    thumb GitHub Pages is an incredibly simple, user-friendly solution for hosting a simple personal website. By default the address will be username.github.io. Below, I’ll explain how I set up my github.io user page with my own domain name arthurgareginyan.com that registered trough GoDaddy.com.

    Read more →
  • WordPress Download Button


    thumb The WordPress download button is a special button which are linked to file in repository of your software at WordPress.org. In this article you will learn how to add a dark with gradient WordPress download active button to your website or blog, using just code (HTML, CSS & SVG data), without any image files. The design of button and WordPress icon will be generated by code.

    Read more →
  • WP Plugin: "Social Media Buttons Toolbar"


    thumb An easy to use WordPress plugin that gives you the ability to easily add the smart toolbar with social media buttons to any place (post, page, widget, sidebar, footer) of your WordPress website.

    Read more →
  • GitHub Fork Button


    thumb The GitHub fork button is a special button which are linked to repository of your software at GitHub.com. In this article you will learn how to add a GitHub fork button to your website’s or blog’s post, using just code (HTML, CSS & SVG), without any images files. The design of button and GitHub icon will be generated by code.

    Read more →
  • Change the MIME type of file by using Subversion


    thumb MIME stands for “Multipurpose Internet Mail Extensions. It’s a way of identifying files on the Internet according to their nature and format. For example, using the Content-type header value defined in a HTTP response, the browser can open the file with the proper extension/plugin. Or, if this is a screenshot of plugin which located on WordPress.org repository, then it must be opened in the tab of web browser rather than downloaded to computer. Next, I’ll show you how to set the correct MIME Type of a file using Subversion (SVN) from the command line.

    Read more →
  • Git Tags


    thumb Like most VCSs, Git has the ability to tag specific points in history as being important. Typically people use this functionality to mark release points (v0.1, v1.0 and so on). In this post, you’ll learn how to list the available tags, how to create new tags and how to rename or delete the tags.

    Read more →
  • WP Plugin: "All Meta Tags"


    thumb An easy to use WordPress plugin that gives you the ability to EASILY add your Meta Tags to the head section of your website. This is a must have tool for authors and website’s owners.

    Read more →
  • Loading scripts on WordPress admin pages


    thumb Sometimes you may want to create a separate style sheet and/or JavaScript file for settings page of your plugin, versus inserting it into existing code of this page. But how load this script on only a plugin’s or theme’s settings page (on certain /wp-admin pages)?

    Read more →
  • Migrate events of Final Cut Pro X


    thumb To migrate an Event from the application Final Cut Pro X (hereinafter FCPX), from one Mac to another Mac, not enough simply to move this event at the same place on an another Mac, because so event do not appear in the library of FCPX.

    Read more →
  • How to fix: "Setting locale failed."


    thumb In different situations (for example, during the installation of Perl applications, or when I use apt-get install) I get the following warning message:

    perl: warning: Setting locale failed.
    perl: warning: Please check that your locale settings:
    	LANGUAGE = (unset),
    	LC_ALL = (unset),
    	LC_CTYPE = "UTF-8",
    	LANG = "ru_RU.UTF-8"
        are supported and installed on your system.
    perl: warning: Falling back to the standard locale ("C").
    locale: Cannot set LC_CTYPE to default locale: No such file or directory
    locale: Cannot set LC_ALL to default locale: No such file or directory
    
    Read more →
  • How to fix: CodeMirror editor is not loading content until clicked


    thumb I am used CodeMirror 5 in different projects. Now I using it with WordPress plugin API and it’s working perfectly except that the editor is not loading all content until clicked. Nothing appears below line 26 until you click the mouse below that line. The content is there, but it is not visible. It just comes up as a large blank white space. If you click above it, it doesn’t appear, you need to click below it.

    Read more →
  • Increasing the upload_max_filesize


    thumb The default upload file size for php (and, consequently, for WordPress) is 2 MB, which is a problem if you want to upload a files that’s bigger. Follow these steps if you get this message:

    The uploaded file exceeds the upload_max_filesize directive in php.ini
    
    Read more →
  • Add social media buttons to your website


    thumb The social media buttons lets you add icons of the popular social networks which are linked to your social media profiles. You will learn how to add a vertical and horizontal line or lines of social media buttons to your website’s post, sidebar or footer, using whatever icons you prefer.

    Read more →
  • WP Plugin: “My Custom Styles”


    thumb An easy to use WordPress plugin that gives you the ability to EASILY and SAFELY add your custom styles (CSS) to WordPress website’s header.

    Read more →
  • JavaScript with the attribute “CF-Hash” mysteriously added to a source code


    thumb The source code was something like this:

    Read more →
  • Upgrading the SVN working copy to new version


    thumb Today I upgraded the Subversion on my computer from 1.6 to 1.7 version. Subversion version 1.7 has a new repository structure and requires to upgrade all existing working copies.

    Read more →
  • Access to the Library folder (~/Library) in the Finder


    thumb From version of Mac OS X — 10.7, the folder “Library”, in the Finder, by default is hidden from the user.

    Read more →
  • How to fix: "Every call to the add_setting() method needs to have a sanitization"


    thumb Some time ago WordPress.org is changed the rules of the publication of a themes to their repository. And then, I have not been able to publish update of my theme, because of the following error:

    Read more →
  • WP Plugin: “RSS Feed Icon for SpecificFeeds.com"


    thumb An easy to use WordPress plugin that lets you easily add RSS feed icon which connected to SpecificFeeds.com with the shortcode in any place of your website.

    Read more →
  • Terminal Tweaks for OS X Lion 10.7


    thumb Given time, the performance of any computer will tend to degrade – even Macs. In this post I’ll show you tweaks that I use on my MacBook White with Mac OS X 10.7 Lion.

    Read more →
  • Syntax highlighting by CodeMirror & WordPress


    thumb About using of JavaScript library CodeMirror together with CMS WordPress and its integration into WordPress projects (themes and plugins).

    Read more →
  • Antivirus on a Linux machine


    thumb How to, on a Linux machine, using the ClamAV, detect malicious code (trojans, viruses, malware & other malicious threats).

    Read more →
  • SSL Certificate automatically by a BASH script


    thumb To quickly and easily create a self-signed SSL certificate for Web servers Apache and Nginx I wrote a little script in “BASH”.

    Read more →
  • Find and remove .DS_Store and .AppleDouble


    thumb How to find, remove and prevent the creating of the .DS_Store files and .AppleDouble directories on a networked drives.

    Read more →
  • Full controlling the ASUS router via command line


    thumb How to full controlling the ASUS router with original firmware via a command line by the Telnet access protocol.

    Read more →
  • Due to the DoS attack router stops working


    thumb How to fix the issue if, in the logs of the router, you see the message about a DoS attacks and then your ASUS router is down until you reboot it.

    Read more →
  • Enable Telnet on the ASUS RT-N12E/LX router


    thumb How to, in the original firmware, on the router Asus RT-N12E/LX, enable the Telnet access protocol, even if the firmware is not supported this function.

    Read more →
  • Modify or disable Mac OS X Lion’s file locking feature


    thumb Whenever you try to modify a file that you have not touched in over two weeks, you’ll receive the following message:

    The file [File Name] is locked because you haven’t made any changes to it recently.
    
    Read more →
  • Secure copying files via SSH


    thumb How to, from the terminal, securely transfer data between a local host and a remote host or between two remote hosts.

    Read more →
  • Convert many disk image formats to ISO9660 from Terminal


    thumb There are many formats of disk images which is not possible to mount with standard Linux tools. But, with “Iat” tool, we can convert it to ISO format and then mount it with mount command.

    Read more →
  • Find and delete the zero size files and empty directories


    thumb How to, in the terminal, using the find utility, find and optionally delete all zero bytes/size/length files and empty directories in the specified directory including subdirectories.

    Read more →
  • Find and remove duplicate files from the terminal


    thumb If you have a lot of media files (photo, music etc), then most likely you also have a lot of duplicate files. In this article I’ll show you how to find and remove duplicate files, from the terminal, by using fdupes utility.

    Read more →
  • How to fix: “Briefly unavailable for scheduled maintenance”


    thumb How to, in the CMS WordPress, fix the error due to which is displayed the message “Briefly unavailable for scheduled maintenance. Check back in a minute.”

    Read more →
  • Setup Wi-Fi Adapter and Configure Wireless Interface


    thumb I’ll show an example of how to configure a connection to a wireless network from the console of the Debian system by using Wi-Fi Adapter “ASUS USB-N10 Nano” (ID: 0b05:17ba, Driver: rtl8192cu).

    Read more →
  • Connect Raspberry Pi to the WiFi network


    thumb By default the Raspberry Pi uses DHCP to configure its network interfaces, including, on the model B, the built-in ethernet port. In this post I’ll cover how you can set up your Raspberry Pi to automatically connect to your wireless network and obtain a static IP or configure WPA2 using wpa_supplicant. All you need is a WiFi dongle.

    Read more →
  • How to fix: “ping: unknown host ***.com”


    thumb How to fix the issue if you see the message about the host is unknown when attempting to ping a domain name.

    Read more →
  • How to fix: “Host key verification failed”


    thumb When attempting to connect using SSH, the connection may be automatically rejected with the following error:

    Host key verification failed
    
    Read more →
  • Connect to Raspberry Pi from a Mac using Ethernet


    thumb The Raspberry Pi is a great single board computer. However I don’t always want to hook up the Raspberry Pi to some screen and keyboard when working with it. I like to do everything using SSH which is enabled out of the box if you are using the Raspbian distribution. So just hook up it to your router and start hacking. But what if now you don’t have router and only have the Mac?

    Read more →
  • Horizontal Navigation Menu in Blogger


    thumb Navigation menu is an essential part of any blog or website. It helps visitors to easily get the required content the whole blog. I’ll show how to add the horizontal navigation double menu. In the left part which is Pages and in the right part is Labels (Category).

    Read more →
  • Putting two pictures side by side or creating gallery


    thumb When you have many images that you want to include in a blog post, it is important to place them compactly. This way, the reader won’t have to scroll down forever and ever to see your images. Here’s a simple solution to do that.

    Read more →
  • Google Chrome Theme “White Knight”


    White Night Some time ago, for web-surfing, I used Google Chromium Web browser (open-source version of Chrome). Then I created the theme “White Knight”, now I want to share it.

    Read more →
  • WP Plugin: “My Custom Functions”


    thumb EASILY and SAFELY add your own functions, snippets or any custom codes on your WordPress website, directly out of your WordPress Dashbord without need of an external editor.

    Read more →
  • AFP and Bonjour under Linux


    thumb Mac File Server and Time Machine Volume on Linux Machine.

    Read more →
  • BASH aliases


    thumb You can create shortened commands by using aliases. Aliases are very convenient to use for frequently used commands.

    Read more →
  • Migrate iWeb projects


    thumb After purchasing a new Mac, we have to think about migrating projects of sites from iWeb from the old Mac to a new one. Everything, as always, simple.

    Read more →
  • Recursively replace spaces with underscores in file and directory names


    thumb A safe solution to recursively replace spaces with underscores in file and directory names starting from the current directory.

    Read more →
  • Creating public/private key authentication for SSH


    thumb If you use ssh to connect to the remote host, one way to ensure the security of the connection is the use of public/private SSH key, because password is not passed across the network and the system is resistant to attacks by “brute force”.

    Read more →
  • WP Theme: “Anarcho Notepad”


    WP Theme Anarcho Notepad Inspired by the idea of anarchy, I designed this free premium WordPress theme for your personal blogs and diaries. This theme is perfect for writers and artists. “Anarcho Notepad” can be easily customized. It has been translated to different languages. It utilizes latest HTML-5, CSS-3, PHP and WordPress native functions for creating the awesomeness that looks good on every browser. I’m constantly adding new features to this theme to allow you to personalize it to your own needs. I’m glad to present you the most anarchist WP-theme Of All! Enjoy!

    Read more →
  • Clean Linux


    thumb Clean Linux from debris.

    Read more →
  • The graphics in the console Ubuntu


    thumb In the version of Ubuntu 7.10 and above - framebuffer is turned off by default. To enable it we will conduct described below.

    Read more →
  • External optical disk drive from the external HDD drive


    thumb Turn already unnecessary container under the hdd or external drive into an external optical disk drive.

    Read more →

subscribe via RSS