Skip to content

Instantly share code, notes, and snippets.

View user454322's full-sized avatar
💭
I may be slow to respond.

Javier user454322

💭
I may be slow to respond.
View GitHub Profile
@ygrenzinger
ygrenzinger / non_violent_communication_summary.md
Last active August 9, 2018 08:33
non violent communication summary

Summary of book "Words are windows, Introduction to nonviolent communication"

"Words are windows" is an introduction to non violent communication (abbreviated as NVC). Marshall Rosenberg presents in this book the process that allows us to communicate more serenely with others as well as with ourselves. This mode of communication allows us to become more and more caring, authentic, and empathic with others. It can therefore be used in all interactions of everyday life: as a couple, with our children, at work ... NVC is proving to be a very effective way to manage conflicts, and also to better identify our own needs.

At the source of Non Violent Communication,

NVC has 4 four key components:

  1. Observation – specific facts/data, no evaluation/judgment
  2. Feeling – state how we feel (many failure modes here)
  3. Need – the need underlying this feeling
@debloper
debloper / README.md
Last active May 24, 2017 05:04
Flashing Firefox OS on Flame Reference Devices

Flashing Flame Devices with Firefox OS

If you have a Flame reference device and wanna try out alternate versions of Firefox OS apart from the stock one, but not willing to build from source, then follow this mini-manual.

Get the build

You can download the packages from the Nightly Build directories of Mozilla FTP. You specifically need the following two files:

  • b2g-XX.0a1.en-US.android-arm.tar.gz (XX is the version number)
  • gaia.zip
@enriquez
enriquez / openssl_pem.m
Created December 20, 2013 03:41
Write EC_KEY in PEM to STDOUT
- (void)logPEMForKey:(EC_KEY *)key {
const EC_GROUP *group = EC_KEY_get0_group(key);
PEM_write_ECPKParameters(stdout, group);
PEM_write_EC_PUBKEY(stdout, key);
PEM_write_ECPrivateKey(stdout, key, NULL, NULL, 0, NULL, NULL);
}
@zhengjia
zhengjia / capybara cheat sheet
Created June 7, 2010 01:35
capybara cheat sheet
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
#!/bin/sh
# Map LISTENing TCP ports to their PIDs using lsof
LSOF=/usr/sbin/lsof
# e.g. netstat -an
# 127.0.0.1.25 *.* 0 0 49152 0 LISTEN
# *.22 *.* 0 0 49152 0 LISTEN