Showing posts with label function. Show all posts
Showing posts with label function. Show all posts

Wednesday, February 5, 2014

Chrome Beta, Google Now having security


We are the United States , February 03, local time in the Chrome Web browser, has Upgrading . Meanwhile, Google's Android operating system (OS) can be written only on mobile devices was to write ' I Now ' and was able to write in the Chrome Web browser . Google Chrome's security Upgrading to boost performance is one bar a proceeding on January 31 .

" Now I ', of chromium in

Google Chrome browser on a PC using the 'Google Now ' dwaetdago can receive alerts on Feb. 3 (local time), said on the Google Chrome blog . Mac and Windows , you can write all the Chrome PC . Internet Explorer or other web browsers , such as Firefox should not be .

Now , based on the Google Voice service in an intelligent personal assistant . Apple's ' Siri ' and look similar, but slightly different behavior . But I have to ask the user answers Siri Now the user will need to inform in advance and then to predict the same service . These predictions about the location of the user's search habits and day-to-day behavior, scheduling analysis and integration of information , such as weather achieved.

Now for iOS devices to mix old Google Chrome Web browser, users can sign in with your Google Account if I can write Lucknow .


Float malware infection alert

Google Chrome naenwatda a more robust security measures .

Google is January 31 (local time), Google Chrome introduced a new security feature in the blog , according to Chrome as soon as infected with malware float gives a warning message to the user . User is trying to access the web address in the middle of the original intercept the wrong Web site ' web address hijacking ' representative example of such malicious code . User warning message in the ' reset ' (Reset) button is pressed, even if you receive malicious code attacks can easily revert to the factory condition, chromium can

google_crome_clean_hijackedsetting
Δ malicious code floating window gives a warning message . 'Reset' button to return to the initial state .
Chrome has unwanted programs when you want to control your own program , you can revert to the factory condition, chrome in the 'Reset ' function already , but the right side of the screen in Chrome menu, select ' Settings → Advanced Settings' to enter said . New user security features, a warning message window 'reset' button to be pressed , but more easily been able to revert to the factory default settings .






Δ in the upper right corner of the screen "Settings" to enter the reset (reset ) could return to the initial screen .
Google Chrome for security self- consistently showed interest in security technology . 2013 Chrome users in malware blocking access to the bottom of the screen when the window ttuiwoju dwaetdago tells the function was also introduced .

Friday, January 17, 2014

[JAVASCRIPT/JQUERY] STRING FUNCTION CAMEL TO PASCAL UNDERBAR

Underscores CamelCased format string to uppercase, you can

Camel underscore uppercase string of the form, you can change the notation.

This code is required to JQUERY library.

$.camelToCapital=function(str){
 return str.replace(/([A-Z])/g,function(arg){
  return '_'+arg.toLowerCase();
 }).toUpperCase();
};

$.capitalToCamel=function(str){
 return str.toLowerCase().replace(/(\_[a-z])/g,function(arg){
  return arg.toUpperCase().replace('_','');
 });
};


$.camelToCapital("testAhndoori");
>> TEST_AHNDOORI

$.capitalToCamel("AHNDOORI_BLOGSPOT_KR");
>> kaudoBlogspotKr

Friday, October 5, 2012

[JAVA] Java Split Function, Examples









JAVA FUNCTION - SPLIT


Is a function that returns an array of strings by regular expressions.
Second parameter limit the value to the number of options you can control.

public String [] split(String  regex, int limit)


Special character
String str="1+2+10+15";
String splitted[]=str.split("[+]");
for (String value : splitted)
 System.out.println(value);

// RESULT
// 1
// 2
// 10
// 15


Blank value
String str="1,,3,";

String splitted[]=str.split(",");
for (String value : splitted)
 System.out.println(value);
// RESULT
// 1
// 3

String splitted[]=str.split(",",-1);
for (String value : splitted)
 System.out.println(value);

// RESULT
// 1
// 
// 3
//