Monday, November 8, 2010

Newly Born Baby Wish Sms

Java Connection - Oracle XE

Oracle a management data base relational model, one of the most powerful at present, developed by Oracle Corporation. Like many other systems and database managers can interact with external applications and programming languages \u200b\u200bsuch as Java, to create web sites and applications more suited to our needs.

order to make a connection between Oracle and Java need to use the Oracle JDBC driver, available in the downloads section Oracle. According to the documentation regarding this driver will mention the following:

JDBC Driver (English Java Database Connectivity ) is a protocol for access to database allows you to execute SQL statements and queries on a database. Oracle Corporation provides support for client-server application development through the use of Thin JDBC, the Oracle Call Interface (OCI) and oracle.sql and oracle.jdbc packages. These packages contain classes and interfaces that extend the standard JDBC to manipulate Oracle data types. Using them allows greater performance and flexibility in a Java application.

Oracle Java Thin is a driver for creating Java applications and applets that access to information in an Oracle database. Java Thin driver is especially designed for Web-based applications because it can automatically download from the website automatically, as an applet more. This driver will use the connection for our example. We must ensure, once you've downloaded the JAR file, store it in our class libraries (Classpath) for the Java virtual machine can make use of it. The label blog Installation discusses how to make these settings when installing the JVM.


The code of connection to the database is as follows:




The
application works in console mode, propagate the exceptions that can generate the code execution to be trapped at the highest level of the JVM.

Line 9 of the code shows the communication protocol that we established from the Java application with Oracle Database XE, where the parts that make up this line are:


String url = "jdbc: oracle: thin: @ 127.0.0.1:1521: xe";


jdbc: oracle : refers to the communication protocol.
thin : controller is used for communication.
127.0.0.1 : is the computer (server) where it is hosted database. This address can change if you are working remotely.
1521: is the port from which we obtain data handler Oracle Database XE assigned during installation.
x : is the name of the default database to Oracle XE.


itself to working with Oracle from Java is very similar to using other database managers. You only need to consider the specifications for each of them.





Thursday, September 30, 2010

Jeffree Star's Penis Surgery

HAS HELD THE FOURTH REGIONAL FAIR OF ENTREPRENEURS 'LA MANCHA TOLEDANA "



Past 6 and November 7, held the Fourth District's Business Fair "LA MANCHA TOLEDANA" this year has been in the town on El Toboso, with success and public participation.
You can access photographs of the two days through Marinieves Blog of the following links:
http://marinieves.blogspot.com/ http://picasaweb.google.com/marinievesserrano/IVFeriaDeEmpresariasEnElToboso # slideshow/5536479672715506882

http://picasaweb.google.com/marinievesserrano/IVFeriaDeEmpresariasEnElTobosoDomingo7Noviembre?fgl=true&pli=1 # slideshow/5537165844443238498

Wednesday, September 8, 2010

Last Posting Date From Australia

Bibiana Aido:" reduce the wage gap is a priority for this government "


The wage gap in Spain recorded the largest decline of the last five years, from 25 , 6 to 22% in annual average profit of 19 to 16% in average earnings per hour worked
Spain is in a positive position regarding the average EU wage gap
The Equality Act, Equality Plans, Equal hallmark of the company, control mechanisms and the increase of knowledge, a key tool in designing policies to tackle the pay gap
Equality Minister Bibiana Aido, today announced key findings of the study 'The wage gap: realities and challenges. " Research that attempts to analyze how and why the wage gap between men and women in Spain and whose principal objective, as noted Aido, is "to deepen the understanding of the phenomenon as a means to develop new lines of intervention."
During the presentation, the head of Equality has said that reducing the wage gap, "an anomaly that a modern and competitive economy can not afford" is a priority for this Government. Thus, referred to the development of the Law 3 / 2007 for Equality between women and men and the role of Equality Plans, "the best instrument to achieve good working conditions and to eliminate gaps and obstacles to development and professional lives women's personal, "said Aido . (Read more)
Source: @ Ministry of Gender and other support measures by 2010. Since its inception in the year 2,000, the MSSP has facilitated the creation of over 18,000 companies led by women (2,700 last year) and 22,000 jobs between self and employees. In addition, through it has been made about 250,000 to 137,000 women advice. (READ MORE ...)

