Showing posts with label console. Show all posts
Showing posts with label console. Show all posts

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

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;
  });
 });