The Script
#!/bin/bash
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
COMMIT_MESSAGE=$1
FROM_BRANCH=${2-develop}
MERGE_BASE_ID=$(git merge-base HEAD $FROM_BRANCH)
The Script
#!/bin/bash
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
COMMIT_MESSAGE=$1
FROM_BRANCH=${2-develop}
MERGE_BASE_ID=$(git merge-base HEAD $FROM_BRANCH)
#Models
####Abstration & Transitions
Obs: Quando usamos o: self.class.transaction do
, isso faz com que as inserções no banco de dados sejam feitas atomicamente. Se alguma das linhas der fail
o banco de dados faz rollback em tudo o que estiver dentro do bloco.
errado:
#app/controllers/users_controller.rb
2015-08-07 14:41:08 -0300 4 minutes ago by adrianotadao origin/master | |
2015-08-07 14:38:12 -0300 7 minutes ago by Adriano Tadao origin/develop | |
2015-08-07 14:32:28 -0300 13 minutes ago by Leonardo Pereira origin/worksheets_order | |
2015-08-06 18:26:51 -0300 20 hours ago by Leonardo Pereira origin/memorize_answers | |
2015-08-06 16:22:31 -0300 22 hours ago by adrianotadao origin/hotfix/format-checker | |
2015-08-06 11:42:49 -0300 27 hours ago by adrianotadao origin/feature/intercom-for-students | |
2015-08-03 10:28:07 -0300 4 days ago by Renato Cardoso Pereira origin/improvement/card | |
2015-07-31 17:06:30 -0300 7 days ago by Danilo Siqueira origin/hotfix/terms | |
2015-07-29 14:09:18 -0300 9 days ago by Danilo Siqueira origin/hotfix/css | |
2015-07-28 13:33:13 -0300 10 days ago by adrianotadao origin/fix/enrollment-template |
Cód. SKORE (não apagar),Título da lição,URL da lição,URL do vídeo SAMBA TECH, | |
7473,Cadê o cliente que era para estar aqui?,http://mba60educacao.skore.io/lessons/7473-cade-o-cliente-que-era-para-estar-aqui,http://sambavideos.sambatech.com/#content/edit/2b48678737f8bee680332cca4d3cd3db, | |
16105,Sem margem para erros,http://mba60educacao.skore.io/lessons/14806-sem-margem-para-erros,http://sambavideos.sambatech.com/ui#content/edit/5220517d3445f9f79ecb647b91e7a8ab, | |
5643,Ser um líder motivado basta para motivar a equipe?,http://mba60educacao.skore.io/lessons/5643-ser-um-lider-motivado-basta-para-motivar-a-equipe,https://www.youtube.com/watch?v=Srh1GxylNLY, | |
5642,Atividades fora da rotina de trabalho motivam?,http://mba60educacao.skore.io/lessons/5642-atividades-fora-da-rotina-de-trabalho-motivam,https://www.youtube.com/watch?v=RBBtkzW2Gs8, | |
5641,Como não perder a motivação da equipe em momentos de crise?,http://mba60educacao.skore.io/lessons/5641-como-nao-perder-a-motivacao-da-equipe-em-momentos-de-crise,https://www.yo |
/** | |
* Copyright 2014 Google Inc. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
May 10, 2016 3:12:00 PM UTC | |
{'name': 'Rafael Sartori', 'text': "Hello team Skore! I am interest to use the platform to Course Catalog. I would like to learn more about SkorePro features and understand how it can help me. I'm founding a start up that will use online education as a tool to spread our content. I'd like to know about prices and how it's charged. I hope that together we can set up the best implementation strategy. Regards, Rafael Sartori.", 'phone': '19 99192-2858', 'type': 'goals', 'email': 'rafael@cursonovo.com.br', 'option': 3} | |
May 8, 2016 8:47:09 PM UTC | |
{'name': 'Filipe Alves', 'text': u'Ol\xe1 time Skore! Tenho o interesse de utilizar a plataforma para Treinamento de pessoas. Gostaria de conhecer melhor as features do SkorePro para entender como podem me ajudar nesse objetivo. Aguardo o retorno de voc\xeas para juntos montarmos a melhor estrat\xe9gia de aplica\xe7\xe3o. Abra\xe7o, Filipe Alves.', 'phone': u'', 'type': 'goals', 'email': 'fil.alves.br@gmail.com', 'option': 2} | |
May 8, 2016 8:46 |
Every so often I have to restore my gpg keys and I'm never sure how best to do it. So, I've spent some time playing around with the various ways to export/import (backup/restore) keys.
cp ~/.gnupg/pubring.gpg /path/to/backups/
cp ~/.gnupg/secring.gpg /path/to/backups/
cp ~/.gnupg/trustdb.gpg /path/to/backups/
# swap | |
sudo dd if=/dev/zero of=/mnt/swapfile bs=1M count=2048 | |
sudo chown root:root /mnt/swapfile | |
sudo chmod 600 /mnt/swapfile | |
sudo mkswap /mnt/swapfile | |
sudo swapon /mnt/swapfile | |
# /etc/fstab | |
/mnt/swapfile swap swap defaults 0 0 | |
sudo mount -a |
## To access the paperbot | |
cd paperbot/current | |
bundle exec rails c | |
## To select the team | |
team = Team.last | |
## To get the user | |
user = team.users.where(email: 'carlos@skore.io').first |
<key>NSExtensionAttributes</key> | |
<dict> | |
<key>NSExtensionActivationRule</key> | |
<string> | |
SUBQUERY ( | |
extensionItems, | |
$extensionItem, | |
SUBQUERY ( | |
$extensionItem.attachments, | |
$attachment, |