What is bookmarklet and how to use them (google map)

Bookmarklet is javascript code, which you can run quickly from any bookmark in your browser.

For example I want to remove search panel in google map, because I would like to print entire map


Online services (urls) which each IT guy and programmer should know

Useful on-line free service that you should know

1) google services

search engine google.com
drive - storing files https://www.google.com/drive
docs (word, excel, powerpoint) https://docs.google.com



calendar https://www.google.com/calendar/

Angular - search for key or value in all scopes

Imagine you have big angular page with many controllers, directives, scopes etc. It can be difficult to find if there is already information you need in some of scopes.

I wrote javsascript script which searches for value in all scopes and objects.


clear();
var options = { phrase: "Managetemplates", exact: false };

Webstorm/Intelij - useful shortcuts and features with screenshots

Many keywords For Intelij13 should also work for Webstorm.
In every keyword I specified how often I use that keyword.

Actions


alt + enter - show window with many useful features. You can press it on any line (class, import, variable, string etc). For example if you press it on regex, you have Check Regex option. For variable you have introduce variable etc. Often





Free program - Multi Google Page Rank Checker

I created program to easy check Google Page Rank of many pages

If you like my program, please donate
Download Google Page Rank Program

Features


1) Check many urls at one time. Program automatically detects urls so you can input any text you want

C Sharp - test and automate website with Webbrowser without extra libraries (Selenium, Watin)

If you want to test or automate something on any webpage you can do it with .Net built-in component WebBrowser. Simple scenarios - you don't need extra libraries (Selenium, Watin)


1) Search something on Bing

a) in Visual Studio add new Windows Form Application in C sharp


b) double click on WebBrowser in toolbox


Windows - get information about your computer without extra programs

Run following commands in windows console (press Windows + R and type cmd or type cmd in Start)

set - get current user name, computer name, where is installed windows, number of processors, user path, processor info etc

Javascript - how to break or return value in forEach

Javascript has built-in function forEach

example

var tab = ['a', 'b', 'c'];

tab.forEach(function(el, i) {
  console.log(el, i);
});

Jquery - how to check what events are assigned to elements (.data)


If you use jquery events like below: 

 
<!doctype html>
<head>
<meta charset="utf-8"> 
<script src="./jquery-1.10.2.js"></script>

<script> 
 $(function() {
   $('#link').click(function(e) {
   console.log('klik jquery', e);
   return false;
  });
 });