- Observar (etnografía, immerse, qué como y por qué, mapa de trayectoria)
- Conversar estructuradamente y de manera engaging (entrevista)
- Lanzar ideas previamente (brainstorming)
- Atención al lenguaje no verbal (check for cues)
- No sugerir preguntas (framing)
- No preguntar de manera binaria (false alternatives fallacy)
- Preguntar por qué varias veces (5 whys)
- Vocalizar mientras trabaja (think aloud protocol)
- Desarrollar perfiles (crear personas)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Autoplay, hidden --> | |
<audio autoplay> | |
<source src="/audio.mp3" type="audio/mpeg"/> | |
</audio> | |
<!-- Show controls as container --> | |
<audio controls> | |
<source src="/audio.mp3" type="audio/mpeg"/> | |
</audio> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE `tableName` ADD COLUMN `columnName` columnType | |
/* Example */ | |
ALTER TABLE names ADD COLUMN `lastName` varchar(255) NOT NULL |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.filter( | |
function (doc) { | |
return r.expr(['red']) | |
.contains(doc('appleColor')) | |
.not(); | |
} | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
r.table('tableName').filter({name: 'foo'}).update({name: 'bar'}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var moment = require('moment'); | |
// get today in milliseconds since epoch | |
var todayStart = moment().startOf('day').unix() * 1000; // set to 12:00 am today | |
var todayEnd = moment().endOf('day').unix() * 1000; // set to 23:59 pm today |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# branch master2 has made branch master obsolete | |
git checkout master2 | |
git merge -s ours master | |
git checkout master | |
git merge master2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# delete local branch | |
git branch -d the_local_branch | |
# delete remote branch | |
git push origin :the_remote_branch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rm -r --cached . | |
git add . | |
git commit -am "Remove ignored files" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tweepy import OAuthHandler | |
from tweepy import Stream | |
from tweepy.streaming import StreamListener | |
class StdOutListener(StreamListener): | |
def on_data(self, data): | |
# data in the form of JSON | |
return True | |
def on_error(self, status): |