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
//PhantomJS http://phantomjs.org/ based web crawler Anton Ivanov anton.al.ivanov@gmail.com 2012 | |
(function(host) { | |
function Crawler() { | |
this.visitedURLs = {}; | |
}; | |
Crawler.webpage = require('webpage'); |
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
//PhantomJS http://phantomjs.org/ based web crawler Anton Ivanov anton.al.ivanov@gmail.com 2012 | |
(function(host) { | |
function Crawler() { | |
this.visitedURLs = {}; | |
}; | |
Crawler.webpage = require('webpage'); |
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
# ~/.gitconfig from @boblet | |
# initially based on http://rails.wincent.com/wiki/Git_quickstart | |
[core] | |
excludesfile = /Users/oli/.gitignore | |
legacyheaders = false # >git 1.5 | |
quotepath = false | |
# http://stackoverflow.com/questions/136178/git-diff-handling-long-lines | |
pager = less -r | |
# if ↑ doesn’t work, try: pager = less -+$LESS -FRX |
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
$TYPO3_CONF_VARS['FE']['eID_include']['tx_extension_controller'] = 'EXT:extension/Resources/Private/Eid/NameDispatch.php'; |
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
date +'%Y-%m-%d %H:%M:%S' > production/backup_successful.txt |
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/bash | |
eval `ssh-agent -s` | |
ssh-add |
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
wget http://xdebug.org/files/xdebug-2.2.1.tgz | |
tar -xzvf xdebug-2.2.1.tgz | |
cd xdebug-2.2.1 | |
phpize | |
./configure --enable-xdebug | |
sudo make | |
sudo make install | |
sudo service apache2 restart |
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
################################################## | |
# Background Images | |
# | |
lib.misc.background { | |
page = FILES | |
page { | |
references { |
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
curl -i -X POST -H 'Content-Type: application/json' -d '{"product": "123,124", "docId": "1", "description": "test description", "file": {"data": "VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==", "filename": "filename.txt"}, "contentType": "TD_BA", "lifecycleProduct": "asdasf", "name": "test", "language": "0", "title": "test title", "author": "author name", "modified": "1364375700", "externalProduct": "1"}' www.domain.de/index.php?id=1634 |
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
# Don't do any further rewrite for following file types (404 optimization) | |
RewriteRule \.(css|js|png|jpg|jpeg|gif|ico|ttf|otf|svg|eot|woff|avi|mov|mp4|wmf|pdf|doc|docx|xls|xlsx)$ - [NC,L] |
OlderNewer