2015-12-24

Cómo leer un archivo de texto con Talk Text





2015-11-10

Pangrama

Un pangrama es un texto que contiene todas las letras del abecedario. Son utilizados por los linotipistas en las pruebas de impresión de los distintos tipos de fuentes para visualizar en la misma frase todas las letras. Por ejemplo:

Tu jefe gozaba con whisky que exprime de la viña.

O:

Tengo un libro de papiroflexia sobre las hazañas y aventuras de Don Quijote de la Mancha en Kuwait.

2015-11-02

Si vis pacem, para bellum

Si vis pacem, para bellum = Si quieres la paz, prepárate para la guerra

2015-10-09

Introducir Caracteres Unicode en Linux

Mantén pulsadas las teclas [mayúsculas] y [control] mientras tecleas “u” y los valores hexadecimales del caracter Unicode que quieres introducir.

    Funciona en:

  • Chrome
  • Gnome-Terminal
  • Gedit
  • Firefox
  • LibreOffice
  • Telegram
  • Nautilus

    No funciona en:

  • Netbeans
  • IntelliJ IDEA

Esoy ejecutando en Ubuntu 15.04 64bits.

Encontrado aquí.

Entering Unicode characters in Linux

Hold down the [shift] and [control] keys while typing “u” and the hex values of the Unicode character you wish to enter.

    It works in:

  • Chrome
  • Gnome-Terminal
  • Gedit
  • Firefox
  • LibreOffice
  • Telegram
  • Nautilus

    It doesn't work in:

  • Netbeans
  • IntelliJ IDEA

I'm running Ubuntu 15.04 64bits.

found here

2015-10-06

15 Sorting Algorithms in 6 Minutes

Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm's complexity. The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort (30 seconds of it). More information on the "Sound of Sorting" at http://panthema.net/2013/sound-of-sorting/

2015-10-05

Una noche en la Ópera, escena de la parte contratante..

Esta es una gran escena de la historia del cine, no haberla visto nunca es lo mismo que decir que no se es un cinéfilo.


2015-07-15

Get a QR code for your android app

To get a QR code for your app go HERE

2015-07-13

Converting from Joda-Time to java.time

What steps are needed to upgrade from Joda-Time to Java SE 8 date and time (JSR-310)?

From Joda-Time to java.time

Joda-Time has been a very successful date and time library, widely used and making a real difference to many applications over the past 12 years or so. But if you are moving your application to Java SE 8, its time to consider moving on to java.time, formerly known as JSR-310.

The java.time library contains many of the lessons learned from Joda-Time, including stricter null handling and a better approach to multiple calendar systems. I use the phraseology that java.time is "inspired by Joda-Time", rather than an exact derivation, however many concepts will be familiar.

More at blog.joda.org

Why JSR-310 isn't Joda-Time

One question that has been repeatedly asked is why JSR-310 wasn't simply the same as Joda-Time. I hope to expain some reasons here.

Joda-Time as JSR-310?

At its heart, JSR-310 is an effort to add a quality date and time library to the JDK. So, since most people consider Joda-Time to be a quality library, why not include it directly in the JDK?

Well, there is one key reason - Joda-Time has design flaws.

more at blog.joda.org

2015-07-06

Vosotros Suecos, nosotros Griegos


​Si os hacéis los Suecos, nos haremos los Griegos!!

Esta frase hoy, tiene más sentido que nunca.

¿El hombre del día? Tsipras por supuesto.

El hombre del día es, sin lugar a dudas, Alexis Tsipras. Ha tenido un respaldo del 61.31%, casi nada.

Hay que reconocerle que ha tenido un par, arriesgando el verse reprobado en su actitud de no ceder ante las presiones de la Troika. Pero es que cuando se promete algo hay que cumplirlo o preguntar a los que has prometido si es momento de incumplir lo prometido. Vamos digo yo.

¿La bandera del día? La Griega por supuesto.

La bandera del día es, sin lugar a dudas, la Griega. Todo el mundo en
vilo tras el referéndum de ayer.

