Posts

Showing posts from January, 2012

Using wget to download a page and browse it locally

Run:  [carpincho@bender]$ wget -r --convert-links url What the arguments do: -r (its the same using --recursive)   Turn on recursive retrieving.   The default maximum depth is 5. -k (its the same using --convert-links) After the download is complete, convert the links in the document to make them suitable for local viewing. This affects not only the visible hyperlinks, but any part of the document that links to external content, such as embedded images, links to style sheets, hyperlinks to non-HTML content, etc. url (obvious :P) Note: You can run it under any Unix based Os or under Mac Os previouly installing it with macports

Miscellaneous Symbols

Character (decimal) Decimal Character (hex) Hex Entity Name ☀ 9728 ☀ 2600   BLACK SUN WITH RAYS ☁ 9729 ☁ 2601   CLOUD ☂ 9730 ☂ 2602   UMBRELLA ☃ 9731 ☃ 2603   SNOWMAN ☄ 9732 ☄ 2604   COMET ★ 9733 ★ 2605   BLACK STAR ☆ 9734 ☆ 2606   WHITE STAR ☇ 9735 ☇ 2607   LIGHTNING ☈ 9736 ☈ 2608   THUNDERSTORM ☉ 9737 ☉ 2609   SUN ☊ 9738 ☊ 260A   ASCENDING NODE ☋ 9739 ☋ 260B   DESCENDING NODE ☌ 9740 ☌ 260C   CONJUNCTION ☍ 9741 ☍ 260D   OPPOSITION ☎ 9742 ☎ 260E   BLACK TELEPHONE ☏ 9743 ☏ 260F   WHITE TELEPHONE ☐ 9744 ☐ 2610   BALLOT BOX ☑ 9745 ☑ 2611   BALLOT BOX WITH CHECK ☒ 9746 ☒ 2612   BALLOT BOX WITH X ☓ 9747 ☓ 2613   SALTIRE ☔ 9748 ☔ 2614   UMBRELLA WITH RAIN DROPS ☕ 9749 ☕ 2615   HOT BEVERAGE ☖ 9750 ☖ 2616   WHITE SHOGI PIECE ☗ 9751 ☗ 2617   BLACK SHOGI PIECE ☘ 9752 ☘ 2618   SHAMROCK ☙ 9753 ☙ 2619   REVERSED ROTATED FLORAL HEART BULLET ☚ 9754 ☚ 261A   BLACK LEFT POINTING INDEX ☛ 9755 ☛ 261B   BLACK RIGHT POINTING INDEX ☜ 9756 ☜ 261C   WHITE LEFT POINTING INDEX

Alternative to istat menu

Image
MenuMeters is  a set of CPU, memory, disk, and network monitoring tools for Mac OS X. Although there are numerous other programs which do the same thing, none had quite the feature set I was looking for. Most were windows that sat in a corner or on the desktop, which are inevitably obscured by document windows on a laptop's small screen.  MenuMeters at the topmenu Requirements: Mac OS X 10.4 or later (10.7 supported) PowerPC or Intel based Macintosh (Universal Binary) Website

How to Accomplish More by Doing Less

Two people of equal skill work in the same office. For the sake of comparison, let's say both arrive at work at 9 am each day, and leave at 7 pm. Bill works essentially without stopping, juggling tasks at his desk and running between meetings all day long. He even eats lunch at his desk. Sound familiar? Nick, by contrast, works intensely for approximately 90 minutes at a stretch, and then takes a 15 minute break before resuming work. At 12:15, he goes out for lunch for 45 minutes, or works out in a nearby gym. At 3 pm, he closes his eyes at his desk and takes a rest. Sometimes it turns into a 15 or 20 minute nap. Finally, between 4:30 and 5, Nick takes a 15 minute walk outside. Bill spends 10 hours on the job. He begins work at about 80 percent of his capacity, instinctively pacing himself rather than pushing all out, because he knows he's got a long day ahead. By 1 pm, Bill is feeling some fatigue. He's dropped to 60 percent of his capacity and he's inexora

