Whatsapp Grup Update send one click msg |
सभी Whatsapp Grup में एक क्लीक से मैसेज भेजे
Corrupted Hard Disk Tips In Hindi
Corrupted हार्ड डिस्क से डेटा को रिकवर करने के लिए कुछ टिप्स
Corrupted Hard Disk Tips In Hindi |
- अगर आपकी हार्ड ड्राइव से लगातार अजीब सी आवाज आ रही है तो इस स्तिथि में हार्ड ड्राइव का उपयोग न करें और तुरंत लैपटॉप या कंप्यूटर को बंद कर दें । यदि एक्सटर्नल हार्ड ड्राइव है तो उसको सिस्टम से जोड़े नहीं।
- ब्लू स्क्रीन ऑफ़ डेथ एरर (यदि आपके सिस्टम पर नीली स्क्रीन दिख रही है तो आपकी ड्राइव फेल हो गयी है)
- यदि आपकी हार्ड ड्राइव में लॉजिकल प्रॉब्लम है तो आप उसका डेटा थर्ड पार्टी सॉफ्टवेर एप्लीकेशन की सहायता से रिकवर कर सकते है।
- यदि आपकी हार्ड ड्राइव में फिजिकल डैमेज की प्रॉब्लम है तो आपको अनुभवी डेटा रिकवरी पेशेवरों द्वारा हार्ड डिस्क रिकवरी सेवाओ के लिए जाना चाहिए।
LOOPING with diamond
public class Triangle {
public static void main(String[] args) {
for(int i=1;i<=5;i++){
System.out.print(" ");
for(int k=4;k>=i;k--){
System.out.print("* ");
}
for(int j=1;j<=i;j++){
System.out.print(j+" ");
}System.out.println("");
}System.out.println();
for(int i=5;i>=1;i--){
System.out.print(" ");
for(int j=1;j<=i;j++)
{
System.out.print(" ");
}
for(int k=5;k>=i;k--){
System.out.print("*"+k);
}System.out.println("");
}System.out.print("");
for(int i=1;i<=5;i++){
System.out.print(" ");
for(int j=1;j<=1;j++)
{
for(int k=1;k<=i;k++){
System.out.print("*");
}System.out.println("");
}
}System.out.print("");
for(int i=5;i>=1;i--){
System.out.print(" ");
for(int j=1;j<=1;j++)
{
for(int k=1;k<=i;k++){
System.out.print("*");
}System.out.println("");
}
}
System.out.print("");
for(int i=5;i>=1;i--){
System.out.print(" ");
for(int j=1;j<=i;j++)
{ System.out.print(" ");
}
for(int k=5;k>=i;k--){
System.out.print("*");
}System.out.println("");
}
System.out.print("");
for(int i=5;i>=1;i--){
System.out.print(" ");
for(int j=5;j>=i;j--)
{System.out.print(" ");
}
for(int k=1;k<=i;k++){
System.out.print("*");
}System.out.println("");
}
}
}
Diamond:-
///////////////////////////////////////////////////////////////////////////////////
for(int i=5;i>=1;i--){
System.out.print(" ");
for(int j=1;j<i;j++){
System.out.print(" ");
}for(int k=5;k>=i;k--){
System.out.print("*");
System.out.print(" ");
}System.out.println("");
}//System.out.println("");
//////////////////////////////////////
for(int i=5;i>=1;i--){
System.out.print(" ");
for(int j=5;j>i;j--){
System.out.print(" ");
}for(int k=1;k<=i;k++){
System.out.print("*");
System.out.print(" ");
}System.out.println("");
}
/////////////////////////////////////////////////////////////////////////
OUTPUT ON CONSOLE:-
* * * * 1
* * * 1 2
* * 1 2 3
* 1 2 3 4
1 2 3 4 5
*5
*5*4
*5*4*3
*5*4*3*2
*5*4*3*2*1
*
**
***
****
*****
*****
****
***
**
*
*
**
***
****
*****
*****
****
***
**
*
Diamond OUTPUT:-
*
* *
* * *
* * * *
* * * * *
* * * * *
* * * *
* * *
* *
*
Why we use struts 2 ?
Why Struts 2, Introduction To Struts Framework
Let us see the quick and brief introduction to struts 2 framework, struts is an open source framework given by Apache software foundation under one of its projects called Jakarta. Struts is the frame work, used to develop web applications for java with mvc2 architecture.
Actually struts 1 was introduced in 2004 and this framework is failed to satisfy the needs of customers in today’s worlds, finally Apache joined with OpenSymphony and created struts2.x.
webwork2 is the framework from OpenSymphony, java based mvc2.
You know what, struts 2 is not an extension of struts 1, its the combination of struts 1 and webwork2 some features taken from struts1 and some from webwork2 and finally released this struts2 frame work.
Types of frame works
Frameworks are divided into 2 types,
Invasive means, it will force the programmers to create their classes by extending or implementing from per-defined classes or interfaces provided by that frame work. Non-Invasive means it wont forces the programmer to extend or implement its own classes or interfaces.
Struts is the type of Invasive frame work.
Why struts so popular
Struts 2 based on MVC 2 architecture
MVC : Model View Control, am giving real time definitions, i don’t want to confuse you by saying lines ofdefinitions
Model: Will concentrates on business logic of an application, am going to take bean as model
View: will take cares the presentation, i mean visible part, we are going to use jsp as view for these struts 2 applications
Controller: is a component, which contains all primary logic’s required, like sessions and security and also it contains the entire flow of applications, we are going to use servlet as controller for these struts 2applications.
|
Jquery Copy Paste multiple Value
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
<script src="jquery-2.2.3.js"></script>
<!-- <script src="jquery1.8.0..min.js"> -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js" type="text/javascript"></script>
<script
src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('#myButton').click(function() {
$("#myResults").html("");
$('input:text').each(function(index){
console.log($(this));
$("#myResults")
.append("<b>Input Type:</b> "
+ $(this).attr('type') + " ");
$("#myResults")
.append("<b>Value:</b> "
+ $(this).attr('value') + "<br/>");
});
});
});
</script>
<style>
</style>
</head>
<body>
<div id="myExample">
<%for(int i=0;i<2;i++){ %>
<p><input type="text" name="inputBox" id="myInputText1"></p><br><br>
<p><input type="text" name="inputBox" id="myInputText1"></p><br><br>
<p><input type="text" name="inputBox" id="myInputText1"></p>
<%} %>
<input id="myButton" type="button"
value="Click here to see only input Type=Text" />
<div id="myResults"></div>
</div>
</body>
</html>
Whatsapp shortcut
[09:01, 9/19/2016] राकेश डागर™®⏰: People often use abbreviations on chat and WhatsApp. Although, they are not proper English words, people often use them as it makes typing faster. Here are the full forms of these common abbreviations
WhatsApp पर या Chat पर बात करते समय लोग अक्सर संक्षिप्त शब्दों (abbreviations) का इस्तेमाल करते हैं. यह विशिष्ट रूप से अंग्रेज़ी के शब्द नहीं होते, मगर, जल्दी लिखने के लिए लोग इनका इस्तेमाल करते हैं.
कुछ संक्षेप शब्द और उनके मतलब:
1. LOL: Laugh Out Loud = ज़ोर से हसना
2. BRB: Be right back = मैं अभी वापस आता हूँ
3. TTYL: Talk to you later = बाद में बात करते हैं
4. BTW: by the way = वैसे; Example: By the way, you were looking good today! (वैसे, आज तुम अच्छी लग रही थी)
5. BFF: Best friend(s) forever = सबसे अच्छी/अच्छा दोस्त हमेशा के लिए; Example: She is my BFF. (वह मेरी हमेशा के लिए अच्छी दोस्त है)
6. DM: Direct Message = सीधे मैसेज करना; Example: If you have something important, just DM me. Don't message anything publicly. (अगर आपको मुझसे कोई ज़रूरी काम हो तो सीधा मुझे मैसेज करें, सब लोगों के सामने ना लिखें)
7. IDK: I don't know = मुझे नहीं पता
8. IMHO: in my humble opinion = मेरी नज़र में
9. ROFL: rolling on the floor laughing = पेट पकड़कर हंसना (इतना हंसना कि आप हँसते हँसते गिर जाओ)
10. w/o: without = के बिना; Example: I will be going to the mall w/o my friend. (मैं अपने दोस्त के बिना मॉल जाऊंगा)
11. XO: hugs and kisses = झप्पियां और पप्पियाँ; Example: I will see you later, XO! = मैं तुमसे बाद में मिलता हूँ, झप्पियां और पप्पियाँ!
[09:02, 9/19/2016] राकेश डागर™®⏰: 15 Vegetable names:
1. Sweet potato - शकरकन्दी
2. Spring onions - हरे प्याज
3. Yam - जिमीकंद
4. Fenugreek - मेथी
5. Cucumber - खीरा
6. Drumsticks - सेंजन
7. French beans - सेम की फली
8. Pumpkin/Squash - कद्दू
9. Mustard greens - सरसों
10. Peppermint leaves - पुदीना
11. Bitter Gourd - करेला
12. Bottle Gourd - लौकी
13. Colocasia roots - अरबी
14. Turnip - शलजम
15. Broccoli - हरी फूलगोभी
MySql All Query/SQL Quick Reference From W3Schools
CREATE TABLE country_name(id INT(5) PRIMARY KEY AUTO_INCREMENT NOT NULL,country_name VARCHAR(100) NOT NULL);
CREATE TABLE state_name(id INT(5) AUTO_INCREMENT PRIMARY KEY NOT NULL,state_id INT(5) NOT NULL,state_name VARCHAR(50) NOT NULL);
CREATE TABLE city_name(id INT(5) AUTO_INCREMENT PRIMARY KEY NOT NULL,city_id INT(5) NOT NULL,city_name VARCHAR(50) NOT NULL);
DELETE FROM city_name WHERE id='15';
UPDATE city_name SET id='1',city_name='Anchorage',city_id='1' WHERE id='1';
DELETE FROM country_name WHERE id='2';
UPDATE country_name SET country_name='India' WHERE id='1';
DROP TABLE city_name;
CREATE TABLE distt_name(id INT(5) AUTO_INCREMENT PRIMARY KEY NOT NULL,distt_id INT(5) NOT NULL,distt_name VARCHAR(50) NOT NULL);
DELETE FROM state_name WHERE id='1';
ALTER TABLE Customer CHANGE Address Addr CHAR(50);
RENAME TABLE country_n TO country;
RENAME TABLE state_n TO state;
RENAME TABLE distt_n TO distt;
SQL Statement | Syntax |
---|---|
AND / OR | SELECT column_name(s) FROM table_name WHERE condition AND|OR condition |
ALTER TABLE | ALTER TABLE table_name ADD column_name datatype
or
ALTER TABLE table_name
DROP COLUMN column_name |
AS (alias) | SELECT column_name AS column_alias FROM table_name
or
SELECT column_name
FROM table_name AS table_alias |
BETWEEN | SELECT column_name(s) FROM table_name WHERE column_name BETWEEN value1 AND value2 |
CREATE DATABASE | CREATE DATABASE database_name |
CREATE TABLE | CREATE TABLE table_name ( column_name1 data_type, column_name2 data_type, column_name3 data_type, ... ) |
CREATE INDEX | CREATE INDEX index_name ON table_name (column_name)
or
CREATE UNIQUE INDEX index_name
ON table_name (column_name) |
CREATE VIEW | CREATE VIEW view_name AS SELECT column_name(s) FROM table_name WHERE condition |
DELETE | DELETE FROM table_name WHERE some_column=some_value
or
DELETE FROM table_name
(Note: Deletes the entire table!!)
DELETE * FROM table_name
(Note: Deletes the entire table!!) |
DROP DATABASE | DROP DATABASE database_name |
DROP INDEX | DROP INDEX table_name.index_name (SQL Server) DROP INDEX index_name ON table_name (MS Access) DROP INDEX index_name (DB2/Oracle) ALTER TABLE table_name DROP INDEX index_name (MySQL) |
DROP TABLE | DROP TABLE table_name |
EXISTS | IF EXISTS (SELECT * FROM table_name WHERE id = ?) BEGIN --do what needs to be done if exists END ELSE BEGIN --do what needs to be done if not END |
GROUP BY | SELECT column_name, aggregate_function(column_name) FROM table_name WHERE column_name operator value GROUP BY column_name |
HAVING | SELECT column_name, aggregate_function(column_name) FROM table_name WHERE column_name operator value GROUP BY column_name HAVING aggregate_function(column_name) operator value |
IN | SELECT column_name(s) FROM table_name WHERE column_name IN (value1,value2,..) |
INSERT INTO | INSERT INTO table_name VALUES (value1, value2, value3,....)
or
INSERT INTO table_name
(column1, column2, column3,...) VALUES (value1, value2, value3,....) |
INNER JOIN | SELECT column_name(s) FROM table_name1 INNER JOIN table_name2 ON table_name1.column_name=table_name2.column_name |
LEFT JOIN | SELECT column_name(s) FROM table_name1 LEFT JOIN table_name2 ON table_name1.column_name=table_name2.column_name |
RIGHT JOIN | SELECT column_name(s) FROM table_name1 RIGHT JOIN table_name2 ON table_name1.column_name=table_name2.column_name |
FULL JOIN | SELECT column_name(s) FROM table_name1 FULL JOIN table_name2 ON table_name1.column_name=table_name2.column_name |
LIKE | SELECT column_name(s) FROM table_name WHERE column_name LIKE pattern |
ORDER BY | SELECT column_name(s) FROM table_name ORDER BY column_name [ASC|DESC] |
SELECT | SELECT column_name(s) FROM table_name |
SELECT * | SELECT * FROM table_name |
SELECT DISTINCT | SELECT DISTINCT column_name(s) FROM table_name |
SELECT INTO | SELECT * INTO new_table_name [IN externaldatabase] FROM old_table_name
or
SELECT column_name(s)
INTO new_table_name [IN externaldatabase] FROM old_table_name |
SELECT TOP | SELECT TOP number|percent column_name(s) FROM table_name |
TRUNCATE TABLE | TRUNCATE TABLE table_name |
UNION | SELECT column_name(s) FROM table_name1 UNION SELECT column_name(s) FROM table_name2 |
UNION ALL | SELECT column_name(s) FROM table_name1 UNION ALL SELECT column_name(s) FROM table_name2 |
UPDATE | UPDATE table_name SET column1=value, column2=value,... WHERE some_column=some_value |
WHERE | SELECT column_name(s) FROM table_name WHERE column_name operator value |
How to remove shortcut virus from pen drive and memory card in few seconds
How to remove shortcut virus from pen drive and memory card in few seconds
Using simple CMD command you can easily, effectually and permanently remove shortcut virus from your flash drive and memory card in just few seconds and escape your precious files from this virus.This virus will replicate your files and folders, hide and replace it with shortcuts.exe. This is a combination of Trojan and Worm. Then after clicking it, the virus starts to duplicate itself and install malicious software and files that monitors your computer real-time and steal your personal data.
Removing shortcut virus using CMD
Note: Where “I” is the my pen drive identification character, don’t forget to chnage it with your pen drive or memory card character.
Tips To Prevent your pen drive and memory card from shortcut virus
* Update your antivirus regularly
* Avoid plugging-in any USB drive if your antivirus is not updated.
* Keep running boot scans once in weeks.