SOURCE: @ Ministry of Gender Alcalá, 37 Madrid


Wednesday, July 28, 2010

Arish Herbal Hair Oil

Equality and the Council of Chambers of Trade renewed for the third consecutive year Business Support Program for Women






Yesterday June 14 was the presentation of diplomas of vocational training courses and continuing for women. The courses have been organized by the Center for Women in collaboration with the UGT Future Initiatives and SEPECAM and financed by the European Social Fund. Specifically diplomas were handed the two courses that were conducted between October 2009 and January 2010, where 22 women have been trained in geriatric care intervention for Dependents in Institutions and Community Mediation.
The completion of this training is very important, especially for women with low skills, enabling them to acquire training that facilitates their access to employment, which highlight especially because yesterday we reported some of the students joining Seniors in a residence which has recently been launched in a nearby town, precisely because of this training have just made, it was what he demanded to go to work. In the event held in the auditorium of the former IES Valdehierro have the presence of the Mayor and the Councillor for Equality, who performed the delivery official diplomas to the students of the courses. CONGRATULATIONS TO ALL!

Tuesday, June 15, 2010

What Are Gay Cruise Signals

DELIVERY DIPLOMAS OF COURSES ORGANIZED BY THE CENTER FOR WOMEN





Public Administration is that for some time promoting awareness campaigns to educate society about this social evil. But it is the private sector that through agreements with government agencies, which has the lead role when used to battered women.

Thursday, May 27, 2010

Reset Luggage Combination Locks

"Employment for a battered woman is fundamental"

BASES FOR THE ESTABLISHMENT OF A MONITOR JOB AS A CAMP FOR URBAN SELECTION BY THE METHOD OF COMPETITION AS TEMPORARY STAFF OF CITY COUNCIL WORK CONSUEGRA Click on
this link and download the Bases BOP: http://bop2.diputoledo.es/webEbop/ebopResumen.jsp?publication_date=14/05/2010&publication_date_to=14/05/2010

Friday, May 14, 2010

Mfc490cw Status Monitor





Download the call by clicking on the link below: http://www.boe.es/boe/dias/2010/04/12/pdfs/BOE-A-2010-5869.pdf

Tuesday, April 13, 2010

Sinceer From Flavor Of Love Titty

INNOVATION EXCELLENCE AWARDS FOR RURAL WOMEN

With this stamp, the Ministry of Gender Equality aims to distinguish and recognize companies that stand out for their good practice in equal treatment and opportunities between women and men. - Analysis of the staffing situation and development .- by levels of responsibility and categories .- The presence of groups with little access to employment: more than 45 years, victims of domestic violence and people with .- Analysis and disability status of equality measures in place. The Equality in the Company may be used in commercial traffic of the business and advertising purposes, as embodied in the Royal Decree 1615/2009, 26 October, regulating the provision and use of the possession of distinctive distintivo.Igualmente be assessed against the award of contracts with the government as the terms and conditions provided in the LOI. This seal of equality will be valid for three years, although the entities to be granted will have the obligation to submit to the Directorate General for Employment Equity (unit investigating the procedure of the Ministry of Equality), a annual report to demonstrate that maintain excellence in equality. Interested institutions may be downloaded from the website of the Ministry of Equal Annexes to complete the application, as well as a helpful guide to such completion. The information is delivered electronically.
This annual competition, the Ministry of Equality seeks to add a new incentive to companies to continue to obtain achievements on the road to equality between women and men in the workplace. Link to


call

More

SOURCE: Website of the Ministry of Equality.
LINK: http://www.migualdad.es/ss/Satellite?c=MIGU_NotaPrensa_FA&cid=1244647826002&language=cas_ES&pageid=1193047406588&pagename=MinisterioIgualdad% 2FMIGU_NotaPrensa_FA% 2FMIGU_notaPrensa & title = The + Ministry + of + Equal + opens + the + call + for + the + concession% C3% B3n + the + distinctive +% E2% 80% 9CIgualdad + in + the + Company% E2% 80% 9D

Sunday, April 11, 2010

My Hair Thinning Front

