Primer paso instalar dnsmasq:
brew install dnsmasq
Copiar El ARchivo de configuracion default
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
Editar el archivo /usr/local/etc/dnsmasq.conf
## Widget Composer Front pipeline | |
## Define the process | |
jobs: | |
- name: production-front | |
build_logs_to_retain: 5 | |
serial: true | |
plan: | |
## Trigger slack alarm |
### 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: |
/* 1 */ | |
{ | |
"_id" : ObjectId("5c102386ed55ce0085ec7923"), | |
"content" : [ | |
{ | |
"sectionTitle" : "Description", | |
"sectionItems" : [ | |
{ | |
"type" : "text-input", | |
"label" : "Subject", |
/* 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" : [ | |
{ |
# 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" | |
}, |
// 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 |
# Funcion que hace: Add | commit al branch que estemos en ese momento sin hacer push | |
# @Params: Recibe como parametro el mensaje del commit | |
function __commit { | |
if [ -z $1 ]; then | |
echo "Debe poner el texto del commit" | |
else | |
git add -A . | |
git commit -m "$1" | |
fi | |
} |
1.- Editamos el archivo de configuracion /usr/local/etc/dnsmasq.conf | |
Cambiamos: address=/knowblyhost/127.0.0.1 por address=/knowblyhost.local/127.0.0.1 | |
2.- Editamos nuestros archivos hosts: | |
En mac la ruta es: /private/etc/hosts | |
Agregamos la linea 127.0.0.1 knowblyhost.local | |
3.- Renombramos el resolver: | |
Comando para mac: | |
mv /etc/resolver/knowblyhost /etc/resolver/knowblyhost.local |
Primer paso instalar dnsmasq:
brew install dnsmasq
Copiar El ARchivo de configuracion default
cp /usr/local/opt/dnsmasq/dnsmasq.conf.example /usr/local/etc/dnsmasq.conf
Editar el archivo /usr/local/etc/dnsmasq.conf
@-webkit-keyframes placeHolderShimmer{ | |
0%{ | |
background-position:-468px 0 | |
} | |
100%{ | |
background-position:468px 0 | |
} | |
} | |
@keyframes placeHolderShimmer{ |