## Steps
-
Creation of
Halleck45/tmp-migration
-
Creation of
README.md
with# tmp-migration fgh
#!/bin/bash | |
# Usage | |
# ./profiler.sh /path/to/phpfile.php arg1 arg2 ... | |
if [ ! -f tracefile-analyser.php ] | |
then | |
echo get tracefile-analyser | |
wget https://raw.github.com/derickr/xdebug/master/contrib/tracefile-analyser.php | |
fi |
#!/bin/bash | |
# author: Jean-François Lépine | |
# Ruby | |
# ----------------------- | |
curl -L get.rvm.io | bash -s stable | |
source /etc/profile.d/rvm.sh | |
rvm reload | |
rvm install 2.1.0 |
<?php | |
/** | |
* Class SecurityException | |
*/ | |
class SecurityException extends Exception {}; | |
/** | |
* Class Csrf | |
* |
<?php | |
// Usage | |
// composer licenses --format=json > licenses.json | |
// php analyze.php --file=licenses.json | |
$options = getopt('', array('file')); | |
$file = $options['file']; | |
$json = json_decode(file_get_contents($file)); |
<iframe id="frame-monitor" style="display:none; " src="http://jenkins.xxxx.fr/view/Administration/job/Administration%20-%20Monitoring/2/sitemonitor/"></iframe> | |
<div id="div-monitor"></div> | |
<script type="text/javascript"> | |
var iframe = document.getElementById('frame-monitor'); | |
iframe.onload = function() { | |
var innerDoc = (iframe.contentDocument) ? iframe.contentDocument : iframe.contentWindow.document; | |
var table = innerDoc.getElementById('files'); | |
var container = document.getElementById('div-monitor'); | |
container.appendChild (table); | |
iframe.parentNode.removeChild( iframe ); |
#!/bin/bash | |
## v1.0.6 | |
## this script will gernerate css stats | |
### example output | |
# CSS STATS | |
# ---------- | |
# Floats: 132 |
#!/usr/bin/php -q | |
<?php | |
ini_set('display_errors', 1); | |
function get_memory() { | |
foreach (file('/proc/meminfo') as $ri) { | |
$m[strtok($ri, ':')] = strtok(''); | |
} | |
return 100 - round(($m['MemFree'] + $m['Buffers'] + $m['Cached']) / $m['MemTotal'] * 100); | |
} |
## Steps
Creation of Halleck45/tmp-migration
Creation of README.md
with
# tmp-migration
fgh
//http://slimerjs.org/ | |
var page = require('webpage').create(); | |
page.viewportSize = { width:1280, height:800 }; | |
page.open('http://localhost/phpmetrics.html') | |
.then(function(){ | |
window.setTimeout(function() { |
default: | |
paths: | |
features: ../src/Hal/Manage/Crm/UiApi/Features/ | |
bootstrap: %behat.paths.features%/Context | |
extensions: | |
Behat\MinkExtension\Extension: | |
base_url: http://dev.manage |