Vale que la pregunta estaba un poco enrevesada. Vale que hacía
referencia a documentos que poca gente ha podido leer y menos
entender. Vale que el OXI/No estaba antes, pero lo mismo puede decirse
de poner el NAI/Sí delante.Pero votar nunca es malo. Sobre todo cuando
se hace con libertad. Aún pueden enseñarnos los precursores de la
democracia.

2015-06-28

BrandColors

Oficial color codes for the world's biggest brands

http://brandcolors.net/?ref=webdesignernews.com

Ariel the Mermaid vs the Peeing Statue

GNU/Linux command line sortcuts

The following keyboard shortcuts are incredibly useful and will save you loads of time:

  • CTRL + U – Cuts text up until the cursor.
  • CTRL + K – Cuts text from the cursor until the end of the line
  • CTRL + Y – Pastes text
  • CTRL + E – Move cursor to end of line
  • CTRL + A – Move cursor to the beginning of the line
  • ALT + F – Jump forward to next space
  • ALT + B – Skip back to previous space
  • ALT + Backspace – Delete previous word
  • CTRL + W – Cut word behind cursor
  • Shift + Insert – Pastes text into terminal

Borrowed from here

2015-05-06

Missing Android Material Components

Intro

Hello, my name is Dmytro Danylyk, I am developing Android Applications for about 4 years since G1 was released. I am finalist of Google Apps Developer Challenge 2012. I always try to help people on StackOverflow (8 000 reputation points. You may know me from my technical articles or open source libraries, like Process Buttons and Circular Progress Button, maybe some even used them.

Today I want to speak about Missing Android Material Components, which basically means Android Material Components which are present in Google Material Spec, but missing in Android SDK and AppCompat v7 library. Also I will share some gists and tutorials, recipes in general, of how to make those components.

But first, I would like to answer a question, which you will probably ask [more]

2015-04-22

Cartas Nigerianas

No es la primera vez que me llega una de estas Cartas Nigerianas y supongo que no será la última. Aunque ésta ha sido de un tipo más elaborado que la mayoría, dista mucho de las que más.

Primero llegó un email extremadamente breve que podría ser para ofrecer algún proyecto de software, que los ha habido que han empezado casi tan breve.

i want your assist for project?

Aunque con ciertas sospechas, más bien muchas, pero con ganas de hacerle perder el tiempo llegado el caso, envié una respuesta breve cualquiera.

Y tras un día, ha llegado la siguiente respuesta, uno de los anzuelos de las Cartas de Nigeria más largos que me han llegado.

First of all  I want to thank you for considering my proposal. One aspect I will
like to talk about is PARTNERSHIP. I strongly believe in the power and spirit of
Partnership in  business.  Partnership, it  is all about  mutual  understanding,
mutual efforts /contribution and mutual benefits for all parties involved in the
partnership. On this note, I would want us to work as a team  in pursuit of this
interest    with   utmost   professionalism,   transparency,    commitment   and
confidentiality.

The first thing  I will do is to get you acquainted with the complete details (a
general overview) of this transaction so as to give you a foundation on which to
make a  concrete  decision. I  actually got your email  contact from a friend of
mine who works at the Chambers of Commerce here in the Hong Kong, I went  to him
with  the zeal of  locating a possible business partner overseas who will assist
me  in this project but note that I did  not specify the nature of this business
to  him due  to the nature  of  the business.

I contacted  you concerning a deceased  customer Ishmael Abdullah Naqshbandi (An
Iraqi  Crude oil  merchant),  and  an  investment  he  placed  under  our  banks
management. Once  again I would respectfully request that you  keep the contents
of this  mail confidential and respect the integrity of the information you come
by as a result of this mail. I am contacting on you independently and  no one is
informed  of this communication I  would like to intimate you with certain facts
that I  believe  would be  of interest  to you.

In January  2001,  Ishmael Abdullah Naqshbandi  came  to our  bank to engage  in
business  discussions with  our private banking division. He informed us that he
had a financial portfolio of 18.3 million United States dollars, which he wished
to have  us turn over (invest) on his  behalf. I was the officer assigned to his
case because of his high  net worth profile; I made numerous suggestions in line
with  my duties as  the de-facto  Head, Foreign  Operation Dept  of  the private
banking  sector, especially given the volume of funds  he wished to put into our
bank. We  met  on numerous occasions  prior to  any  investments being placed. I
encouraged him to consider various growth funds with prime ratings. The favoured
route in my advice to customers is to start by assessing data on 600 traditional
stocks and  bond managers and 300  managers of alternative investments. Based on
my  advice, we spun  the money around various  opportunities and made attractive
margins for our first months of operation, the accrued profit and interest stood
at this  point  at 22.5 million  United  States dollars, this margin was not the
full  potential of the  fund  but he  desired  low  risk guaranteed  returns  on
investments.

Upon maturity several notice was sent to him, even during the war (U.S and Iraqi
war), Twelve years ago (2003). Again after the war another notification was sent
and  still no response came from him. I immediately passed  the task of locating
him to the internal investigations department  of Dah Sing Bank Ltd. Information
started to  trickle in that Ishmael  Abdullah Naqshbandi and his family had been
killed  during the  war in  a bomb  blast that hit  his home at Basrajra Samarra
where his personal oil well was.  The bank immediately launched an investigation
into possible  surviving next  of kin  to alert  about the situation and also to
come  forward to  claim his estate.  If  you are familiar  with  private banking
affairs, those  who  patronize our services  usually  prefer anonymity, but also
some  levels of detachment  from conventional  processes.

In his bio-data form, he listed no next of kin. In the field of private banking,
opening an account with us means no one will know of its existence. Accounts are
rarely held under a  name; depositors use numbers and codes to make the accounts
anonymous. This  bank even  gives the choice to depositors  of having their mail
sent to  them  or held at the bank itself,  ensuring that there are no traces of
the  account and as I said, rarely do they nominate next of kin. Private banking
clients  apart from not nominating next of kin also  usually in most cases leave
wills  in our care,  in  this case;  our now deceased client died in-testate. In
line with  our  internal processes for account holders who have passed away,  we
instituted our  own  investigations in good  faith  to determine who should have
right  to claim the  estate.  This investigation has  for the  past months  been
unfruitful. We  have scanned every  continent and used our private investigation
affiliate companies  to get  to  the root of the  problem. It is quite clear now
that  our dear  client died  with no  known or  identifiable family member.

This leaves  me as the only person with the full  picture of what the prevailing
situation is  in relation  to the  portfolio and  the  late beneficiary  of  the
deposit.  According to practice,  the Private banking sector will by  the end of
this  year broadcast  a request  for statement  of claim to  Dah  Sing Bank Ltd,
failing to  receive viable claims they will most probably revert  the deposit to
Management of Dah Sing  Bank Ltd. This will result in the money entering the Dah
Sing accounting system  and the portfolio will be out of my hands and out of the
private banking division. What bothers me most  is that according to the laws of
my country  at the expiration of Twelve {12} years the  funds will revert to the
ownership of the Hong Kong Government if nobody applies to claim the funds. This
will  not happen  if I have  my way.

What I wish to relate to you will smack off unethical practice but I want you to
understand something.  It is only an outsider to the banking world who finds the
internal politics  of the  banking world  aberrational.  The  world  of  private
banking especially  is fraught with huge  rewards for those who sit upon certain
chairs  and oversee  certain portfolios.  You should have  begun  by now to  put
together the  general direction  of  what I propose. There is  US $22,500,000.00
deposit just lying unclaimed. This  bank has spent great amounts of money trying
to  track the deceased's  family; they have investigated  for several months and
have  found no identifiable family member. The investigation has come to an end.

My  proposal; I am  prepared  to furnish the  necessary  details to  you as  the
closest surviving relation. I am also  proposing that after successful execution
of the  business deal  and the money in your account,  the funds be disbursed in
the  ratio 40/60;  40% of the  funds will go to you for offering yourself as the
next of  kin and providing a foreign  account especially an offshore account for
safe transfer  of the  funds and 60% will be for me. Please  let me know in your
next correspondence  if the  above  sharing ratio  is okay by you because we can
fine-tune  this based  on our interactions incase you have  any problem with it.
Following the  master plan  for this  deal  I am  looking at a  bank  that  have
transaction understanding  with  my bank  as first point  of transfer to put off
eyebrows that  may  be raised or  to avoid  unnecessary questioning.

I am  aware  of the consequences of this proposal. Once more,  I ask that if you
find no interest in  this project that you should discard this mail and forget I
ever contacted you, I ask that  you do not be vindictive and destructive. Do not
destroy my career because you do not approve of my proposal. I am not a criminal
and what  I do, I  do not find against good conscience, this may be hard for you
to  understand, but the dynamics of my  industry dictates that I make this move.
Such opportunities  only come  one's way  once  in a lifetime. I cannot let this
chance  pass me by. For once I find myself in  total control of my destiny. This
chance won't pass me by and please do not let me miss my chance, if you will not
work with me let me know and  let me move on with my life. I am a family man and
this is an  opportunity to provide them with new opportunities. I have evaluated
the risks and the only risk I have here is from you refusing to work with me and
alerting my  bank. If you give me positive signals, I will give you the relevant
modus  operandi to initiate  this  process towards  a conclusion.

I  send you this mail not without a measure of fear as to what the consequences,
but I  know  within me  that nothing ventured is nothing gained and that success
and riches never come easy or on a platter of gold. This is the one truth I have
learned  from my  private banking  clients. Do not betray my confidence. I await
your response.

Sincerely,
Lung Peter, TANG

No se si responderle o dejarle con la intriga, seguramente tienen un programa que lo automatiza.

2015-04-19

¿Cómo lanzar una piedra para que rebote muchas veces contra el agua?

¿Por qué cuando lanzamos una piedra al agua, rebota en lugar de hundirse? ¿Cuál es el secreto para maximizar el número de botes?



En 2004, un equipo dirigido por Christophe Clanet, del Centro Nacional de Investigación Científica de Francia (CNRS), publicó resultados teóricos y experimentales en la revista Nature.

Como sabe cualquier aficionado a hacer rebotar piedras, la forma, la velocidad y la velocidad de giro son importantes.

Sin embargo, el equipo francés demostró que lo más importante es el ángulo que toma la piedra con respecto al agua. Si la piedra golpea el agua de forma más pronunciada, se zambulle y se hunde.

Si el ángulo es demasiado pequeño, la piedra se ralentiza, pierde energía y no puede volver a rebotar. Según los investigadores, el ángulo ideal es de 20 grados con respecto al agua.

Además, cuanto más plana sea la piedra, más fuerte se lance y más giros dé, mejor.


Esto y varias cosas más en BBC Mundo

2015-04-09

Instalación y configuración de Lazy ReTweet


Puedes instalar "Lazy ReTweet" aquí o realizando una búsqueda desde la "Play Store" de tu dispositivo.

Pulsa sobre el botón INSTALAR


Hemocromatosis: un trastorno con mucho hierro - 20minutos

2015-03-16

2015-03-08

El sol no calienta por igual en todas las cabezas...

El sol no calienta por igual en todas las cabezas

si no que pregunten al que esta bajo nuestro pie

Barricada - Victima

2015-03-04

¿Estoy gorda?

¿Estoy gorda?

No, estas hermosa, sabrosa. No te sobra ni te falta nada. Estás como a mi me gusta. No cambies.

(Francisco Gómez Carrasco - 2015)

¿Por qué me sigues a todas partes?

¿Por qué me sigues a todas partes?

Por no poder soportar el dolor de la despedida.

Porque cuando dejo de verte el alma se me escapa en pos de ti.

(Francisco Gómez Carrasco - 2015)

2015-03-01

Videoclip "Las cosas del poder" | Los Morancos

En España no se es grande si no se tiene al menos un imitador. Pues PODEMOS ya cumple el requisito con Los Morancos.

2015-01-17