git branch -d the_local_branch
git push origin :the_remote_branch
first of all create a new rsa key: | |
ssh-keygen -t rsa -C "giordano.scalzo[at]gmail.com" -f ~/.ssh/id_rsa_heroku | |
then added to my machine | |
ssh-add ~/.ssh/id_rsa_heroku | |
and, finally, to Heroku | |
heroku keys:add ~/.ssh/id_rsa_heroku.pub | |
Feature: Sign up | |
In order to get access to protected sections of the site | |
As a user | |
I want to be able to sign up | |
Background: # features/users/sign_up.feature:6 | |
Given I am not logged in # features/step_definitions/user_steps.rb:52 | |
Invalid CSS after "...: scale(1.001, ": expected function argument, was ");" | |
(in /Applications/MAMP/htdocs/halo/app/assets/stylesheets/application.css) (ActionView::Template::Error) | |
(sass):1346 |
class Competition < ActiveRecord::Base | |
PERCENTATE = 0.1 | |
ON_FIRE_COUNT = 3 | |
scope :on_going, -> { where('start_time < ? AND end_time > ?', Time.now(), Time.now()) } | |
scope :ended, -> { where('end_time < ?', Time.now()) } | |
scope :not_started_yet, -> { where('start_time > ?', Time.now()) } | |
scope :active, -> { where( status: 1)} |
Yis-MacBook-Pro:halo yifu$ rake -f perf.rake perf:ram_over_time TEST_COUNT=10 --trace | |
** Invoke perf:ram_over_time (first_time) | |
** Invoke perf:setup (first_time) | |
** Execute perf:setup | |
Booting: production | |
** Execute perf:ram_over_time | |
PID: 7124 | |
199.3203125 | |
rake aborted! | |
Bad request: |
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
precomposeunicode = true | |
[remote "origin"] | |
url = [email protected]:SpartaSales/halo.git | |
fetch = +refs/heads/*:refs/remotes/origin/* |
COMMANDS: | |
stacks commands to work with stacks | |
redeploy An alias for 'stacks redeploy' command | |
open opens the web browser to visit the app served by the stack | |
settings list and set stack settings | |
easydeploys commands to work with EasyDeploy | |
env-vars commands to work with environment variables | |
lease leases firewall access to the given server on the stack | |
run executes a command directly on the server | |
servers commands to work with servers |
nginx access log: /var/log/nginx/access.log | |
https auth log: /var/log/auth.log | |
nginx error log: /var/log/nginx/error.log | |
/var/deploy/halo/web_head/shared/log/nginx_error.log | |
unicorn error log: /var/deploy/halo/web_head/shared/log/unicorn.stderr.log | |
/var/deploy/halo/web_head/shared/log/unicorn.stdout.log | |
rails web log: /var/deploy/halo/web_head/shared/log/production.log | |
rails worker log: /var/deploy/halo/web_head/shared/log/user_worker_1.log |
CEO: | |
set company vision and keep all team members are on the same page | |
clearly identify roles and responsibilities of each team member | |
recruit best people to join the team | |
always think about how to grow the company into next level | |
keep a eye on each department and make sure every department is working smoothly | |
build company level culture, keep the team momentum high | |
follow up competitors, make competition strategy | |
pass information/decision from board meeting to the team | |
report company progress and status to board and investors |
customer success -> sparta success dedicated people | |
How to make customer happy? | |
upsale cover churn rate | |
Define feature categories for each plan |