Para este proyecto seguiremos la metodología de tener una branch principal master
(equivalente a release
en otros proyectos), una branch dev
(o development
) para comprobar que todo funcione antes de enviar los cambios a master
y múltiples "feature branches" para que cada colaborador pueda enacrgarse de una tarea definida, trabajarla y probarla a gusto antes de reunir los cambios en dev
. Para más detalle y ejemplos pueden usar de esta lectura la sección Feature Branch Workflow.
This file contains 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
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' cert-name.pem |
This file contains 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
<template> | |
<div> | |
<input type="text" v-model="newTodo" /> | |
<button | |
@click=" | |
addToDo(newTodo); | |
newTodo = ''; | |
" | |
> | |
Add ToDo |
This file contains 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
Show hidden characters
{ | |
"compilerOptions": { | |
"baseUrl": ".", | |
"paths": { | |
"~/*": ["./*"], | |
"@/*": ["./*"], | |
"~~/*": ["./*"], | |
"@@/*": ["./*"] | |
} | |
}, |
This file contains 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
# Requirements | |
# - Node.js LTS release | |
# - Git | |
# Install ADB(Android Debug Tool) and Fastboot | |
sudo apt update && sudo apt install android-tools-adb android-tools-fastboot | |
adb --help | |
# Enable USB Debugging on Android | |
# Connect Your Phone to Debian |
This file contains 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
query($cursor: String, $org: String = "") { | |
organization(login: $org) { | |
repositories( | |
first: 50 | |
after: $cursor | |
orderBy: { field: PUSHED_AT, direction: DESC } | |
) { | |
totalCount | |
pageInfo { | |
endCursor |
This file contains 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
<!-- Pipe Usage in HTML --> | |
<input placeholder="keyword..." [(ngModel)]="search"/> | |
<div *ngFor="let item of items | searchPipe:'name':search "> | |
{{item.name}} | |
</div> |
This file contains 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
"release:changelog": "npm run conventional-changelog -- -p angular-bitbucket -i CHANGELOG.md -s -r 0", | |
"report-coverage": "codecov", | |
"preversion": "git checkout master && git pull origin master --tags", | |
"version": "npm run release:changelog && git add CHANGELOG.md package.json", | |
"postversion": "rm -rf dist/", | |
"bump": "npm run bump:patch", | |
"bump:patch": "npm version patch -m 'Bump version: %s';", | |
"bump:minor": "npm version minor -m 'Bump version: %s';", | |
"bump:major": "npm version major -m 'Bump version: %s';" |
This file contains 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
#include <Wire.h> | |
#include <WiFi.h> | |
#include <SparkFunBME280.h> | |
#include <SparkFunCCS811.h> | |
#include "Adafruit_Si7021.h" | |
#include <MQTT.h> | |
#define CCS811_ADDR 0x5A | |
#define BMP280_ADDR 0x76 | |
#define SI2071_ADDR 0x40 |
NewerOlder