Ministry Equal invites nominations for the award of the label "Equal in Business "



Center Women, has organized a workshop on Internet job search. Click image to access the information in the poster.

Tuesday, April 6, 2010

Visa Arrival Message Air India Express

NEXT ACTIVITY: JOB SEARCH WORKSHOP



The Institute for Women's Equality Ministry has summoned the selection process to cover 2 people with temporary staff with the category titled / a Degree in Management and Common Services and Senior Technical Common Services.
To download the complete rules, click the following link:
http://www.inmujer.migualdad.es/mujer/concursos/docs/personal/resolucion_convoc_Feder.pdf



Wednesday, March 31, 2010

Best Indian Nackedboobs 2010

Set the \u0026lt;and> on the Eee

I installed the latest version of Leeenux on my Eee.
Although I have this bug with ssd drive at startup, it seems that the workaround works.

So, now I just need to set keys and < > because there is no key on my keyboard settings in English.

This requires using xmodmap is quite simple. file is created. Xmodmap in the home user with the following content.


keycode 52 = z Z z Z less guillemotleft
keycode 53 = x X x X Greater guillemotright
With

that we will have the keys and z x .




Tuesday, March 23, 2010

Do Native Americans Like Mexicans

ONLINE JOB OFFER FOR THE INSTITUTE OF WOMEN IN THE MINISTRY OF EQUALITY

Luz Maria Rodriguez noted that since the beginning of the term, Castilla-La Mancha is the region that has generated jobs for women, moreover, the number of women who want to work has grown almost double the national average, so that one hundred percent of the new unemployed are the result of the addition of new female workforce.
The Minister of Labour and Employment, Mary Luz Rodriguez, said today in the Regional Courts, according to the Labour Force Survey (LFS), "there are 6,000 more women with a job in Castilla-La Mancha" on the occasion the general debate on the situation of female unemployment.
Rodriguez added that since the beginning of the term, "Castilla-La Mancha is the region that more jobs for women has created", so that female employment has grown at a rate of 2 percent, reaching 309,700 employed with an employment rate of 36.71 percent.
In his speech, noted that, according to data from the fourth quarter of 2009 of the EPA, our region has 396,500 active women and the participation rate is 47 percent, the highest figures in history, the number of unemployed amounted to 86,800 women and the female unemployment rate is 21.89 percent.
With these data, Luz Maria Rodriguez said that "the heavy weight of the female labor force explains that, although Castilla-La Mancha has created employment for women at a rate higher than the rest of the country, there are 45,500 stops from the start of the legislature, of which more than one hundred percent are the result of the addition of new female workforce. The head of Labor reviewed the action lines of his department in relation to female employment.
It seeks to increase participation of women in the labor market "because are in favor of affirmative action. " In this sense, since the beginning of the legislature more than 184,000 women in Castilla-La Mancha have benefited from active employment policies, emphasizing the creation of about 4,500 permanent contracts for women who were unemployed and that 41 percent of workers who are working in the Emergency Plan are women.
regard to improving the employability of women and their position in the labor market, 62,000 women have continued guidance activities and about 56,500 women have improved their training.
In connection with the promotion of entrepreneurship of women, noted an increased level of aid for women other than the specific measures for entrepreneurs who want to go self-employed and explained that since the beginning of the term, 6,000 women have been supported by the government of José María Barreda to implement its business plan, raised to 53 percent of the total in 2009, the percentage of entrepreneurs, especially young people, benefiting from the aid.
Finally, Maria Luz Rodríguez stressed that, through reconciliation measures, the regional government carries out a planned and coordinated to facilitate access of women to the labor market and greater responsibility between women and men in assumption of household tasks.
In total, more than 23,000 workers have been able to exercise their right to reconcile with an investment of the Government of Castilla-La Mancha more than 21 million euros and 400 companies, small businesses and freelancers have benefited from aid for development and implementation of Equality and Work Plans.
The Minister of Labour and Employment concluded by noting that "the quiet revolution of women in all spheres of society must continue because we still have challenges ahead to improve the situation in the labor market and redress the inequalities that still exist."
"The labor market can not ignore the talents of half the population, and the new production model we want to build in our region must have all human capital, "he concluded.
SOURCE: AmecoPress, Information for equality. Accésit Ministry of Industry Award 2007 - Avanza.Se Plan offers free information to media. Reproduction of all content with attribution and reporting of its publication to Amecopress. Copyright 2007.
LINK:
http://www.amecopress.net/spip.php?article3292



