Skip to content

Instantly share code, notes, and snippets.

add_action( 'wp_head', 'remove_default_wp_actions', 11 );
function remove_default_wp_actions(){
remove_action('wp_head', 'rsd_link' );
remove_action('wp_head', 'wlwmanifest_link' );
remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10);
remove_action('wp_head', 'print_emoji_detection_script', 7 );
remove_action( 'wp_head', 'wp_generator' );
remove_action( 'wp_head', 'rel_canonical' );
remove_action( 'wp_head', 'wp_shortlink_wp_head', 10);
}

On the server

gluster1# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 7.0 (Maipo)

gluster1# cat /etc/yum.repos.d/glusterfs-x86_64.repo
[glusterfs-x86_64]
name=GlusterFS x86_64
baseurl=https://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/epel-7/x86_64/
enabled=1
You are about to submit multiple commits. This is expected if you are
submitting a commit that is dependent on one or more in-review
commits. Otherwise you should consider squashing your changes into one
commit before submitting.

The outstanding commits are:

f220384 (HEAD) Add Apache 2.4 proxy_fastcgi support for radosgw
eacb023 Replace all StackForge names to OpenStack
$ git review
Could not connect to gerrit.
Enter your gerrit username: skippy
Trying again with ssh://skippy@review.openstack.org:29418/stackforge/puppet-ceph.git
<traceback object at 0x11090f950>
We don't know where your gerrit is. Please manually create a remote
named "gerrit" and try again.
Could not connect to gerrit at ssh://skippy@review.openstack.org:29418/stackforge/puppet-ceph.git
Traceback (most recent call last):
$ git review -s
Problem running 'git remote update gerrit'
Fetching gerrit
fatal: Project not found: stackforge/puppet-ceph
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
error: Could not fetch gerrit
skippy@marrs [~/public_html/system]# git status
# Not currently on any branch.
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: admin/formcontrols/formcontrol_file.php
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
# allow access to the master CA
path /certificate/ca
auth any
method find
allow *
path /certificate/
auth any
method find
allow *
@skpy
skpy / gist:1443122
Created December 7, 2011 15:03
Habari MySQL config.php
<?php
Config::set( 'db_connection', array(
'connection_string'=>"mysql:host=FOOHOST;dbname=FOONAME",
'username'=> 'FOOUSER',
'password'=> 'FOOPASS',
'prefix'=>'',
));
$blog_data = array( 'blog_title' => 'Habari',
'admin_username' => 'admin',
require 'spec_helper'
describe 'gluster::repo::yum', :type => :class do
describe 'version not specified' do
it 'should not install' do
expect {
should create_file('/etc/pki/rpm-gpg/RPM-GPG-KEY-gluster.pub')
}.to raise_error(Puppet::Error, /Version not specified/)
end
end
gluster smerrill (master)$ cat .fixtures.yml
fixtures:
  symlinks:
    gluster: "#{source_dir}"
  repositories:
    stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git"