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
set the PageURL to (the clipboard as string) | |
set rlogin to "yourLogin" | |
set mapikey to "yourApiKey" | |
set the EncodedURL to urlencode(PageURL) of me | |
set curlCMD to ¬ | |
¬ | |
"curl --stderr /dev/null \"http://api.bit.ly/v3/shorten?longUrl=" & EncodedURL & "&history=1&format=txt&login=" & rlogin ¬ | |
& "&apiKey=" & mapikey ¬ | |
& "\"" | |
-- Run the script and get the result: |
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
set langmenu=none | |
" turning off the gui in macvim | |
if has("gui_running") | |
set guioptions=egmrt | |
endif | |
" time change causes color change | |
let currentHour = strftime ("%H") echo "currentHour is " currentHour if currentHour < 6 + 0 | |
colorscheme darkblue |
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
ing the default profile... | |
Feature: Creating projects | |
In order to have projects to assign tickets to | |
As a user | |
I want to create them easily | |
Background: # features/creating_projects.feature:5 | |
Given I am on the root_path # features/step_definitions/createProject_steps.rb:1 | |
When I follow "New Project" # features/step_definitions/createProject_steps.rb:5 |
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
And /^I should see "([^"]*)" using an id tag labeled "([^"]*)"$/ do |content, tag| | |
page.has_css?(tag) | |
page.has_content?(content) | |
end |
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
vim_plugin_task "ctrlp", "git://github.com/kien/ctrlp.vim.git" |
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
git branch postNameOfYourBranch |
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
gem install albino |
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
brew install ssh-copy-id |
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
brew install |
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
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. | |
# It is recommended to regenerate this file in the future when you upgrade to a | |
# newer version of cucumber-rails. Consider adding your own code to a new file | |
# instead of editing this one. Cucumber will automatically load all features/**/*.rb | |
# files. | |
require 'cucumber/rails' | |
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In | |
# order to ease the transition to Capybara we set the default here. If you'd |
OlderNewer