Saturday, March 6, 2010

Method To Get Rid Of Ulcers

How to control your PC from Linux Twitter

wore long mulling over the issue of minimum control home server from within. First I thought of a series of thong through GMail, but then I thought it
using Twitter. All this came to me for several reasons: there are times that the router hangs and I do not hear, but the funny thing is that if you have access to the outside lately I
skips the automatic home too often and of course if I am out for I spoil what is in the fridge and my tank is also suffering a lot.

I looked to see if there was any program that would allow me more than anything to not reinvent the wheel (though this is usually fun), and of course I found this . The problem is that it works only on Windows (you have to be won in our times), and found nothing seems to work on my Ubuntu. I found this

python API, so get to work, as well python can not be very difficult.

First of all it is very important the Twitter account you use not be public because otherwise everyone will be able to control the PC. Right now I command you I've added are a table, one to get the IP (public and private) to manage the router number.

Add a command is as easy as defining a function called comando_command , and within this function call to the command you want.

Then add this script to cron to run it every X minutes and this, controlling the PC from outside the house with the tip command 'ping rc', 'ip rc', etc ...

Now we can send a private message to the account you'll use the form ' rc command' and await the outcome.

here is the script:

      
import twitter import os import socket

import urllib2
fcntl import struct import

cStringIO
import tokenize import string import



api
global

user = 'usuario_twitter'
passwd = 'password_twitter'
tmp_file = '/ tmp / twmylin.tmp'

old_id = 0 def

set_old_id (id) :
f = open (tmp_file, 'w')
f.write(str(id))

def get_old_id():
try:
f = open(tmp_file, 'r')
id = int(f.readline())
except Exception:
id = 0
return id



def get_interface_ip(ifname):

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)

return socket.inet_ntoa(fcntl.ioctl(

s.fileno(),

0x8915, # SIOCGIFADDR

struct.pack('256s', ifname[:15])

)[20:24])

def get_lan_ip():

ip = socket.gethostbyname(socket.gethostname())

if ip.startswith("127.") and os.name != "nt":

interfaces = ["eth0","eth1","eth2","wlan0","wlan1","wifi0","ath0","ath1","ppp0"]

for ifname in interfaces:

try:

ip = get_interface_ip(ifname)

break;

except IOError:

pass

return ip
def send_twitter(m):
msg='#twmylin '+ m
status = api.PostUpdate( msg)

def ping_command(tokens):
send_twitter('Estoy vivo')

def ip_command(tokens):
pub_ip='not found'
try:
pub_ip = urllib2.urlopen("http://whatismyip.com/automation/n09230945.asp").read()
except Exception:
pass

send_twitter('int:' + get_lan_ip() + ', pub:' + pub_ip)


def top_command(tokens):
s = 'top: error'
try:
f = os.popen("top -b -n1")
for i in range(0, 5):
send_twitter (f.readline())
except Exception:
send_twitter(s)


def router_check_command(tokens):
s = 'router_check: error'
try:
f = os.popen("/data/bin/router_check.sh")
f = os.popen("tail -n2 /data/bin/router_stat.txt")
s=''
for i in range(0, 2):
s+= f.readline()
except Exception:
pass

send_twitter(s)

def router_sincro_command(tokens):
s = 'router_connect: error'
try:
s = "try router_sincro"
send_twitter(s)
f = os.popen("/data/bin/router_sincro.sh")
except Exception:
pass

def router_reboot_command(tokens):
s = 'router_reboot: error'
try:
s = "try router_reboot"
send_twitter(s)
f = os.popen("/data/bin/router_reboot.sh")
except Exception:
pass

# Main
api = twitter.Api(username=usuario, password=passwd)

old_id=get_old_id()

status=api.GetDirectMessages()


