First create a package_name.spec file with the following content:
Summary: Summary here
Name: package_name
Version: 0
Release: 0
License: Public
| <html> | |
| <head> | |
| <title>Your Page Title</title> | |
| <meta http-equiv="REFRESH" content="0;url=http://www.the-domain-you-want-to-redirect-to.com"> | |
| </head> | |
| <body> | |
| Optional page text here. | |
| </body> | |
| </html> |
| get-childitem *.mp3 | foreach { rename-item $_ $_.Name.Replace(" ", "_") } |
| $a=,@(1,2,3) | |
| $a+=,@(4,5,6) | |
| foreach ($b in $a) {"$b"} |
| $ grep ^start.*end$ |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: SystemEmail | |
| # Required-Start: $remote_fs $syslog | |
| # Required-Stop: $remote_fs $syslog | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Send email | |
| # Description: Sends an email at system start and shutdown | |
| ### END INIT INFO |
Let's say that you moved your workspace from the folder in which you initially created it and now want to make AccuRev aware of the new location for the files.
In order to change the location of a workspace the following command must be used:
accurev chws -w foo_workspace -l .
Notes:
| #!/bin/bash | |
| EXPECTED_ARGS=2 | |
| if [ $# -ne $EXPECTED_ARGS ]; then | |
| echo "Usage: $0 VMNAME_or_UUID SNAPSHOTNAME" | |
| exit 1 | |
| fi | |
| set -x | |
| VBoxManage controlvm "$1" poweroff #enforce turnoff | |
| VBoxManage snapshot "$1" restore "$2" #restore snapshot |
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
This will display: