Skip to content

Instantly share code, notes, and snippets.

View kabala's full-sized avatar

Carlos Santín kabala

  • Lighthouse web studio
  • Quito, Ecuador
View GitHub Profile
@kabala
kabala / hide-editor.php
Created July 14, 2016 22:16 — forked from ramseyp/hide-editor.php
Hide the content editor for certain pages in WordPress
<?php
/**
* Hide editor on specific pages.
*
*/
add_action( 'admin_init', 'hide_editor' );
function hide_editor() {
// Get the Post ID.
@kabala
kabala / rest-mongo.go
Last active April 24, 2016 08:26 — forked from narate/rest-mongo.go
Golang RESTful with MongoDB
// modified by Carlos Santín
// Based on gist rest-mongo.go by : Narate Ketram
// twitter @kabalism
package main
import (
"github.com/ant0ine/go-json-rest/rest"
"gopkg.in/mgo.v2"
"gopkg.in/mgo.v2/bson"