for s in status:
if s.id > old_id:
old_id=s.id
set_old_id(old_id)
tokens = list(tokenize.generate_tokens(cStringIO.StringIO(s.text).readline))
if tokens[0][0] ==1 and tokens[0][1] == 'rc':
globals()[tokens[1][1]+'_command'](tokens)


Monday, March 1, 2010

Property Tax Rate In Goa

over 6,000 women with a job in Castilla-la Mancha



SOURCE: @ Ministry of Equal Calle Alcalá, 37 Madrid. LINK: http://www.migualdad.es/ss/Satellite?c=MIGU_NotaPrensa_FA&cid=1244647656438&language=cas_ES&pageid=1193047406588&pagename=MinisterioIgualdad% 2FMIGU_NotaPrensa_FA% 2FMIGU_notaPrensa & title = The + Minister + of + Equal% 2C + Bibiana + A% C3% Addo% 2C + announce + that + the + Council + of + Ministers + request% C3% A1 + the + Friday + the + declaration% C3% B3n + del +22 + de + February + as +% E2% 80% 98D% C3% ADa + International + by + the + Equal + Pay% E2% 80% 99

Tuesday, February 23, 2010

Accelerated Emt Course San Francisco

Java System Properties from

is sometimes important to know the characteristics of the system where we run our programs to evaluate the performance that he may have or just for informational purposes. Class System java.lang package allows us to use the following method:

static String getProperty ( String var)
Returns the system property specified by var. Java.version

version of Java Development Environment (JRE). Java.vendor
Name JRE distribution. Java.home
Installation directory of the virtual machine. Os.name
OS Name . Os.arch
Operating system architecture.
os.version Operating system version. User.name
system user name. User.home
User directory path of the system. Java.vm.name
Name installed virtual machine. Java.vm.version
version of the virtual machine installed.

These and other properties of the system can be found on page javadoc the method getProperties () .

addition, the System also provides the following method:

static String getenv ( String var) Lets see the value
a system environment variable specified.

For the environment variables in Ubuntu, in a terminal write the instruction "env" and press ENTER. While we see the environment variables this link for Windows.

In the images we see alguan obtained properties apart from some properties: Properties

Ubuntu system

System Properties in XP

Code Source: Propiedades.java

Letter To Give Mobile

Equality Minister sought declaration of February 22 as "International Day for the Equal Pay '

More
SOURCE: Ministry @ Equal Calle Alcalá, 37 Madrid
LINK:
http://www.migualdad.es/ss/Satellite?c=MIGU_NotaPrensa_FA&cid=1244647566440&language=cas_ES&pageid=1193047406588&pagename=MinisterioIgualdad% 2FMIGU_NotaPrensa_FA% 2FMIGU_notaPrensa & title = The + Ministry + of + Equality + and + the + Confederate% C3% B3n + de + J% C3% B3venes + Business + promote + the + initiative + business

Thursday, February 18, 2010

Annabel Chong Grace Quek Book

arrangements.

Em Java also can use dimensional arrays (vectors) also can make use of two-dimensional arrays (matrices). How to create and declare the two-dimensional arrays is similar to the creation and reporting dimensional arrays.

The syntax for declaring the two-dimensional arrays is as follows:

nombre_arreglo data_type [] [] = new data_type [ rows] [columns ] / / 1st way
data_type [] [] = new name under data_type [ rows] [columns ] / / 2nd way

where data_type corresponds one of the primitive data types in Java (boolean, int, shot, long, byte, char, float or double) or objects (String, Object or defined).

nombre_arreglo is a valid ID for Java with which we use the two-dimensional array.


As for the one-dimensional arrangements to go a Java-dimensional array indices always start at 0. In addition, we use the length attribute to determine the number of rows and columns of a matrix.


matrix multiplication.

A practical example of operations with matrices (two dimensional arrays in Java) is to perform the multiplication of the elements of a matrix by another matrix elements. The following link is a video exemplifies the process for performing matrix multiplications.


The following code in the Java language performs multiplication of two matrices. NOTE: One of the rules for multiplication of matrices is that the number of columns in the first matrix must equal the number of rows in the second, as explained in the video. Therefore, the rows and columns indicate different matrices, multiplication is not performed.

Multiplicacion.java

