Skip to content

Instantly share code, notes, and snippets.

View edigu's full-sized avatar

Yılmaz edigu

View GitHub Profile
@edigu
edigu / compare_notes.md
Created January 30, 2019 16:14 — forked from mbohun/compare_notes.md
sonatype nexus compare snapshots / releases
$ $ find sonatype-work/nexus/storage/releases/au -name "*.war" | sed -e 's/sonatype-work\/nexus\/storage\/releases\/au\/org\/ala\///g' -e 's/\/.*$//g' | sort |uniq > /tmp/releases.out

$ find sonatype-work/nexus/storage/snapshots/au -name "*.war" | sed -e 's/sonatype-work\/nexus\/storage\/snapshots\/au\/org\/ala\///g' -e 's/\/.*$//g' | sort |uniq > /tmp/snapshots.out

$ diff -y /tmp/snapshots.out /tmp/releases.out | less
actions                                                       <
ala-cas                                                         ala-cas
@edigu
edigu / ocp.php
Created July 2, 2013 13:50 — forked from ck-on/ocp.php
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok)
Version: 0.1.6
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.1.6 2013-04-12 moved meta to footer so graphs can be higher and reduce clutter
0.1.5 2013-04-12 added graphs to visualize cache state, please report any browser/style bugs