Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
looking for job as UI designer or developer

Carlos Santín kabala

💭
looking for job as UI designer or developer
View GitHub Profile
@kabala
kabala / hide-editor.php
Created Jul 14, 2016 — forked from ramseyp/hide-editor.php
Hide the content editor for certain pages in WordPress
View hide-editor.php
<?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 Apr 24, 2016 — forked from narate/rest-mongo.go
Golang RESTful with MongoDB
View rest-mongo.go
// 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"