Finally, I add a program, filling a matrix of n by m integers with random values \u200b\u200band then inverting the matrix content and presents it on screen. The method of reversing the content is to take a line or row of the matrix and reverse its contents, then move to the next line and perform the same procedure. And so on until the n rows of the matrix. Later the same process applies now to the columns.


Matrices.java

Tuesday, February 9, 2010

Saaphire I Love Money

the 3rd party arrangements

To delve further into the issue of treatment of chains talk a little about the String class, perhaps for many people is a basic data type (rough) Java, however most are about objects of type string that allows us to manipulate text quickly and easily.

separately created objects of the String class can be initialized, among many other manner described in the Java documentation , as follows:

String string1, String string2 =
"This is a test message ";
string3
String = new String (" Hello World ");
String string4 = new String (string2);

course , as the other objects in Java, the String class has a number of methods for manipulating strings, some of these methods are:

char charAt ( int index) Returns the character
of a string in the position indicated by index. The index value must be a positive integer.

int compareTo ( String string)
Compare a string with another string, the return value is an integer that indicates the result of comparing two strings. This result is expressed by the ASCII value of character of the original string being compared with the second chain with an arithmetic subtraction. In summary, when comparing the characters of two strings with this method does the following:

- Suppose we have two strings that are declared and values:

string1 = "Sum"; ASCII Values : 83117109 97
string2 = "sum"; ASCII values: ; - 115 117&nbsp;&nbsp; 109&nbsp;&nbsp; 97
&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -------------------------------
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -32 0 0 0

As can be seen, the result of the comparison between the first two characters ('S' and 's') we cast a negative value, which means that the chain compareTo "Sum" is less than " sum. " By detecting a change in the process of comparing the characters of two strings stops the execution of the method and returns the result. Int

compareToIgnoreCase ( String string)
Make a comparison between two strings ignoring if the strings are written in uppercase or lowercase . Like the compareTo method returns an integer value indicating the result of the comparison with the process described above.

String concat ( String string)
Allows concatenation of two strings.

boolean endsWith (String suffix)
Compares the contents of a string ends with the same sequence of characters that the indicated suffix.

boolean equals ( Object object)
Compare a string with the specified object.

boolean equalsIngoreCase ( String string)
Compares a string with another to see if they are identical and returns t rue if so, otherwise returns false .

byte [] getBytes () Converts
chain in a sequence of bytes storing the conversion back to an array of bytes.

void GetChars ( iniCadena int, int finCadena, char [] destination, int posDestino)
Copy the contents of a string delimited by start and end positions indicated iniCadena and finCadena with a target character array from the position indicated in posDestino.

int indexOf (int character)
Returns the index value of the specified character within a string.

int indexOf (int character, int index) Returns
index value of the specified character within a string starting the search beyond a specified index. Failure to find matches with the character you sought will return a -1 .

int indexOf ( String string)
Returns the value of the index where it begins a specified substring within a string.

int indexOf (String chain int index) Returns
index value which starts a specified substring within a string starting the search beyond a specified index. Failure to find matches to substring is searched returns a -1 .

int lastIndexOf ( int character)
Returns the value of the index of the last character found within a specified string.

int lastIndexOf (int character, int index) Returns the value
index the last character found within a specified search string beginning other than a specified index. Failure to find matches with the character you sought will return a -1 .

int lastIndexOf ( String string)
Returns the value of the index where it begins the last specified substring within a string.

int lastIndexOf (String chain int index) Returns
index value which starts the last substring specified within a string starting the search beyond a specified index. Failure to find matches to substring is searched returns a -1 .

int length ()
Returns the length of the string.

String replace ( char character, char nuevoCaracter)
Returns a string resulting from replacing all occurrences of the character specified by a new character.

String replaceAll ( String string, String replacement)
Returns a string resulting from replacing all occurrences of the string specified by a new string.

replaceFirst String (String chain String replacement) Replaces
first locate substring in a string with a replacement and return all the new chain.

boolean startsWith ( String prefix)
Checks if a string starts with the specified prefix.

boolean startsWith ( String prefix, int position)
Checks if the string starts with the prefix specified separately in an index.

String substring (int start) Returns a substring
apart from an index and length of the string until it invokes the method.

