Skip to content

Instantly share code, notes, and snippets.

View socialmedialabs's full-sized avatar

Bernhard Pfeifer socialmedialabs

View GitHub Profile
@seoagentur-hamburg
seoagentur-hamburg / .htaccess
Last active May 18, 2024 13:26
UPDATE 2024/03: Perfect .htaccess file for highspeed and security. You can use it for every WordPress-Website without problems. Highspeed and Security - testet on hundreds of Websites. If you are using a WordPress Multisite, change the last part of this file.
########################################################################
# OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024
# ----------------------------------------------------------------------
# @Author: Andreas Hecht
# @Author URI: https://seoagentur-hamburg.com
# License: GNU General Public License v2 or later
# License URI: http://www.gnu.org/licenses/gpl-2.0.html
########################################################################
@Azrael808
Azrael808 / circle.yml
Last active November 22, 2017 14:15
CircleCI: Automatically Deploy WordPress to Elastic Beanstalk
machine:
<machine_config>
dependencies:
pre:
- pip install awsebcli
- <other_project_dependencies>
database:
<database_setup>
test:
<test_config>
@ethicka
ethicka / localhost-ssl.md
Last active April 12, 2024 12:26 — forked from jonathantneal/README.md
Local virtualhost SSL websites on Mac OS Sierra

Local virtualhost SSL websites on Mac OS Sierra

These instructions will guide you through the process of setting up a wildcard SSL for your local virtualhosts for offline development. Most importantly, this configuration will give you the happy, green lock in Chrome.

These instructions have only been tested on Mac OS Sierra using the pre-installed Apache and PHP versions. These instructions also assume you have virtualhosts set up locally already.


Configuring SSL

{"lastUpload":"2019-10-06T18:32:39.184Z","extensionVersion":"v3.4.3"}
@j-mccarthy
j-mccarthy / register_cmb2_metabox_after_title.php
Last active December 15, 2017 02:27
register cmb2 metabox after title on admin page edit screen
<?php
add_action( 'cmb2_init', 'source_banner_metabox' );
function source_banner_metabox() {
$prefix = '_source_demo_';
$cmb_demo = new_cmb2_box( array(
'id' => $prefix . 'metabox',
@bzerangue
bzerangue / _verify-repair-permissions-disk.md
Last active April 25, 2024 22:55
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /