Tag Archives: 2015

Find a directory or folder with windows command.

Open your command prompt – admin.
Go to the root of the drive ( C:\) and find the tmp folder:

The help of this command show us this options:

Some args can be used to find files…

… where :

Posted in All, Commands. Tagged with , , , , .

How to clear ARP Cache in Windows OS ?

The Address Resolution Protocol named ARP it is a component of IP networking on any operating system.
Without this system, a machine could not communicate to the outside world.
The ARP Cache is a collection of ARP entries / mostly dynamic that are created when a hostname is resolved to an IP address and then an IP address is resolved to a MAC address .
The PC will store that newly mapped address in the ARP cache and then will stay there until the ARP cache entry timeout expires.
So open a command prompt run as admin this command:

To delete a single entry you can use this:

… where the  xxx.xxx.xxx.xxx it’s the ip address.
To delete or flush entire arp cache use this command:

Posted in All, Commands, Windows 7, Windows 8, Windows XP. Tagged with , , , , , .

Increase the cpu cycles to your applications .

Press Ctr+R or Win+R to use command shell and type regedit.
Go to : HKey Local Machine => System => CurrentControlSet => Control => PriorityControl
Set the default value to 26 Hexadecimal with new value 38 Decimal (increase the cpu cycles).
Then restart your Windows OS.


Posted in All, Windows 7, Windows 8. Tagged with , .

Google Shutting Down Google+ Photos !

Google announced in a post on its social network site, it will begin winding down Google+ Photos:

on August 1st we’ll start to shut down Google+ Photos — initially on Android, and soon thereafter on the Web and iOS.

How to fix that … ?

So you need to download the new Google Photos today for uninterrupted access to all your photos, videos and albums.  To do that use android.apps.photos.

With the new app you’ll still be able to backup, edit, and share your photos and videos, with unlimited storage, automatic organization, and more.

The biggest difference is that :

  • Google+ users had to actually visit the network on the web to access photos;
  • Google Photos has its own dedicated web interface.

Also your photos and video will still remain available for download through Google Takeout – a program that allows users to download a copy of their data stored within Google products.

Posted in news. Tagged with , , .

GoJS with random function example.

This is a simple example with GoJS API.
If you want to use into website the you need to buy the API.
Also you can make a try with this example but will have this text:

<!DOCTYPE html>
<script src=”go-debug.js”></script>
<script id=”code” type=”text/javascript”>
function init(){
var $ = go.GraphObject.make;
var myDiagram =
$(go.Diagram, “myDiagram”,
initialContentAlignment: go.Spot.Center, // center Diagram contents
“undoManager.isEnabled”: true,// enable Ctrl-Z to undo and Ctrl-Y to redo
initialContentAlignment: go.Spot.Center,
allowZoom: true,

“grid.gridCellSize”: new go.Size(20, 20),


var myModel = $(go.Model);
// in our model data, each node is represented by a JavaScript object:
myModel.nodeDataArray = [
{ key: getRandomColor() },

myDiagram.model = myModel;
myPalette =
$(go.Palette, “myPalette”,  // must name or refer to the DIV HTML element
nodeTemplate: myDiagram.nodeTemplate,
model: new go.GraphLinksModel([  // specify the contents of the Palette
{ key: “Alpha” },
{ key: “Beta” },
{ key: “Gamma” },
{ key: “Delta” }
} //init

function getRandomColor() {
var letters = ‘0123456789ABCDEF’.split(”);
var color = ‘#’;
for (var i = 0; i < 6; i++ ) {
color += letters[Math.floor(Math.random() * 16)];
return color;

<body onload=”init()”>
<div style=”width:100%; white-space:nowrap;”>
<span style=”display: inline-block; vertical-align: top; padding: 5px; width:80px”>
<div id=”myPalette” style=”border: solid 1px gray; height: 400px; background-color:#CCCCCC;”></div>

<span style=”display: inline-block; vertical-align: top; padding: 5px; width:80%”>
<div id=”myDiagram” style=”border: solid 1px gray; height: 400px; background-color:#CCCCCC;”></div>
The source code will make two areas with four text and the next area will have output of random javascript random function. See this image:

Posted in All, javascript, Programming, web. Tagged with , , , , .