zsh terminal
Add these lines in your ~/.bash_profile file
# Show current git branch name
parse_git_branch() {
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/'
}| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
| # If not running interactively, don't do anything | |
| [ -z "$PS1" ] && return | |
| # don't overwrite GNU Midnight Commander's setting of 'ignorespace'. | |
| export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
| # ... or force ignoredups and ignorespace | |
| export HISTCONTROL=ignoreboth |
Historia:
Douglas Crockford Lectures on JavasScript:
| #!/bin/bash | |
| export MYSQL_ROOT_PASSWORD=root MYSQL_ROOT_HOST=% | |
| sudo mkdir -p /data/mysql | |
| sudo chmod -R 775 /data | |
| docker run --name=mysql -d \ | |
| -e MYSQL_ROOT_PASSWORD \ |
| # Use this script to test that your Telegram bot works. | |
| # | |
| # Install the dependency | |
| # | |
| # $ gem install telegram_bot | |
| # | |
| # Run the bot | |
| # | |
| # $ ruby bot.rb | |
| # |
| /* | |
| * Use tag to import via es6 module (html import deprecated in v1 spec :/ ) | |
| * <script type="module" src="../components/web-component/web-component.js"></script> | |
| */ | |
| 'use strict()' | |
| const template = document.createElement('template') | |
| template.innerHTML = /*html*/` | |
| <style> | |
| .card { |
Any organization that designs a system (defined broadly) will produce a design whose structure is a copy of the organization's communication structure.
In order to design a piece of software we need to “design” the team that is going to produce it.
<%*
videoUrl = await tp.system.prompt("URL del vídeo de YouTube");
async function getVideoData() {
const videoId = videoUrl.substring(32);
const apiKey = 'YOUR_API_KEY';
const url = `https://www.googleapis.com/youtube/v3/videos?part=snippet&id=${videoId}&key=${apiKey}`;
try {