This file contains hidden or 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
To list all tags scattered across your feature files... | |
1) add the following "list_tags.rb" file to your features/support directory | |
2) cucumber -d -f Cucumber::Formatter::ListTags | |
The output now has both tags and number of occurrences: | |
@backend-required 4 | |
@issues 1 | |
@localstub 1 |
This file contains hidden or 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
cd ~/.config/sublime-text-2/Packages/ | |
git clone https://github.com/npverni/cucumber-sublime2-bundle.git | |
#restart sublime text |
This file contains hidden or 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
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 2:50.578s | |
[INFO] Finished at: Thu Sep 13 16:19:22 CEST 2012 | |
[INFO] Final Memory: 128M/223M | |
[INFO] ------------------------------------------------------------------------ | |
[WARNING] The requested profile "DesktopBuild" could not be activated because it does not exist. | |
[WARNING] The requested profile "LocalNoZips" could not be activated because it does not exist. | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.3:run (default) on project play-pilot: An Ant BuildException has occured: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 25 failed: [Deployer:149026]deploy application play-frontend on devWlfAdmin. |
This file contains hidden or 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
echo ' select * from moz_cookies;' | sqlite3 cookies.sqlite | |
echo ' delete from moz_cookies where name like "__utm%";' | sqlite3 cookies.sqlite | |
#multiple cookies from multiple folders: | |
echo ' select * from moz_cookies;' | sqlite3 |
This file contains hidden or 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
{ | |
"color_scheme": "Packages/Color Scheme - Default/iPlastic.tmTheme", | |
"folder_exclude_patterns": | |
[ | |
".svn", | |
".git", | |
".hg", | |
"CVS", | |
"target", | |
"bin", |
This file contains hidden or 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/bash | |
# Standard shortcuts for my usual git configuration | |
# | |
# http://www.arthurkoziel.com/2008/05/02/git-configuration/ | |
# | |
# | |
# SVN-like shortcuts for often used commands: | |
git config --global alias.st status -bs |
This file contains hidden or 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/bash | |
### BEGIN INIT INFO | |
# Provides: Unicorn | |
# Required-Start: $network $remote_fs | |
# Required-Stop: $network $remote_fs $syslog | |
# Default-Start: 3 5 | |
# Default-Stop: 0 1 2 4 6 | |
# Short-Description: Start unicorn web server at boot - port 3000 | |
# Description: Enable cancerventetid application at boot time. Start the unicorn web server (port 3000) | |
### END INIT INFO |
This file contains hidden or 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 | |
# | |
# init.d script for single or multiple unicorn installations. Expects at least one .conf | |
# file in /etc/unicorn | |
# | |
# Modified by [email protected] http://github.com/jaygooby | |
# based on http://gist.github.com/308216 by http://github.com/mguterl | |
# | |
## A sample /etc/unicorn/my_app.conf | |
## |
This file contains hidden or 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 | |
# | |
# init.d script for single or multiple unicorn installations. Expects at least one .conf | |
# file in /etc/unicorn | |
# | |
# Modified by [email protected] http://github.com/jaygooby | |
# based on http://gist.github.com/308216 by http://github.com/mguterl | |
# | |
## A sample /etc/unicorn/my_app.conf | |
## |
This file contains hidden or 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
# ------------------------------------------------------------------------------ | |
# Sample rails 3 config | |
# ------------------------------------------------------------------------------ | |
# Set your full path to application. | |
app_path = "/srv/www/xxx/current" | |
# Set unicorn options | |
worker_processes 2 | |
preload_app true |