Thursday, 12 April 2018 20:42

After I check the folder, I just know that the folder owned by “root” user.

ls -lah
sudo chown whoami .config


Thursday, 12 April 2018 18:48

To disable the creation of .ds_store files, launch the Terminal application from /Applications/Utilities/ and enter the following command string exactly:

defaults write DSDontWriteNetworkStores true
Tuesday, 03 April 2018 00:43
$string = 'Some Text .... 1. 2 .3.  Buy';
$string = preg_replace('~[^0-9]+~','',$string);
echo $string;
// 123 
Wednesday, 07 March 2018 22:18

For delete all version from css & js files in your Wordpress theme - I use function sdt_remove_ver_css_js with one argument. Add this code to your wp-content/themes/your-theme/function.php

// Remove WP Version From Styles
add_filter( 'style_loader_src', 'sdt_remove_ver_css_js', 9999 );
// Remove WP Version From Scripts
add_filter( 'script_loader_src', 'sdt_remove_ver_css_js', 9999 );

// Function to remove version numbers
function sdt_remove_ver_css_js( $src ) {
	if ( strpos( $src, 'ver=' ) )
		$src = remove_query_arg( 'ver', $src );
	return $src;


Monday, 05 March 2018 18:04

First - open Finder -> Go to folder -> /Library/Caches

The second - find file and replays it with your image ;) filename need be same = You also may rename jpg file to png without converting.

1520267119870.jpeg 8d0e6

Tuesday, 13 February 2018 18:05

Open Terminal and enter the following in a single line:

/System/Library/CoreServices/Menu\ Extras/ -suspend
Tuesday, 13 February 2018 15:27

Launch the Terminal, you'll see a list of all your messages. From the mail prompt, do

$ mail
? delete *
? q

And that should be it. Make sure do to the q after the delete * command, that saves the changes to disk.

Friday, 12 January 2018 12:00

Here’s the command. Just paste this line into your Terminal, and press return.

defaults write disable-shadow -bool true
killall SystemUIServer

To test out your new screenshot settings, just take a quick screenshot by pressing the key combination command-shift-4, followed by the spacebar. You should end up with a beautifully clean window screenshot, free of drop shadows. The best part about this is that your screenshot’s dimensions will now finally match the window’s dimensions, without all that added padding introduced by the drop shadow. Nice, huh?

If you no longer want these cleaned up windows, you can switch back to the normal shadowed screenshots by pasting the following into your Terminal:

defaults write disable-shadow -bool false
killall SystemUIServer

Well done!

Friday, 12 January 2018 11:54

On Windows, I could use Tab to shift focus from button to button, so I could "click" on the desired button without having to use a mouse.

It appears that I can't do the same thing on a Mac, or is there a way to do it that I didn't realize?

There is. From System Preferences, under Keyboard » Keyboard Shortcuts, you can enable Full Keyboard navigation. You can also change this by pressing Control+F7

Thursday, 11 January 2018 21:28

For example - if I want to show popup after page load it appears plus how to code it as like it appears after 1 second of page load.

/* Popup messages */

#popup-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.6);
	z-index: 1001;
#popup {
	width: 1017px;
	height: 581px;
	background: url("/images/system/domotex-2018.jpg");
	text-align: center;
	color: #fff;
	border: 1px solid #888;

	box-shadow: #64686e 0px 0px 3px 3px;
		-moz-box-shadow: #64686e 0px 0px 3px 3px;
		-webkit-box-shadow: #64686e 0px 0px 3px 3px;
	position: relative;
	top: 10%;
	margin: 0 auto;
/* Popup's styles */
#popup {
	background: rgba(38, 38, 38, 0.84) none repeat scroll 0 0;
	margin: 30px auto 0;
	width: 487px;
#popup h2 {
	color: #fff;
	padding: 25px;
	margin-top: 15px;
#popup p {
	padding: 0 0 10px;
#popup input {
	background: rgba(91, 91, 91, 0.39) none repeat scroll 0 0;
	border: medium none;
	color: #777;
	height: 32px;
	padding: 5px;
	position: absolute;
	right: 0;
	top: 0;
	width: 32px;
Monday, 18 December 2017 14:52

If you want download free theme for Kunena5 Forum - do it.

If you like Theme then you can download latest version from GitHub

or direct from this site

Thursday, 14 December 2017 15:59

If you need show some errors in your php code - use this php notation:

// enable showing errors in PHP
ini_set('error_reporting', E_ALL & ~E_NOTICE & ~E_WARNING & ~E_STRICT);
Monday, 04 December 2017 20:29

Hi there! Run command to your Firefox (since v44~)

about:config => dom.push.enabled
dom.webnotifications.enabled => false

// and all messages, where you can see Push :)

 screen shot 2017 12 04 at 8.32.59 pm 0674e

Friday, 24 November 2017 11:18

MacOS comes with Python installed. But to make sure that you have Python installed open the terminal and run the following command.

python --version

If this command returns a version number that means Python exists. Which also means that you already have access to easy_install considering you are using macOS/OSX. Now, all you have to do is run the following command.

sudo easy_install pip

After that, pip will be installed and you'll be able to use it for installing other packages. For try if pip working well use:

pip --version

If you want install another modules - you can do this, for example:

pip install regex

Then runing

sudo pip3 install beautifulsoup4
Thursday, 16 November 2017 16:13

If you use Yoast for WP and press button 'Remove Yoast SEO Comments' - you can show this errors:

Fatal error: Uncaught Error: Call to undefined method RYSC::head_product_name() 
in /home/youraccount/ : eval()'d code:17 
Stack trace: #0 /home/youraccount/ eval() 
#1 /home/youraccount/ RYSC->rewrite('') 
#2 /home/youraccount/ WP_Hook->apply_filters(NULL, Array) 
#3 /home/youraccount/ WP_Hook->do_action(Array) 
#4 /home/youraccount/ do_action('wp_head') 
#5 /home/youraccount/ wp_head() 
#6 /home/youraccount/ require_once('/home/youraccount/...') 
#7 /home/youraccount/ load_template in /home/youraccount/ : eval()'d code on line 17

To fix it - Go to FTP -> open www/wp-content/plugins/ -> find folder remove-yoast-seo-comments and remove it or delete or rename (-remove-yoast-seo-comments)

Work done!