String substring (int beginning , int end) Returns a substring
apart from an initial rate to a final figure given.

char [] toCharrArray ()
Converts a string into an array of characters.

String toLowerCase ()
Convert string to lowercase. If the entire chain is originally lower returns the string in the same way, does not affect the method invocation.

String toUpperCase ()
Similar to toLowerCase () with the difference that this method converts a string to uppercase and returns the conversion.

String valueOf ( Object object)
Returns the string representation of an object.

Within the next file is performed test of the above methods.

With Pollitux and Computer ISCO for lodging.

Monday, January 25, 2010

Dowland Gratis Drivere Maxtor One Touch 2 300gb

How to play HD video with XBMC and Atom 330

To play videos at 720p and 1080p, with XBMC at first sight it does not work very well.
I know that the graphics card is not very powerful, but looking at the use made of the CPU seems to not using the 2 cores have the Atom 330. Looking a bit
see that ffmpeg is not multithread, there looks to be the problem and looking for a little more I see that mplayer can be compiled with ffmpeg-mt which is the experimental multithread ffmpeg version.
So get to work, install mplayer-mt this repository:

https: / / launchpad.net / ~ rvm / + ppa-packages

Once it is installed need to configure XBMC for HD video playback with the multithreaded version of mplayer you just installed.


This searching the XBMC wiki link find this tells us how. Summarizing
need to edit the file's contents ~ / .xbmc / userdata / playercorefactory.xml with this content:


\u0026lt;playercorefactory>
\u0026lt;players>
\u0026lt;player name = "MPlayer" type = " ExternalPlayer "audio =" true "video =" true ">
\u0026lt;filename> / usr / bin / mplayer \u0026lt;/ filename>
\u0026lt;args>-fs -lavdopts threads=4 -lavdopts lowres=1:fast:skiploopfilter=all "{0}"&lt;/args&gt;
&lt;hidexbmc&gt;false&lt;/hidexbmc&gt;
&lt;hideconsole&gt;true&lt;/hideconsole&gt;
&lt;hidecursor&gt;true&lt;/hidecursor&gt;
&lt;forceontop&gt;true&lt;/forceontop&gt;
&lt;/player&gt;
&lt;/players&gt;
&lt;rules action="prepend"&gt;
&lt;rule filename=".*720.*
\u0026lt;/ playercorefactory>


With this as the name of the file you want to play have 720 or 1080, MPlayer will be used instead of the default player for XBMC.


Published: With the CoreAVC codec windows look much better. Here shows how to install it in ubuntu

Monday, January 18, 2010

Pokemondeluge Fast Exp

String class. 2nd Part

Control positions in an array.

A common mistake when you're new management arrangements is that we can get confused when referring to the positions of the elements. As in other classes, Java provides components that allow us to control possible errors that can arise when working with arrays. One of the most common mistakes is to refer to elements in the array that are not within this limit. That is, try to select the item in position 11 when the array has a length of 10 elements. If you incur an error like this then it throws an ArrayIndexOutOfBoundsException . This exception indicates that we are referring to a position outside the limit allowed in the settlement.

The following example throws an ArrayIndexOutOfBoundsException.


If you compile and run the above code will present an error message like this:


If we handle this kind of errors then we must make use of try-catch block and catch the exception.


Sort array elements (bubble method) .

One of the most frequent operations in an array is sorted in ascending or descending the elements that compose it. On the Internet we can find a lot of information management methods arrangements, the bubble method is one of the simplest. This method consists in going through the array elements and place them in the correct position according to the order that they should take.

Take the first array element is compared with all others, if there is a greater or lesser number, as the sorting criterion, the element is found stored in a temporary variable, the element comparison is overridden in the element's position more or less, and finally the auxiliary variable element is placed in the position of the item you are comparing. This process is called bubble and repeat now with the remaining elements of the array and you do not take into account the previous positions since it assumes that you are sorted.

The following code shows the elements of an array sorted by an ascending bubble:


Sunday, January 17, 2010

Japan Women Clothes In Larger Size

arrangements. 1st Part

Sometimes we find problems in which they have a need to handle large volumes of information of the same type. For example, suppose you want to manipulate the payroll of a company which is 150 employees in production. It want to control the payment of individual workers based on hours worked and should be considered deductions for the savings fund and insurance.

