Skip to content

Instantly share code, notes, and snippets.

@virtualLast
virtualLast / gist:7b7de5ea4bcb770d15759e634573d68a
Created October 3, 2017 09:47
global .gitignore for macOS, phpstorm, node, grunt, sublime text, codekit, wordpress, general error logs and files, zips, git, laravel, angular
#thanks gitignore.io ;)
*~
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
@virtualLast
virtualLast / php
Created July 10, 2018 14:03 — forked from modemlooper/php
Example on adding a page to user profile
<?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 / README.md
Created July 17, 2018 08:32 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet
@virtualLast
virtualLast / gist:d7956e5e4a94d06ddd133f15fc97a4dc
Last active August 14, 2018 12:00
Create a self signed openSSL certificate for macOS
cd /usr/local/etc/httpd
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout server.key -out server.crt
@virtualLast
virtualLast / CustomContent.php
Created March 7, 2022 12:19 — forked from magevision/CustomContent.php
Add Custom Field To CMS Page
<?php
namespace MageVision\Blog15\Block;
class CustomContent extends \Magento\Cms\Block\Page
{
/**
* Prepare HTML content
*
* @return string
*/
@virtualLast
virtualLast / PlayStationBIOSFilesNAEUJP.md
Created July 30, 2022 09:47 — forked from juanbrujo/PlayStationBIOSFilesNAEUJP.md
Files for PlayStation BIOS Files NA-EU-JP