POSTED January 17, 2013
For those who, like me, don’t know how to start a post in their blog
For example, I made the mistake, once, of starting two stories with “If you’re like most people [rest of sentence].” Shuttleworth stormed into my office quaking with anger. “Starting any story that way is idiotic!” he barked. “Doing it more than once is criminal.Don’t ever do this again.”
1 Notes
POSTED January 16, 2013
Add or remove a tag to a GitHub repository ⚓
Add a tag to a repository
If you want to add a tag on github repository without a commit is easy:
-
Add the tag in your terminal:
$~ git tag 1.0
-
Push the tags to GitHub
$~ git push --tags
Remove a tag from a repository
If you want to delete some tags and update in Github:
-
Remove tag in your terminal
$~ git tag -d v1.0
-
Remove on GitHub by updating the tag
$~ git push origin :v1.0
0 Notes
POSTED January 06, 2013
Change the DNS to point a new server and feel like Indiana Jones
⚓
0 Notes
POSTED January 03, 2013
Two awesome commands using grep ⚓
Today I’ve been working on a new Wordpress site that I am going to use in a few weeks and I’ve had to do some commands via SSH.
Delete or Move all files with a pattern
This command uses easy regular expressions to match all the files with the next pattern:
- name_of_the_image-700x300.jpeg
This kind of files are the thumbnails of images in a Wordpress site. To verify I was deleting the correct ones I’ve moved all of them into a folder, and then (once I’ve seen all the files were thumbnails) I’ve deleted the folder “removeFolder”.
I also use the command find because it searches recursively and shows all the path. I know what find has also some great params but I’ve never studied how it works. (Mental note: Study command find)
~$ mv `find . | grep -E ".*-.*x.*"` removeFolder
Once I have all the thumbnails in the remove folder I delete it forever:
~$ rm -rf removeFolder
Find a string or pattern inside all files of the current folder
I’ve been searching for this command and I’ve had it just in front of my nose all the time. I’ve always used IDE’s search in all project but I think that are very slow. Just with one command you can search for a string in all files instantly. This example will output all the lines that have the string loading:
grep -nR "loading" .
Or you can use a pattern to find, for example, all matches of jpg and jpeg:
grep -nR -E "jpe?g" .
The param -n is used to print the number of the line in every match. It’s the same as using “grep -n -R …” or “grep -nR …”.
0 Notes
POSTED December 28, 2012
instancetype is a contextual keyword that can be used as a result type to signal that a method returns a related result type. For example:
@interface Person + (instancetype)personWithName:(NSString *)name; @end
instancetype, unlike id, can only be used as the result type in a method declaration.
0 Notes
POSTED November 19, 2012
Recently, I’ve felt my current podcast, Build and Analyze, getting stale and repetitive. We’ve had a great run, and I’ve greatly enjoyed doing it, but it has run its course. I’d rather end it now than slide into mediocrity — imagine if The Wire ended after season 4, Six Feet Under ended after season 3, or Arrested Development ended right before Michael met Rita.
It’s a shame that Marco has decided to close his Podcast. It was a very interesting choice to listen if you are a iOS Developer or you like this nerdy world.
For the ones who are current listeners of this podcast Marco has left some podcasts to listen in the same category:
Core Intuition: Solid Mac and iOS developer coverage.
Developing Perspective: iOS developer topics, never longer than 15 minutes.
Debug: Great new developer-interview show, including low-level technical discussion.
Identical Cousins: Apple discussion and developer topics.
CMD+SPACE: High-level interviews, often with developers and other geeks.
In Beta: Android and open-source development.
Unprofessional: For when you need a break from tech podcasts, but you still like tech people.
I’ve also started listening to other podcasts of 5by5 like Systematic. The 1st episode seems that will be an interesting podcast.
0 Notes
POSTED November 04, 2012
Change of language, change of mind ⚓
Has passed about three months since my last post in this blog, and this is because I haven’t had enough time to dedicate on writing in the quality this blog deserves.
New Language
I’ve decided to start posts in English so I can practice the language a little more. This way I can share my new knowledge of technical things to more people (not only the ones who speak Spanish). However, I will write some posts in Spanish as well as I’ve been doing by now.
New apperance
As you can see, the appearance has changed to something that some of you will look familiar. Yes, is the Svbtle theme used in Tumblr! I found this in a GitHub repo (check it out if you want). I made a fork so you could see the changes I’ve done.
No comments zone
I’ve been thinking about adding disqus comments but now the design is so clean and I wouldn’t like to break this zen feeling that Dustin Curtis imagined when he created this. However I think this is a shame because the discussion is the main plate in all kind of blogs. I have to think more about a solution for this.
1 Notes
POSTED February 15, 2012
Loro power!! (Taken with instagram)
⚓
0 Notes
POSTED February 13, 2012
Tweetbot para iPad: Análisis ⚓
Hace ya unos días que pudimos ver en el Top 1 de aplicaciones pagadas en iPad a Tweetbot para iPad. Ahora se encuentra en la posición 5 de esta misma lista. Para los usuarios que venimos de Tweetbot para iPhone la aparición de esta en iPad ha sido una buena noticia, ya que, cuando te acostumbras a su modo de trabajar con Twitter cuesta volver a la aplicación oficial.

Usabilidad
La usabilidad que han aportado en esta versión y en la ultima actualización de iPhone es algo a destacar. Antes para entrar en un link o en un hashtag tenia que hacer dos taps. Ahora lo han simplificado y todos los elementos dentro de un tweet son clickables.

Otro aspecto muy importante es que puedes realizar muchas acciones en muy pocos pasos gracias al submenú que nos muestra cada Tweet. Anteriormente la aplicación de iPhone también tenia un submenú muy parecido que fue quitado en la última actualización, motivo por el cual mucha gente dejamos de utilizarla.
También podemos ver miniaturas de las fotografias en el mismo tweet, que si apretamos veremos en una especie de lightbox encima de esta misma pantalla.
Listas
El icono superior en los tweets te deja escoger entre tus listas. Una forma rápida e intuitiva de hacer un filtro de tus tweets. En este aspecto mucho mejor que la aplicación oficial, que tienes que ir a un submenú para escoger entre las listas.
Multicuenta
Este aspecto también está cuidado y es que cuando vas a enviar un tweet sale tu foto, para recordar con que cuenta lo estas enviando. En la aplicación oficial este aspecto también está previsto, mostrando el nombre de la cuenta, pero creo que esta es una forma más intuitiva de verlo rápidamente.

Para ver los tweets de cada cuenta tenemos un selector en el que podemos cambiar de contexto y tener un menú personalizado para cada una de ellas.
Notificaciones
Uno de los puntos fuertes de Tweetbot es el sistema de notificaciones push. A diferencia de la aplicación oficial que solo te notifica con menciones y mensajes privados, en esta aplicación tenemos notificación de cuando alguien no empieza a seguir, de cuando nos ponen un tweet en favoritos y de cuando alguien nos agrega a una lista.
Mute filters
¿Cuántas veces no habrás visto un hashtag en tu timeline sobre un evento que no te interesa para nada? ¿Estás harto de los tweets que hace alguien en un viaje que no te importa? Para esto se han inventado los mute filters, donde puedes seleccionar un hashtag, una persona o un cliente de twitter y silenciarlos durante 3 intervalos de tiempo que te propone (un día, una semana o un mes), o para siempre.
Personalización
Aspectos bien cuidados es por ejemplo personalizar la forma de hacer un “quote tweet” que te permite hacer RT @nombre tweet, tweet via @nombre o el tradicional “@nombre tweet”.

También podemos personalizar que acción realizar al apretar tres veces en un tweet, donde podemos seleccionar que automaticamente haga un reply, retweet, favorito, traducir el tweet o verlo en favstar.
Idioma
Un punto en contra de la aplicación es que solo la podemos ver en inglés. Ni catalán ni castellano.
Conclusión y valoración
Esta aplicación la podéis encontrar a 2.39€ y si sois usuarios avanzados de Twitter o estáis cansados del cliente oficial no os arrepentiréis de la compra.
Nota: 9.0
Descargar en iTunes
1 Notes
POSTED February 12, 2012
Cambio de diseño en Instagram 2.1 ⚓
Para los fans de Instagram, este cambio puede ser sorprendente. Han substituido los tabs inferiores quitandole los titulos y dejando solo los iconos.
Ahora podemos encontrar un diseño mucho más minimalista y más limpio que el anterior. Un ejemplo de app en la que poner la mira en cuanto a diseño.





Descargar en iTunes
2 Notes