googledocs-tips-379x243

If you need to edit/create office documents (.docx,.xls,.ppt etc.) you can do it with desktop apps such as Microsoft Office, OpenOffice, LibreOffice etc, you can also do it via web applications Google Docs, Office 360.

You can also merge these two platforms in one app – Offline Google Docs. Offline Google Docs can behave itself as a desktop app.

What is desktop app for us?

-It should work offline

-It should be in my computer’s applications menu(also i should be able to create its shortcut whereever i want)

So let’s perform these. Continue reading

phone-10

Technology gives us a lot of tools to remind us in its time about something. Calendars, Alarms, Notebook apps etc. can do this.

Now we speak about reminder by locations. It is very useful tool which can remind us f.e. to buy something from gift shop when we are near. Or when we pasted half way, automatically send sms to our friend that i am arriving, half way pasted. So in such cases time is not important, but location is. I use two services for this purpose.

1. Google Keep - All Android and IOS phones can install this app. When we create any note in Google keep we can set reminder by location.  Continue reading

File Adobe Dreamweaver CSS-01

There are a lot of ways making web page to load faster. Google created dedicated project for this.(https://developers.google.com/speed/)

One of Google’s suggestion is this: Load css without render blocking. But those methods create another problem. Now i am telling which problem that is and how to solve it.

If your css code is small, Google advices to merge css code to your html, not include spearate css file.
If your css code is large, Google advices to call it via Javascript, in this case css doesn’t cause page render. And web page opens too fast. Well, but what happens when javascript calls CSS file and CSS file is not fully loaded yet?
Continue reading

wordpress-bug-300x276

WordPress has a lot of default global variables. One of them is $current_user. It has clear meaning – current user – the user who is in session on your website(it doesn’t matter he/she is logged in or not)

So developer who doesn’t know about this global variable might easily create such variable. As one time i did. I was coding fast and needed to get user by url slug. I wrote such string

$current_user=get_user_by(‘slug’,$anyusernamehere);

Then i continued and finished task. Everything worked perfectly. But sometime later when i tested site in private browser i discovered horroble vulnerability. Continue reading

wordpress-user

We know that by default WordPress has 6 user roles. And we can also create a lot of custom user roles. But sometimes we may need quite different ability. For example i want editor users to be able to edit only specific pages, not all pages. Contributor user role is not solution (contributor can edit only his own created posts, but in our case it doesn’t matter who has created posts,pages. And more than one user should be able to edit specific post)

Continue reading