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
# Customized error messages. | |
ErrorDocument 404 /index.php | |
# Set the default handler. | |
DirectoryIndex index.php | |
# Various rewrite rules. | |
<IfModule mod_rewrite.c> | |
RewriteEngine on | |
RewriteCond %{REQUEST_FILENAME} !-f |
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
.buildpath | |
.project | |
.settings | |
.DS_Store |
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
DLLs | |
----- | |
C:\Program Files\Tridion\bin\client\Tridion.Common.dll | |
C:\Program Files\Tridion\bin\client\Tridion.ContentManager.dll | |
C:\Program Files\Tridion\bin\client\Tridion.ContentManager.Publishing.dll | |
C:\Program Files\Tridion\bin\client\Tridion.ContentManager.Templating.dll | |
----- | |
Post build | |
----- | |
"$(SolutionDir)/TcmUploadAssembly.exe" /verbose /folder:tcm:5-29-2 /targeturl:http://localhost:81 /username:Administrator /password:Capgemini /uploadpdb:true "$(TargetFileName)" |
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
#!/bin/sh | |
LOGFILE=/home/git/gitdailystatus.log | |
RECIPIENT=you@domain.com | |
echo '' > $LOGFILE | |
for f in /home/git/repositories/* | |
do | |
cd $f | |
echo "-----------" >> $LOGFILE | |
pwd >> $LOGFILE | |
git log --since=`date --date='today' +%Y-%m-%d` --until=`date --date='tomorrow' +%Y-%m-%d`--date-order >> $LOGFILE |
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
$ diskutil list | |
and it returns something like | |
/dev/disk0 | |
#: TYPE NAME SIZE IDENTIFIER | |
0: GUID_partition_scheme *1.0 TB disk0 | |
1: EFI 209.7 MB disk0s1 | |
2: Apple_HFS Macintosh HD 999.9 GB disk0s2 | |
/dev/disk1 |
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
for i in *.flac; do ffmpeg -i "$i" -acodec alac "`basename "$i" .flac`.m4a"; done; |
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
On client open a terminal and “ssh -L 5902:localhost:[remote-port(usually 5900) [user]@[server]” | |
Open VNC client and connect to display 2 on localhost, specify password if needed |
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
rsync -P [local files] -e ssh [user]@[remote]:[remote location] |
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 background=dark | |
set hlsearch | |
" Use incremental searching | |
set incsearch | |
" Set standard setting for PEAR coding standards | |
set tabstop=4 | |
set shiftwidth=4 |
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
From http://codeonaboat.wordpress.com/2012/02/16/sql-server-2008-creating-a-database-from-a-bak-file/ | |
If that’s where you are stuck, the following will help you. | |
1. In SSMS, open a query window in the master database of the database server. That’s where you will run the following queries. | |
2. See what the “LogicalName” of the database that has been backed up in the .bak file is | |
RESTORE FILELISTONLY | |
FROM DISK = 'c:\tmp\tridioncm.bak' |