Skip to content

Instantly share code, notes, and snippets.

View ferminhg's full-sized avatar
🐙
WFH

fermin ferminhg

🐙
WFH
View GitHub Profile

#Effective Communication


Prepare the conversation.

  • Why are we having this conversation?
    Your time is valuable, other people's time is valuable. If you need to use this time, the least you can do is to prepare it. Things such as "what do you want to achieve?", "What info you need to give?", and all following...
  • What do you expect from the meeting?
    How many times do you go to a meeting without thinking what's the outcome you want from it?
  • Try to understand the audience.:
  • How can I get to my audience better?.
#############################################
# Push de la rama actual
git push origin $rama_actual
#############################################
# Volver a un commit anterior, descartando los cambios
git reset --HARD $SHA1
#############################################
# Ver y descargar Ramas remotas
@ferminhg
ferminhg / app.php
Last active August 29, 2015 14:07 — forked from franmomu/app.php
<?php
require_once __DIR__.'/vendor/autoload.php';
use Goutte\Client;
$client = new Client();
// Login page
$crawler = $client->request('GET', 'http://x3demob.cpx3demo.com:2082/?locale=en');
// to push, add in the UIViewController :
MyUIViewController *second = [[LoginUIViewController alloc] initWithNibName:nil bundle:nil];
[self presentViewController:second animated:YES completion:nil];
// in the second view controller add
[self dismissViewControllerAnimated:YES completion:nil];
@ferminhg
ferminhg / gist:4130948
Created November 22, 2012 12:29 — forked from padolsey/gist:527683
Javascript: Detect IE
var ie = (function(){
var undef,
v = 3,
div = document.createElement('div'),
all = div.getElementsByTagName('i');
while (
div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
all[0]