Skip to content

Instantly share code, notes, and snippets.

Mike Last virtualLast

Block or report user

Report or block virtualLast

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
@virtualLast
virtualLast / gist:7b7de5ea4bcb770d15759e634573d68a
Created Oct 3, 2017
global .gitignore for macOS, phpstorm, node, grunt, sublime text, codekit, wordpress, general error logs and files, zips, git, laravel, angular
View gist:7b7de5ea4bcb770d15759e634573d68a
#thanks gitignore.io ;)
*~
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
@virtualLast
virtualLast / php
Created Jul 10, 2018 — forked from modemlooper/php
Example on adding a page to user profile
View php
<?php
/**
* Plugin Name: BP Add Page
* Plugin URI: https://webdevstudios.com
* Description: Example on adding a page to BuddyPress profiles
* Author: WebDevStudios
* Author URI: https://webdevstudios.com
* Version: 1.0.0
* License: GPLv2
*/
@virtualLast
virtualLast / gist:d7956e5e4a94d06ddd133f15fc97a4dc
Last active Aug 14, 2018
Create a self signed openSSL certificate for macOS
View gist:d7956e5e4a94d06ddd133f15fc97a4dc
cd /usr/local/etc/httpd
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
You can’t perform that action at this time.