I hereby claim:
- I am alassiter on github.
- I am alassiter (https://keybase.io/alassiter) on keybase.
- I have a public key ASDXgjuO4mA7TRSGUSvTLBqDCjoWioFx_RqcAKQE4QtR8Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| # To see only the commits that were CREATED on a given branch | |
| git log --decorate --pretty=oneline --abbrev-commit --no-merges --first-parent master..target_branch | |
| # Git branch listed by date | |
| git branch --sort=-creatordate \ | |
| --format "%(creatordate:relative);%(committername);%(refname:lstrip=-1)" \ | |
| | grep -v ";HEAD$" \ | |
| | column -s ";" -t |
| #!/bin/bash | |
| #install cl dev tools | |
| xcode-select --install | |
| chsh -s /bin/zsh | |
| sudo chmod 755 ~ | |
| sudo chmod 700 ~/.ssh | |
| sudo chmod 600 ~/.ssh/id* | |
| sudo chmod 644 ~/.ssh/id*.pub |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| # ---- ON LOCAL MACHINE ---- | |
| git init | |
| git add * | |
| git commit -m "Initial Import" | |
| # ---- END LOCAL MACHINE ---- | |
| # ---- ON SERVER ----- | |
| cd to_git_repo | |
| sudo mkdir name_of_app.git |
| $j(function(){ | |
| $j('a.new_window').click(function(event){ | |
| window.open($j(this).attr('href'), '', "location=yes"); | |
| event.preventDefault(); | |
| }) | |
| }) |
| Feature: Agent creates a reminder | |
| As an Agent | |
| I want to create a reminder | |
| So that it will be added to my list of things to remember | |
| Feature: Agent views reminders | |
| As an Agent | |
| I want to view my reminders | |
| So that I see what actions I need to do |
| require 'webrat' | |
| require 'webrat/core/matchers' | |
| Webrat.configure do |config| | |
| config.mode = :rack | |
| config.open_error_files = false # Set to true if you want error pages to pop up in the browser | |
| end |
(a gist based on the old toolmantim article on setting up remote repos)
To collaborate in a distributed development process you’ll need to push code to remotely accessible repositories.
This is somewhat of a follow-up to the previous article setting up a new rails app with git.
Set up the new bare repo on the server:
| task(:maruku_test => :environment) do | |
| x = "3" | |
| body = "<%= x %>" | |
| puts "body: " + body + "\n" | |
| puts Maruku.new(body).to_html | |
| end |