Although there are many ways to solve this type of poblem a good solution is to use data structures that allow us to manipulate information quickly and organized. This time I will discuss the use of arrangements, the first form of data structures, perhaps the simplest.

A under a structure or collection of items of the same type of fixed length, that is, a memory segment of our computer that we can store a fixed number of elements in a row, for example: a list of phone numbers of employees of a company or a list of dates of birth of the companions of classroom. Arrangement is represented graphically as follows:


data are stored consecutively one after the other from the position 0 (zero) to array length minus 1. If you have created an array of length 10 will begin to store the data from position 0 to position 9, as shown in the picture above. In Java, arrays can be data structures of primitive or composite, for example arrays of integers, floating point numbers or strings and arrays of objects and GUI components.

How arrangements are made in Java?

To create an array of any type in Java can use the following forms:


In line 2 we declare an array called ages of integer (int ). For syntax, all elements which are declared as arrays will be placed the corchetes ( [ ] ) en su declaración. En Java los corchetes de los arreglos pueden ir antes del identificador o después del mismo, tal como se ve en la línea 8 de la imagen. El operador new hace que se reserve el espacio de memoria suficiente para la manipulación del arreglo. En la línea 3 se inicializa el arreglo de enteros con una longitud de 10 posiciones de memoria. Mientras que en la línea 5 declaramos e inicializamos en la misma línea un arreglo de calificaciones de tipo doble.

Si deseamos asignarle valores al arreglo en su inicialización, tal como lo hacemos con las variables o constantes, entonces no se especifica la longitud del arreglo, aunque en su declaración seguiremos placing the brackets after the type of data, after this post the initial values \u200b\u200bof the array inside braces ({} ) and separating each array element with a comma. In the example of line 8 are declaring an array of strings, so the values \u200b\u200bare placed in quotation marks.

By using the operator new virtual machine automatically initialize the array elements. Some examples:

  • integer elements are initialized to 0.
  • floating elements and double is initialized with 0.0
  • string elements are initialized to null .
Something important, since Java arrays are objects, all have a length field (length ) in which stores the length of the array we've created.

The following code declares an array of integers and print its contents:


The following code declares an array of integers and assign a random value to each position of the later prints the values \u200b\u200bcontained in the array:



All

Wednesday, January 13, 2010

Savanna Does Dale Samson

Creating backups with mysqldump

if Not that the vast majority of the systems must have a subsystem to generate backups of the information handled and which may subsequently be used in the event of any loss of relevant information. In this post I'll talk a little about mysqldump that lets you create fast backups of our databases.

mysqldump is a command that comes with managing MySQL databases, which allows us to make a backup of the databases the system as a whole or only some tables that we are interested in supporting. On the Internet you can find much information about using this command. You will only discuss how we can support a database in a plain text file and then retrieve the information we have supported.

To be used mysqldump is inside the bin folder of MySQL.

Windows: C: \\ Program Files \\ MySQL \\ bin \\ mysqldump

In Ubuntu: ; / usr / bin / mysqldump

Obviously, the location may vary depending on the installation process of each person.

Al mysqldump we can send some parameters to perform specific tasks, some of these parameters are:


- databases (databases) Copy all databases.
- opt (Optimization) It allows you to backup quickly.
- user (User) Specify the administrator user name system database.
- password (Password) You specify the administrator password.
- tables (Tables) Override option databases. You can specify the tables you want to support a database.

More parameters can be sent to mysqldump can be found in the reference page about this command.

Examples of using mysqldump:

a) Supporting all database called Customers.

mysqldump - opt - user = user - password = password Clients> / home / username / Desktop / respaldo.sql

b) Support the tables and Sales Directory database customers.

mysqldump - opt - user = user - password = password - Customers tables Directory Sales> / home / username / Desktop / respaldo.sql

Now, to retrieve information from the generated files and load the database using mysql command as follows:

c) Restoring the backup file and upload the information respaldo.sql the Customers database.

mysql-u username-p Customers \u0026lt;/ home / username / Desktop / respaldo.sql

the process for Windows is similar, only there to replace the file paths that we generate.