Skip to content

Instantly share code, notes, and snippets.

Kevin Abel kabel

  • Fiserv
  • Lincoln, NE
Block or report user

Report or block kabel

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@kabel
kabel / # php - 2018-06-07_22-34-19.txt
Created Jun 8, 2018
php on macOS 10.13.4 - Homebrew build logs
View # php - 2018-06-07_22-34-19.txt
Homebrew build logs for php on macOS 10.13.4
Build date: 2018-06-07 22:34:19
@kabel
kabel / ocp.php
Last active Sep 20, 2016 — forked from ck-on/ocp.php
View ocp.php
<?php
/*
OCP - Opcache Control Panel (aka Zend Optimizer+ Control Panel for PHP)
Author: _ck_ (with contributions by GK, stasilok, n1xim, pennedav, kabel)
Version: 0.2.0
Free for any kind of use or modification, I am not responsible for anything, please share your improvements
* revision history
0.2.0 0000-00-00 Updated page layout/styles and restructure code to be more MVC-like (kabel)
implemented HTTP Basic authentication (pennedav)
View redis-stats.php
<?php
// CONFIG
$servers = array(
array('Local', '127.0.0.1', 6379),
);
// END CONFIG
$server = 0;
if (isset($_GET['s']) && intval($_GET['s']) < count($servers)) {
$server = intval($_GET['s']);
@kabel
kabel / RecursiveDirectoryIterator-test.php
Created Apr 20, 2012
Compare PHP RecursiveIteratorIterator use with FilterIteractors
View RecursiveDirectoryIterator-test.php
<?php
/*
Filesystem layout of ./backup/
total 0
drwxrwxr-x 3 kabel staff 102 Apr 20 16:00 db
drwxrwx--x 3 root wheel 102 Apr 20 16:31 do-not-backup
./db:
total 8
@kabel
kabel / post-receive
Created Mar 12, 2012
Example git post-receive hook
View post-receive
#!/bin/sh
#
# An example hook script for the post-receive event
#
# This script is run after receive-pack has accepted a pack and the
# repository has been updated. It is passed arguments in through stdin
# in the form
# <oldrev> <newrev> <refname>
# For example:
# aa453216d1b3e49e7f6f98441fa56946ddcd6a20 68f7abf4e6f922807889f52bc043ecd31b79f814 refs/heads/master
@kabel
kabel / git-rcs-keywords.sh
Created Mar 9, 2012
A shell script to install/remove rcs-keywords filter to/from local repo git-config
View git-rcs-keywords.sh
#!/bin/sh
# Use this tool to install rcs-keywords filters
section="filter.rcs-keywords"
clean=".git_filters/rcs-keywords.clean"
smudge=".git_filters/rcs-keywords.smudge %f"
if [ "$1" = "remove" ]; then
echo "Removing rcs-keywords filter from git-config"
You can’t perform that action at this time.