Toran Proxy how to!
Apply the snippet :
, array(
'csrf_protection' => false,
)| (function(){localStorage.clear()})(); |
| // ==UserScript== | |
| // @name ARTE+7 Video Downloader vAlpha | |
| // @namespace http://userscripts.org/users/80029 ; http://code.google.com/p/arte-tv-greasemonkey/ | |
| // @description ARTE+7 Video Downloader : Currently this UserScript is able to find the RTMP video links of Arte+7 to be downloaded with | |
| // @include http*://videos.arte.tv/* | |
| // @include http*://videos.arte.tv/de/videos/* | |
| // @include http*://videos.arte.tv/en/videos/* | |
| // @include http*://videos.arte.tv/fr/videos/* | |
| // ==/UserScript== |
| (function(){document.getElementById('edit-field-id-und-0-value').value=(document.getElementById('edit-name').value).replace(/\s+|'/g,'').replace(/\%C3%A9|%C3%A8|%C3%AA/g,'e').toLowerCase();})(); |
| (function(){var%20iframe=document.getElementsByTagName("iframe")[0],t=parseInt(iframe.contentDocument.activeElement.attributes['rows'].value,10);iframe.contentDocument.activeElement.attributes['rows'].value=t*2;})(); |
| (function(){elms=document.getElementsByName("checkableitems[]");for(i=0;i<elms.length;i++){if(elms[i].type="checkbox"){elms[i].checked=true;if(elms[i].parentNode.className.indexOf("disabledCheckable")<0){elms[i].click();elms[i].parentNode.className+=" selectedCheckable";}}};})(); |
| #!/bin/bash | |
| timestamp=`date +"%Y%m%d-%H%M%S"` | |
| current_dir=$(pwd) | |
| script_dir=$(cd "$(dirname "$0")"; pwd) | |
| project_dir="$script_dir/../../" | |
| current_date=$(date +%Y%m%d-%H%M%S) | |
| echo "Moves of caches and log in project/var/* (like SF3 new structure)" |
Apply the snippet :
, array(
'csrf_protection' => false,
)| #!/bin/sh | |
| BRANCH_NAME=$(git symbolic-ref --short HEAD) | |
| # Set description with : git branch --edit-description $(git symbolic-ref --short HEAD) | |
| BRANCH_DESCRIPTION=$(git config branch."$BRANCH_NAME".description) | |
| STORY_NUMBER=$(echo $BRANCH_NAME | sed -n 's/\(\(MAG\|SUP\)-[0-9]*\).*/\1/p') | |
| if [ -n "$STORY_NUMBER" ]; then | |
| sed -i.back "1s/^/$STORY_NUMBER : \n/" "$1" |
| <?php | |
| /** | |
| * Mum ! I want complex cookie | |
| */ | |
| class Bonne_Maman_Helper_Data extends Mage_Core_Helper_Abstract | |
| { | |
| private static $secret = 'What is the answer to Life, the Universe, and Everything'; // Can be also a in conf |
| #!/bin/bash | |
| # https://gist.github.com/mardix/3623562 | |
| while read -r file; | |
| do | |
| if [[ $file = *.php ]]; | |
| then | |
| php-cs-fixer fix "$file" --level=psr2 | |
| git add "$file" |