Go to Rocket.Chat Wiki to get more information https://github.com/RocketChat/Rocket.Chat/wiki/Deploy-Rocket.Chat-without-docker?ts=2
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
#!/bin/sh | |
TMP=/tmp/gsay.mp3 | |
curl --silent --user-agent "Safari/1.0" "http://translate.google.com/translate_tts?q=$1&tl=ja" > $TMP && afplay $TMP && rm -f $TMP | |
#test |
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
var options = { | |
url: 'http://www.qualoperadora.net/', | |
method: 'POST', | |
headers: { | |
'cookie': 'PHPSESSID=pgflhdqa2ltmirougo2cjf79f0; _jsuid=3103488192; USID=3362150133-1399133560.37; _first_pageview=1; heatmaps_g2g_100536567=no; p_cachedDomain=www.qualoperadora.net; p_cachedDeals=%5B%5D; __utma=7597106.1768311926.1399133561.1399147733.1399992202.3; __utmb=7597106.2.10.1399992202; __utmc=7597106; __utmz=7597106.1399133561.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _eventqueue=%7B%22heatmap%22%3A%5B%5D%2C%22events%22%3A%5B%5D%7D; __utma=112029058.1497549882.1399133567.1399147736.1399992206.3; __utmb=112029058.2.10.1399992206; __utmc=112029058; __utmz=112029058.1399133567.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', | |
'user-agent': req.get('user-agent'), | |
'accept-language': req.get('accept-language') | |
}, | |
form:{ | |
ref2115: "http://www.qualoperadora.net/", |
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
# Criando aplicações | |
meteor create mpp-application-1 | |
meteor create mpp-application-2 | |
# Criando o pacote | |
meteor create —package mpp-session-log |
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
// Write your package code here! |
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
Package.describe({ | |
name: 'mpp-session-log', | |
summary: ' /* Fill me in! */ ', | |
version: '1.0.0', | |
git: ' /* Fill me in! */ ' | |
}); | |
Package.onUse(function(api) { | |
api.versionsFrom('1.0.2.1'); | |
api.addFiles('mpp-session-log.js'); |
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
api.addFiles('mpp-session-log.js', ['client']); |
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
// Meteor.startup executa nosso código assim que o DOM estiver pronto | |
// É garantido que os Meteor.startup dos pacotes serão executados | |
// antes dos definidos nas aplicações | |
Meteor.startup(function() { | |
// Salva a função original do Session.set | |
var originalSessionSet = Session.set; | |
// Definie um novo Session.set | |
Session.set = function(key, value) { |
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
# Vamos criar a pasta packages dentro das aplicações | |
mkdir -p mpp-application-1/packages | |
mkdir -p mpp-application-2/packages | |
# Vamos criar o link do pacote dentro das pastas packages | |
ln -s $(pwd)/mpp-session-log $(pwd)/mpp-application-1/packages/ | |
ln -s $(pwd)/mpp-session-log $(pwd)/mpp-application-2/packages/ |
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
[ | |
"Aracajú", | |
"Belém", | |
"Belo Horizonte", | |
"Boa Vista", | |
"Brasília", | |
"Campo Grande", | |
"Cuiabá", | |
"Curitiba", | |
"Florianópolis", |
OlderNewer