Skip to content

Instantly share code, notes, and snippets.

View smorcuend's full-sized avatar
🎯
Focusing

Sergio Morcuende smorcuend

🎯
Focusing
View GitHub Profile
@smorcuend
smorcuend / search.html
Created September 9, 2019 15:14 — forked from ranakrunal9/search.html
Search Pipe Angular 2
<!-- Pipe Usage in HTML -->
<input placeholder="keyword..." [(ngModel)]="search"/>
<div *ngFor="let item of items | searchPipe:'name':search ">
{{item.name}}
</div>
@smorcuend
smorcuend / Github_APIv4 organization data
Created October 8, 2019 09:48
Github_APIv4: These queries will fetch the organization repository information that is sorted by the last push/commit made using the orderBy field
query($cursor: String, $org: String = "") {
organization(login: $org) {
repositories(
first: 50
after: $cursor
orderBy: { field: PUSHED_AT, direction: DESC }
) {
totalCount
pageInfo {
endCursor
@smorcuend
smorcuend / rn-setup.sh
Last active September 23, 2021 09:59
React Native setup on Debian (10+) with Expo
# 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
@smorcuend
smorcuend / jsconfig.json
Created November 5, 2021 11:43
jsconfig.json example for nuxt
{
"compilerOptions": {
"baseUrl": ".",
"paths": {
"~/*": ["./*"],
"@/*": ["./*"],
"~~/*": ["./*"],
"@@/*": ["./*"]
}
},
@smorcuend
smorcuend / bugreport.md
Created July 20, 2022 10:41
bugreport.md

Summary

Steps to reproduce

@smorcuend
smorcuend / WORKFLOW_GIT.md
Last active July 22, 2022 12:17 — forked from aaossa/README.md
Workflow GIT

Workflow con git

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.

From: https://www.atlassian.com/pt/git/workflows

Pasos para empezar a trabajar en una feature

@smorcuend
smorcuend / app.vue
Last active November 14, 2022 13:59
Nuxt3 Composables advanced usage - Immutability
<template>
<div>
<input type="text" v-model="newTodo" />
<button
@click="
addToDo(newTodo);
newTodo = '';
"
>
Add ToDo
@smorcuend
smorcuend / gist:9bd8f41ec85273f81a5f2314f27331a5
Created February 21, 2023 17:20 — forked from binura-g/single-line-cert.sh
Convert Certificates ( .pem, / .crt / etc ) into single-line strings for JSON payloads
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' cert-name.pem