Show all values in Numpy array

If an array is too large to be printed, (Scipy)NumPy automatically skips the central part of the array and only prints the corners: >>> print arange(10000) [ 0 1 2 ..., 9997 9998 9999] >>> >>> print arange(10000).reshape(100,100) [[ 0 1 2 ..., 97 98 99] [ 100 101 102 ..., 197 198 199] [ 200 201 202 ..., 297 298 299] ..., [9700 9701 9702 ..., 9797 9798 9799] [9800 9801 9802 ..., 9897 9898 9899] [9900 9901 9902 ..., 9997 9998 9999]] To disable this behaviour and force NumPy to print the entire array, you can change the printing options using set_printoptions . >>> set_printoptions(threshold='nan') from Numpy Tutorial

Estadísticas Barcelona vs Real Madrid 18/1/12

El Barcelona suma 7 partidos de forma seguida sin perder en el Santiago Bernabéu, la mejor racha de su historia. Segundo gol de Abidal con el Barcelona, ambos en la Copa del Rey, ambos en cuartos de final, el anterior fue la temporada pasada ante el Athletic. Segundo clásico consecutivo en el que Messi no marca. Los últimos 5 goles que ha recibido el Real Madrid han sido de cabeza, Mikel Rico con el Granada, Demichelis y Sergio Sánchez con el Málaga en Copa y Hemed la última jornada de Liga con el Mallorca. Segundo gol que Puyol marca al Real Madrid en 28 partidos contra el equipo blanco. El anterior fue en el 2-6 El Real Madrid no se iba al descanso por delante en el marcador ante el Barcelona desde la temporada 2007-08 que vencía 2-0, terminó ganando el partido por 4-1. Cuarto gol que marca Cristiano Ronaldo al Barcelona y el número 27 de esta temporada en 28 partidos. Desde que llegó al Real Madrid ha marcado 114 goles, 10 de ellos en Copa del Rey. El Barcelona es el único e

The embarrassing way to code

Disclaimer : This post was written by Shane Legg , but in some way, represents exactly the same situation happened to me. SciPy – the embarrassing way to code I’ve programmed in many languages before, indeed I’ve spent at least a year working in Basic, C, C++, C#, java, assembler, modula-2, powerhouse and prolog. One thing I’ve never done before is Matlab, well except a few basic exercises for some course I did way back. A couple of years ago I started using python and more recently I’ve started to use the scipy libraries which essentially provide something similar to Matlab. The experience has been unlike anything I’ve coded in before. The development cycle has gone like this: 1) Write the code in python like I would write it in, say, java. I have data stored in some places, then I have algorithms that iterate over these data structures computing stuff, calling methods, changing values and doing various complex things in order to implement the desired algorithm. 10 pages

Pear Os Linux

Image
P ear OS is a new Linux desktop distribution based on Ubuntu Desktop with the graphical installer. Its development started in early August 2011 by David Tavares (from France), and on August 15 2011, Pear OS 1.0, the first version marked “stable,” was released. The latest edition, release on December 14 2011, is Pear OS Linux Panther 3 . A complete review of linuxbxdos

Html Table Tags

Tag Description <table> Defines a table <th> Defines a table header <tr> Defines a table row <td> Defines a table cell <caption> Defines a table caption <colgroup> Defines a group of columns in a table, for formatting <col /> Defines attribute values for one or more columns in a table <thead> Groups the header content in a table <tbody> Groups the body content in a table <tfoot> Groups the footer content in a table

Temporary Spam Mailbox

Did you ever just need a quick email address to register with a site to gather information on someone or something? Maybe you were doing an assessment on a hate group but wanted to get to the Members Only section or found someone on LinkedIn but couldn’t view their full profile without registering. 10minutemail