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
// sending to sender-client only | |
socket.emit('message', "this is a test"); | |
// sending to all clients, include sender | |
io.emit('message', "this is a test"); | |
// sending to all clients except sender | |
socket.broadcast.emit('message', "this is a test"); | |
// sending to all clients in 'game' room(channel) except sender |
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
# PASO 1 - COPIAR INDICE ELIMINANDO EL FIELD LOCKED | |
curl -X POST "$URL_ES_TARGET/_reindex?pretty=true" -H 'Content-Type: application/json' -d' | |
{ | |
"source": { | |
"index": "theme_base" | |
}, | |
"dest": { | |
"index": "theme_base-draft", | |
"version_type": "external" | |
}, |
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
/* 1 */ | |
{ | |
"_id" : ObjectId("5ae9a912c1c69c0047439adb"), | |
"name" : "BETA - Flashcards", | |
"originalName" : "BETA - Flashcards-1521065275022", | |
"settings" : [ | |
{ | |
"information" : "When the user flips a flashcard, choose to display both the term and definition together, or just the counterpart to the term or definition.", | |
"values" : [ | |
{ |
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
/* 1 */ | |
{ | |
"_id" : ObjectId("5c102386ed55ce0085ec7923"), | |
"content" : [ | |
{ | |
"sectionTitle" : "Description", | |
"sectionItems" : [ | |
{ | |
"type" : "text-input", | |
"label" : "Subject", |
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
### Author: Peter | |
### Created: Visual Studio Code | |
### Title: Widget Composer SDK pipeline | |
## Define the process | |
jobs: | |
- name: production-sdk | |
build_logs_to_retain: 5 | |
serial: true | |
plan: |
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
## Widget Composer Front pipeline | |
## Define the process | |
jobs: | |
- name: production-front | |
build_logs_to_retain: 5 | |
serial: true | |
plan: | |
## Trigger slack alarm |
OlderNewer