Skip to content

Instantly share code, notes, and snippets.

View arvilmena's full-sized avatar
:bowtie:
Hi there!

Arvil Meña arvilmena

:bowtie:
Hi there!
View GitHub Profile
@arvilmena
arvilmena / raw-shortcode.php
Created April 19, 2020 11:07 — forked from benbalter/raw-shortcode.php
Raw Shortcode
<?php
/*
Plugin Name: Raw Shortcode
Description: Disables the_content formatting filters for content in shortcode [raw].
Author: Benjamin J. Balter
Version: 1.0
*/
/**
* Raw Shortcode
@arvilmena
arvilmena / Terms.md
Created April 3, 2020 23:47
Terms and Conditions

Terms:

What we are allowed to do:

  1. We are allowed to host the sourcecode into a public Git repository, EXCLUDING: a. the client/business information b. the client/business website/url c. the database d. commercial plugins e. license keys
@arvilmena
arvilmena / cloudSettings
Last active February 25, 2019 11:41
Visual Studio Code Settings Sync Gist -- Home
{"lastUpload":"2019-02-25T11:39:59.815Z","extensionVersion":"v3.2.5"}
class CompanyEntity implements EntityInterface {
    
    public function get_entity_type() {
        return 'company';
    }
    
}

class ProductEntity implements EntityInterface {
@arvilmena
arvilmena / cloudSettings
Last active January 13, 2019 11:25
2019-01-13 VSCode Settings Xubuntu
{"lastUpload":"2019-01-13T11:24:09.136Z","extensionVersion":"v3.2.4"}
@arvilmena
arvilmena / cloudSettings
Created November 16, 2018 00:02
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-16T00:02:48.986Z","extensionVersion":"v3.2.0"}
@arvilmena
arvilmena / cloudSettings
Created November 15, 2018 23:58
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-15T23:58:43.521Z","extensionVersion":"v3.2.0"}
@arvilmena
arvilmena / README.md
Created November 15, 2018 06:26
Chronological composer install on WordPress

Introduction

@arvilmena
arvilmena / index.php
Last active October 30, 2018 14:10
Persistent Google Autocomplete places
<!DOCTYPE html>
<html>
<head>
<title>Place Autocomplete Address Form</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<style>
/* Always set the map height explicitly to define the size of the div
* element that contains the map. */
#map {
<?php
$initial = 'A';
$students = array();
$students[] = array(
'Fornamn' => 'Hanifa',
'Efternamn' => 'Holden',
'Fodelsear' => '',
'Ambitionsniva' => '',